pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/zig Add zig 0.3.0.20190217



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b65d22010409
branches:  trunk
changeset: 329895:b65d22010409
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Feb 17 12:33:40 2019 +0000

description:
Add zig 0.3.0.20190217

Zig is an open-source programming language designed for robustness,
optimality, and clarity.

* Robust - behavior is correct even for edge cases such as out
  of memory.
* Optimal - write programs the best way they can
  behave and perform.
* Clear - precisely communicate your intent
  to the compiler and other programmers. The language imposes a
  low overhead to reading code.

diffstat:

 lang/zig/DESCR                                                |   10 +
 lang/zig/Makefile                                             |   29 +
 lang/zig/PLIST                                                |  364 +++++
 lang/zig/distinfo                                             |   25 +
 lang/zig/files/std_c_netbsd.zig                               |  116 +
 lang/zig/files/std_os_netbsd_errno.zig                        |  134 +
 lang/zig/files/std_os_netbsd_index.zig                        |  728 ++++++++++
 lang/zig/patches/patch-CMakeLists.txt                         |   21 +
 lang/zig/patches/patch-src-self-hosted_libc__installation.zig |   13 +
 lang/zig/patches/patch-src_analyze.cpp                        |   43 +
 lang/zig/patches/patch-src_codegen.cpp                        |   14 +
 lang/zig/patches/patch-src_link.cpp                           |   30 +
 lang/zig/patches/patch-src_os.cpp                             |   61 +
 lang/zig/patches/patch-src_os.hpp                             |   13 +
 lang/zig/patches/patch-src_target.cpp                         |   20 +
 lang/zig/patches/patch-std_c_index.zig                        |   12 +
 lang/zig/patches/patch-std_debug_index.zig                    |   31 +
 lang/zig/patches/patch-std_event_fs.zig                       |  147 ++
 lang/zig/patches/patch-std_event_loop.zig                     |  102 +
 lang/zig/patches/patch-std_heap.zig                           |   31 +
 lang/zig/patches/patch-std_os_file.zig                        |   31 +
 lang/zig/patches/patch-std_os_get__app__data__dir.zig         |   13 +
 lang/zig/patches/patch-std_os_get__user__id.zig               |   13 +
 lang/zig/patches/patch-std_os_index.zig                       |  192 ++
 lang/zig/patches/patch-std_os_path.zig                        |   22 +
 lang/zig/patches/patch-std_os_time.zig                        |   49 +
 26 files changed, 2264 insertions(+), 0 deletions(-)

diffs (truncated from 2368 to 300 lines):

diff -r 96343d438e0b -r b65d22010409 lang/zig/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/zig/DESCR    Sun Feb 17 12:33:40 2019 +0000
@@ -0,0 +1,10 @@
+Zig is an open-source programming language designed for robustness,
+optimality, and clarity.
+
+* Robust - behavior is correct even for edge cases such as out
+  of memory.
+* Optimal - write programs the best way they can
+  behave and perform.
+* Clear - precisely communicate your intent
+  to the compiler and other programmers. The language imposes a
+  low overhead to reading code.
diff -r 96343d438e0b -r b65d22010409 lang/zig/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/zig/Makefile Sun Feb 17 12:33:40 2019 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2019/02/17 12:33:40 maya Exp $
+
+DISTNAME=      zig-0.3.0+8d2a9029
+PKGNAME=       zig-0.3.0.20190217
+CATEGORIES=    lang
+MASTER_SITES=  https://ziglang.org/builds/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://ziglang.org/
+COMMENT=       Programming language designed for robustness and clarity
+LICENSE=       mit
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+
+CHECK_PORTABILITY_SKIP+=       ci/azure/macos_script
+BUILDLINK_TRANSFORM+=          rm:-Werror
+
+post-patch:
+       ${CP} ${FILESDIR}/std_c_netbsd.zig ${WRKSRC}/std/c/netbsd.zig
+       ${MKDIR} ${WRKSRC}/std/os/netbsd
+       ${CP} ${FILESDIR}/std_os_netbsd_index.zig ${WRKSRC}/std/os/netbsd/index.zig
+       ${CP} ${FILESDIR}/std_os_netbsd_errno.zig ${WRKSRC}/std/os/netbsd/errno.zig
+
+.include "../../lang/clang/buildlink3.mk"
+.include "../../lang/llvm/buildlink3.mk"
+.include "../../devel/lld/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 96343d438e0b -r b65d22010409 lang/zig/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/zig/PLIST    Sun Feb 17 12:33:40 2019 +0000
@@ -0,0 +1,364 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/17 12:33:40 maya Exp $
+bin/zig
+lib/zig/include/__clang_cuda_builtin_vars.h
+lib/zig/include/__clang_cuda_cmath.h
+lib/zig/include/__clang_cuda_complex_builtins.h
+lib/zig/include/__clang_cuda_device_functions.h
+lib/zig/include/__clang_cuda_intrinsics.h
+lib/zig/include/__clang_cuda_libdevice_declares.h
+lib/zig/include/__clang_cuda_math_forward_declares.h
+lib/zig/include/__clang_cuda_runtime_wrapper.h
+lib/zig/include/__stddef_max_align_t.h
+lib/zig/include/__wmmintrin_aes.h
+lib/zig/include/__wmmintrin_pclmul.h
+lib/zig/include/adxintrin.h
+lib/zig/include/altivec.h
+lib/zig/include/ammintrin.h
+lib/zig/include/arm64intr.h
+lib/zig/include/arm_acle.h
+lib/zig/include/arm_fp16.h
+lib/zig/include/arm_neon.h
+lib/zig/include/armintr.h
+lib/zig/include/avx2intrin.h
+lib/zig/include/avx512bitalgintrin.h
+lib/zig/include/avx512bwintrin.h
+lib/zig/include/avx512cdintrin.h
+lib/zig/include/avx512dqintrin.h
+lib/zig/include/avx512erintrin.h
+lib/zig/include/avx512fintrin.h
+lib/zig/include/avx512ifmaintrin.h
+lib/zig/include/avx512ifmavlintrin.h
+lib/zig/include/avx512pfintrin.h
+lib/zig/include/avx512vbmi2intrin.h
+lib/zig/include/avx512vbmiintrin.h
+lib/zig/include/avx512vbmivlintrin.h
+lib/zig/include/avx512vlbitalgintrin.h
+lib/zig/include/avx512vlbwintrin.h
+lib/zig/include/avx512vlcdintrin.h
+lib/zig/include/avx512vldqintrin.h
+lib/zig/include/avx512vlintrin.h
+lib/zig/include/avx512vlvbmi2intrin.h
+lib/zig/include/avx512vlvnniintrin.h
+lib/zig/include/avx512vnniintrin.h
+lib/zig/include/avx512vpopcntdqintrin.h
+lib/zig/include/avx512vpopcntdqvlintrin.h
+lib/zig/include/avxintrin.h
+lib/zig/include/bmi2intrin.h
+lib/zig/include/bmiintrin.h
+lib/zig/include/cetintrin.h
+lib/zig/include/cldemoteintrin.h
+lib/zig/include/clflushoptintrin.h
+lib/zig/include/clwbintrin.h
+lib/zig/include/clzerointrin.h
+lib/zig/include/cpuid.h
+lib/zig/include/cuda_wrappers/algorithm
+lib/zig/include/cuda_wrappers/complex
+lib/zig/include/cuda_wrappers/new
+lib/zig/include/emmintrin.h
+lib/zig/include/f16cintrin.h
+lib/zig/include/float.h
+lib/zig/include/fma4intrin.h
+lib/zig/include/fmaintrin.h
+lib/zig/include/fxsrintrin.h
+lib/zig/include/gfniintrin.h
+lib/zig/include/htmintrin.h
+lib/zig/include/htmxlintrin.h
+lib/zig/include/ia32intrin.h
+lib/zig/include/immintrin.h
+lib/zig/include/intrin.h
+lib/zig/include/inttypes.h
+lib/zig/include/invpcidintrin.h
+lib/zig/include/iso646.h
+lib/zig/include/limits.h
+lib/zig/include/lwpintrin.h
+lib/zig/include/lzcntintrin.h
+lib/zig/include/mm3dnow.h
+lib/zig/include/mm_malloc.h
+lib/zig/include/mmintrin.h
+lib/zig/include/module.modulemap
+lib/zig/include/movdirintrin.h
+lib/zig/include/msa.h
+lib/zig/include/mwaitxintrin.h
+lib/zig/include/nmmintrin.h
+lib/zig/include/opencl-c.h
+lib/zig/include/pconfigintrin.h
+lib/zig/include/pkuintrin.h
+lib/zig/include/pmmintrin.h
+lib/zig/include/popcntintrin.h
+lib/zig/include/prfchwintrin.h
+lib/zig/include/ptwriteintrin.h
+lib/zig/include/rdseedintrin.h
+lib/zig/include/rtmintrin.h
+lib/zig/include/s390intrin.h
+lib/zig/include/sgxintrin.h
+lib/zig/include/shaintrin.h
+lib/zig/include/smmintrin.h
+lib/zig/include/stdalign.h
+lib/zig/include/stdarg.h
+lib/zig/include/stdatomic.h
+lib/zig/include/stdbool.h
+lib/zig/include/stddef.h
+lib/zig/include/stdint.h
+lib/zig/include/stdnoreturn.h
+lib/zig/include/tbmintrin.h
+lib/zig/include/tgmath.h
+lib/zig/include/tmmintrin.h
+lib/zig/include/unwind.h
+lib/zig/include/vadefs.h
+lib/zig/include/vaesintrin.h
+lib/zig/include/varargs.h
+lib/zig/include/vecintrin.h
+lib/zig/include/vpclmulqdqintrin.h
+lib/zig/include/waitpkgintrin.h
+lib/zig/include/wbnoinvdintrin.h
+lib/zig/include/wmmintrin.h
+lib/zig/include/x86intrin.h
+lib/zig/include/xmmintrin.h
+lib/zig/include/xopintrin.h
+lib/zig/include/xsavecintrin.h
+lib/zig/include/xsaveintrin.h
+lib/zig/include/xsaveoptintrin.h
+lib/zig/include/xsavesintrin.h
+lib/zig/include/xtestintrin.h
+lib/zig/std/array_list.zig
+lib/zig/std/atomic/index.zig
+lib/zig/std/atomic/int.zig
+lib/zig/std/atomic/queue.zig
+lib/zig/std/atomic/stack.zig
+lib/zig/std/base64.zig
+lib/zig/std/buf_map.zig
+lib/zig/std/buf_set.zig
+lib/zig/std/buffer.zig
+lib/zig/std/build.zig
+lib/zig/std/c/darwin.zig
+lib/zig/std/c/freebsd.zig
+lib/zig/std/c/index.zig
+lib/zig/std/c/linux.zig
+lib/zig/std/c/netbsd.zig
+lib/zig/std/c/windows.zig
+lib/zig/std/coff.zig
+lib/zig/std/crypto/blake2.zig
+lib/zig/std/crypto/chacha20.zig
+lib/zig/std/crypto/hmac.zig
+lib/zig/std/crypto/index.zig
+lib/zig/std/crypto/md5.zig
+lib/zig/std/crypto/poly1305.zig
+lib/zig/std/crypto/sha1.zig
+lib/zig/std/crypto/sha2.zig
+lib/zig/std/crypto/sha3.zig
+lib/zig/std/crypto/x25519.zig
+lib/zig/std/cstr.zig
+lib/zig/std/debug/failing_allocator.zig
+lib/zig/std/debug/index.zig
+lib/zig/std/dwarf.zig
+lib/zig/std/dynamic_library.zig
+lib/zig/std/elf.zig
+lib/zig/std/empty.zig
+lib/zig/std/event.zig
+lib/zig/std/event/channel.zig
+lib/zig/std/event/fs.zig
+lib/zig/std/event/future.zig
+lib/zig/std/event/group.zig
+lib/zig/std/event/io.zig
+lib/zig/std/event/lock.zig
+lib/zig/std/event/locked.zig
+lib/zig/std/event/loop.zig
+lib/zig/std/event/net.zig
+lib/zig/std/event/rwlock.zig
+lib/zig/std/event/rwlocked.zig
+lib/zig/std/fmt/errol/enum3.zig
+lib/zig/std/fmt/errol/index.zig
+lib/zig/std/fmt/errol/lookup.zig
+lib/zig/std/fmt/index.zig
+lib/zig/std/fmt/parse_float.zig
+lib/zig/std/hash/adler.zig
+lib/zig/std/hash/crc.zig
+lib/zig/std/hash/fnv.zig
+lib/zig/std/hash/index.zig
+lib/zig/std/hash/siphash.zig
+lib/zig/std/hash_map.zig
+lib/zig/std/heap.zig
+lib/zig/std/index.zig
+lib/zig/std/io.zig
+lib/zig/std/io/seekable_stream.zig
+lib/zig/std/json.zig
+lib/zig/std/lazy_init.zig
+lib/zig/std/linked_list.zig
+lib/zig/std/macho.zig
+lib/zig/std/math/acos.zig
+lib/zig/std/math/acosh.zig
+lib/zig/std/math/asin.zig
+lib/zig/std/math/asinh.zig
+lib/zig/std/math/atan.zig
+lib/zig/std/math/atan2.zig
+lib/zig/std/math/atanh.zig
+lib/zig/std/math/big/index.zig
+lib/zig/std/math/big/int.zig
+lib/zig/std/math/cbrt.zig
+lib/zig/std/math/ceil.zig
+lib/zig/std/math/complex/abs.zig
+lib/zig/std/math/complex/acos.zig
+lib/zig/std/math/complex/acosh.zig
+lib/zig/std/math/complex/arg.zig
+lib/zig/std/math/complex/asin.zig
+lib/zig/std/math/complex/asinh.zig
+lib/zig/std/math/complex/atan.zig
+lib/zig/std/math/complex/atanh.zig
+lib/zig/std/math/complex/conj.zig
+lib/zig/std/math/complex/cos.zig
+lib/zig/std/math/complex/cosh.zig
+lib/zig/std/math/complex/exp.zig
+lib/zig/std/math/complex/index.zig
+lib/zig/std/math/complex/ldexp.zig
+lib/zig/std/math/complex/log.zig
+lib/zig/std/math/complex/pow.zig
+lib/zig/std/math/complex/proj.zig
+lib/zig/std/math/complex/sin.zig
+lib/zig/std/math/complex/sinh.zig
+lib/zig/std/math/complex/sqrt.zig
+lib/zig/std/math/complex/tan.zig
+lib/zig/std/math/complex/tanh.zig
+lib/zig/std/math/copysign.zig
+lib/zig/std/math/cos.zig
+lib/zig/std/math/cosh.zig
+lib/zig/std/math/exp.zig
+lib/zig/std/math/exp2.zig
+lib/zig/std/math/expm1.zig
+lib/zig/std/math/expo2.zig
+lib/zig/std/math/fabs.zig
+lib/zig/std/math/floor.zig
+lib/zig/std/math/fma.zig
+lib/zig/std/math/frexp.zig
+lib/zig/std/math/hypot.zig
+lib/zig/std/math/ilogb.zig
+lib/zig/std/math/index.zig
+lib/zig/std/math/inf.zig
+lib/zig/std/math/isfinite.zig
+lib/zig/std/math/isinf.zig
+lib/zig/std/math/isnan.zig
+lib/zig/std/math/isnormal.zig
+lib/zig/std/math/ln.zig
+lib/zig/std/math/log.zig
+lib/zig/std/math/log10.zig
+lib/zig/std/math/log1p.zig
+lib/zig/std/math/log2.zig
+lib/zig/std/math/modf.zig
+lib/zig/std/math/nan.zig
+lib/zig/std/math/pow.zig
+lib/zig/std/math/powi.zig
+lib/zig/std/math/round.zig



Home | Main Index | Thread Index | Old Index