pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/zig zig: updated to 0.9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ddab73e90600
branches:  trunk
changeset: 771647:ddab73e90600
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Dec 21 09:16:26 2021 +0000

description:
zig: updated to 0.9.0

0.9.0:

Language Changes

Address Spaces
More Builtins Return String Literals
@minimum and @maximum
@select
SIMD
@intToEnum Implicitly Performs @intCast
Shadowing Declarations
Keywords Deleted: true, false, undefined, null
usingnamespace No Longer Affects Identifier Lookup
c_void renamed to anyopaque
Saturating Arithmetic
Compile Errors for Unused Locals
@export with Field Access
Inline Assembly Requires String Literals
@prefetch

diffstat:

 lang/zig/Makefile |     8 +-
 lang/zig/PLIST    |  2480 +++++++++++++++++++++++++++++++++-------------------
 lang/zig/distinfo |     8 +-
 3 files changed, 1570 insertions(+), 926 deletions(-)

diffs (truncated from 4223 to 300 lines):

diff -r 3d699cf546b3 -r ddab73e90600 lang/zig/Makefile
--- a/lang/zig/Makefile Tue Dec 21 08:10:21 2021 +0000
+++ b/lang/zig/Makefile Tue Dec 21 09:16:26 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2021/12/08 16:05:24 adam Exp $
+# $NetBSD: Makefile,v 1.14 2021/12/21 09:16:26 adam Exp $
 
-DISTNAME=      zig-0.8.0
-PKGREVISION=   1
+DISTNAME=      zig-0.9.0
 CATEGORIES=    lang
 MASTER_SITES=  https://ziglang.org/download/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
@@ -11,9 +10,6 @@
 COMMENT=       Programming language designed for robustness and clarity
 LICENSE=       mit
 
-BROKEN=                "Needs a new upstream release that works with llvm-13"
-# https://github.com/ziglang/zig/issues/10187
-
 USE_CMAKE=     yes
 USE_TOOLS+=    bash:run
 USE_LANGUAGES= c c++14
diff -r 3d699cf546b3 -r ddab73e90600 lang/zig/PLIST
--- a/lang/zig/PLIST    Tue Dec 21 08:10:21 2021 +0000
+++ b/lang/zig/PLIST    Tue Dec 21 09:16:26 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2021/07/12 18:58:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2021/12/21 09:16:26 adam Exp $
 bin/zig
 lib/zig/include/__clang_cuda_builtin_vars.h
 lib/zig/include/__clang_cuda_cmath.h
@@ -61,6 +61,7 @@
 lib/zig/include/avxvnniintrin.h
 lib/zig/include/bmi2intrin.h
 lib/zig/include/bmiintrin.h
+lib/zig/include/builtins.h
 lib/zig/include/cet.h
 lib/zig/include/cetintrin.h
 lib/zig/include/cldemoteintrin.h
@@ -79,9 +80,13 @@
 lib/zig/include/fmaintrin.h
 lib/zig/include/fxsrintrin.h
 lib/zig/include/gfniintrin.h
+lib/zig/include/hexagon_circ_brev_intrinsics.h
+lib/zig/include/hexagon_protos.h
+lib/zig/include/hexagon_types.h
 lib/zig/include/hresetintrin.h
 lib/zig/include/htmintrin.h
 lib/zig/include/htmxlintrin.h
+lib/zig/include/hvx_hexagon_protos.h
 lib/zig/include/ia32intrin.h
 lib/zig/include/immintrin.h
 lib/zig/include/intrin.h
@@ -123,6 +128,7 @@
 lib/zig/include/prfchwintrin.h
 lib/zig/include/ptwriteintrin.h
 lib/zig/include/rdseedintrin.h
+lib/zig/include/riscv_vector.h
 lib/zig/include/rtmintrin.h
 lib/zig/include/s390intrin.h
 lib/zig/include/serializeintrin.h
@@ -160,8 +166,11 @@
 lib/zig/include/xsaveoptintrin.h
 lib/zig/include/xsavesintrin.h
 lib/zig/include/xtestintrin.h
+lib/zig/libc/darwin/libSystem.10.tbd
+lib/zig/libc/darwin/libSystem.11.tbd
+lib/zig/libc/darwin/libSystem.12.tbd
 lib/zig/libc/glibc/LICENSES
-lib/zig/libc/glibc/abi.txt
+lib/zig/libc/glibc/abilists
 lib/zig/libc/glibc/bits/byteswap.h
 lib/zig/libc/glibc/bits/endian.h
 lib/zig/libc/glibc/bits/floatn-common.h
@@ -183,10 +192,9 @@
 lib/zig/libc/glibc/bits/waitstatus.h
 lib/zig/libc/glibc/csu/abi-note.S
 lib/zig/libc/glibc/csu/abi-tag.h
-lib/zig/libc/glibc/csu/elf-init.c
+lib/zig/libc/glibc/csu/errno.c
 lib/zig/libc/glibc/debug/stack_chk_fail_local.c
 lib/zig/libc/glibc/elf/elf.h
-lib/zig/libc/glibc/fns.txt
 lib/zig/libc/glibc/include/alloca.h
 lib/zig/libc/glibc/include/bits/cpu-set.h
 lib/zig/libc/glibc/include/bits/endian.h
@@ -209,7 +217,7 @@
 lib/zig/libc/glibc/include/dso_handle.h
 lib/zig/libc/glibc/include/elf.h
 lib/zig/libc/glibc/include/endian.h
-lib/zig/libc/glibc/include/features.h
+lib/zig/libc/glibc/include/errno.h
 lib/zig/libc/glibc/include/gnu/stubs.h
 lib/zig/libc/glibc/include/libc-modules.h
 lib/zig/libc/glibc/include/libc-pointer-arith.h
@@ -217,8 +225,9 @@
 lib/zig/libc/glibc/include/pthread.h
 lib/zig/libc/glibc/include/signal.h
 lib/zig/libc/glibc/include/stap-probe.h
-lib/zig/libc/glibc/include/stdc-predef.h
 lib/zig/libc/glibc/include/stdlib.h
+lib/zig/libc/glibc/include/struct___timespec64.h
+lib/zig/libc/glibc/include/struct___timeval64.h
 lib/zig/libc/glibc/include/sys/cdefs.h
 lib/zig/libc/glibc/include/sys/select.h
 lib/zig/libc/glibc/include/sys/signal.h
@@ -226,23 +235,14 @@
 lib/zig/libc/glibc/include/sys/types.h
 lib/zig/libc/glibc/include/syscall.h
 lib/zig/libc/glibc/io/bits/statx.h
-lib/zig/libc/glibc/io/fstat.c
-lib/zig/libc/glibc/io/fstat64.c
-lib/zig/libc/glibc/io/fstatat.c
-lib/zig/libc/glibc/io/fstatat64.c
-lib/zig/libc/glibc/io/lstat.c
-lib/zig/libc/glibc/io/lstat64.c
+lib/zig/libc/glibc/io/fcntl.h
 lib/zig/libc/glibc/io/mknod.c
-lib/zig/libc/glibc/io/mknodat.c
-lib/zig/libc/glibc/io/stat.c
-lib/zig/libc/glibc/io/stat64.c
 lib/zig/libc/glibc/io/sys/stat.h
 lib/zig/libc/glibc/locale/bits/types/__locale_t.h
 lib/zig/libc/glibc/locale/bits/types/locale_t.h
 lib/zig/libc/glibc/misc/sys/cdefs.h
 lib/zig/libc/glibc/misc/sys/select.h
 lib/zig/libc/glibc/misc/syscall.h
-lib/zig/libc/glibc/nptl/pthread_atfork.c
 lib/zig/libc/glibc/posix/bits/cpu-set.h
 lib/zig/libc/glibc/posix/bits/types.h
 lib/zig/libc/glibc/posix/sys/types.h
@@ -254,6 +254,7 @@
 lib/zig/libc/glibc/stdlib/at_quick_exit.c
 lib/zig/libc/glibc/stdlib/atexit.c
 lib/zig/libc/glibc/stdlib/bits/stdlib-float.h
+lib/zig/libc/glibc/stdlib/errno.h
 lib/zig/libc/glibc/stdlib/exit.h
 lib/zig/libc/glibc/stdlib/stdlib.h
 lib/zig/libc/glibc/string/bits/endian.h
@@ -270,27 +271,32 @@
 lib/zig/libc/glibc/sysdeps/alpha/crtn.S
 lib/zig/libc/glibc/sysdeps/alpha/dl-dtprocnum.h
 lib/zig/libc/glibc/sysdeps/alpha/dl-sysdep.h
-lib/zig/libc/glibc/sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
 lib/zig/libc/glibc/sysdeps/alpha/start.S
+lib/zig/libc/glibc/sysdeps/arc/sysdep.h
 lib/zig/libc/glibc/sysdeps/arm/bits/endianness.h
 lib/zig/libc/glibc/sysdeps/arm/crti.S
 lib/zig/libc/glibc/sysdeps/arm/crtn.S
 lib/zig/libc/glibc/sysdeps/arm/dl-sysdep.h
-lib/zig/libc/glibc/sysdeps/arm/nptl/bits/pthreadtypes-arch.h
 lib/zig/libc/glibc/sysdeps/arm/start.S
 lib/zig/libc/glibc/sysdeps/arm/sysdep.h
+lib/zig/libc/glibc/sysdeps/csky/sysdep.h
 lib/zig/libc/glibc/sysdeps/generic/dl-dtprocnum.h
 lib/zig/libc/glibc/sysdeps/generic/dl-sysdep.h
 lib/zig/libc/glibc/sysdeps/generic/dwarf2.h
+lib/zig/libc/glibc/sysdeps/generic/entry.h
 lib/zig/libc/glibc/sysdeps/generic/libc-lock.h
+lib/zig/libc/glibc/sysdeps/generic/libc-symver.h
 lib/zig/libc/glibc/sysdeps/generic/single-thread.h
+lib/zig/libc/glibc/sysdeps/generic/struct_stat_time64.h
 lib/zig/libc/glibc/sysdeps/generic/symbol-hacks.h
 lib/zig/libc/glibc/sysdeps/generic/sys/syscall.h
 lib/zig/libc/glibc/sysdeps/generic/sysdep.h
 lib/zig/libc/glibc/sysdeps/generic/tls.h
+lib/zig/libc/glibc/sysdeps/generic/xstatver.h
 lib/zig/libc/glibc/sysdeps/hppa/bits/endianness.h
 lib/zig/libc/glibc/sysdeps/hppa/crti.S
 lib/zig/libc/glibc/sysdeps/hppa/crtn.S
+lib/zig/libc/glibc/sysdeps/hppa/entry.h
 lib/zig/libc/glibc/sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
 lib/zig/libc/glibc/sysdeps/hppa/start.S
 lib/zig/libc/glibc/sysdeps/hppa/sysdep.h
@@ -308,11 +314,9 @@
 lib/zig/libc/glibc/sysdeps/ia64/crtn.S
 lib/zig/libc/glibc/sysdeps/ia64/dl-dtprocnum.h
 lib/zig/libc/glibc/sysdeps/ia64/dl-sysdep.h
-lib/zig/libc/glibc/sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
+lib/zig/libc/glibc/sysdeps/ia64/entry.h
 lib/zig/libc/glibc/sysdeps/ia64/start.S
 lib/zig/libc/glibc/sysdeps/ia64/sysdep.h
-lib/zig/libc/glibc/sysdeps/init_array/crti.S
-lib/zig/libc/glibc/sysdeps/init_array/crtn.S
 lib/zig/libc/glibc/sysdeps/m68k/bits/endianness.h
 lib/zig/libc/glibc/sysdeps/m68k/coldfire/sysdep.h
 lib/zig/libc/glibc/sysdeps/m68k/crti.S
@@ -322,10 +326,6 @@
 lib/zig/libc/glibc/sysdeps/m68k/start.S
 lib/zig/libc/glibc/sysdeps/m68k/symbol-hacks.h
 lib/zig/libc/glibc/sysdeps/m68k/sysdep.h
-lib/zig/libc/glibc/sysdeps/mach/hurd/bits/stat.h
-lib/zig/libc/glibc/sysdeps/mach/hurd/bits/typesizes.h
-lib/zig/libc/glibc/sysdeps/mach/hurd/dl-sysdep.h
-lib/zig/libc/glibc/sysdeps/mach/hurd/kernel-features.h
 lib/zig/libc/glibc/sysdeps/mach/i386/sysdep.h
 lib/zig/libc/glibc/sysdeps/mach/libc-lock.h
 lib/zig/libc/glibc/sysdeps/mach/sys/syscall.h
@@ -333,7 +333,6 @@
 lib/zig/libc/glibc/sysdeps/microblaze/bits/endianness.h
 lib/zig/libc/glibc/sysdeps/microblaze/crti.S
 lib/zig/libc/glibc/sysdeps/microblaze/crtn.S
-lib/zig/libc/glibc/sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
 lib/zig/libc/glibc/sysdeps/microblaze/start.S
 lib/zig/libc/glibc/sysdeps/microblaze/sysdep.h
 lib/zig/libc/glibc/sysdeps/mips/bits/endianness.h
@@ -346,13 +345,13 @@
 lib/zig/libc/glibc/sysdeps/mips/mips64/n64/crtn.S
 lib/zig/libc/glibc/sysdeps/mips/nptl/bits/pthreadtypes-arch.h
 lib/zig/libc/glibc/sysdeps/mips/start.S
+lib/zig/libc/glibc/sysdeps/nios2/sysdep.h
 lib/zig/libc/glibc/sysdeps/nptl/bits/pthreadtypes.h
 lib/zig/libc/glibc/sysdeps/nptl/bits/thread-shared-types.h
 lib/zig/libc/glibc/sysdeps/nptl/libc-lock.h
 lib/zig/libc/glibc/sysdeps/nptl/libc-lockP.h
 lib/zig/libc/glibc/sysdeps/nptl/pthread.h
 lib/zig/libc/glibc/sysdeps/powerpc/bits/endianness.h
-lib/zig/libc/glibc/sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
 lib/zig/libc/glibc/sysdeps/powerpc/powerpc32/crti.S
 lib/zig/libc/glibc/sysdeps/powerpc/powerpc32/crtn.S
 lib/zig/libc/glibc/sysdeps/powerpc/powerpc32/dl-dtprocnum.h
@@ -362,14 +361,15 @@
 lib/zig/libc/glibc/sysdeps/powerpc/powerpc64/crti.S
 lib/zig/libc/glibc/sysdeps/powerpc/powerpc64/crtn.S
 lib/zig/libc/glibc/sysdeps/powerpc/powerpc64/dl-dtprocnum.h
+lib/zig/libc/glibc/sysdeps/powerpc/powerpc64/entry.h
 lib/zig/libc/glibc/sysdeps/powerpc/powerpc64/start.S
 lib/zig/libc/glibc/sysdeps/powerpc/powerpc64/sysdep.h
 lib/zig/libc/glibc/sysdeps/powerpc/sysdep.h
+lib/zig/libc/glibc/sysdeps/pthread/pthread_atfork.c
 lib/zig/libc/glibc/sysdeps/riscv/bits/endianness.h
 lib/zig/libc/glibc/sysdeps/riscv/nptl/bits/pthreadtypes-arch.h
 lib/zig/libc/glibc/sysdeps/riscv/start.S
 lib/zig/libc/glibc/sysdeps/s390/bits/endianness.h
-lib/zig/libc/glibc/sysdeps/s390/nptl/bits/pthreadtypes-arch.h
 lib/zig/libc/glibc/sysdeps/s390/s390-32/crti.S
 lib/zig/libc/glibc/sysdeps/s390/s390-32/crtn.S
 lib/zig/libc/glibc/sysdeps/s390/s390-32/dl-sysdep.h
@@ -383,7 +383,6 @@
 lib/zig/libc/glibc/sysdeps/sh/bits/endianness.h
 lib/zig/libc/glibc/sysdeps/sh/crti.S
 lib/zig/libc/glibc/sysdeps/sh/crtn.S
-lib/zig/libc/glibc/sysdeps/sh/nptl/bits/pthreadtypes-arch.h
 lib/zig/libc/glibc/sysdeps/sh/start.S
 lib/zig/libc/glibc/sysdeps/sh/sysdep.h
 lib/zig/libc/glibc/sysdeps/sparc/bits/endianness.h
@@ -394,12 +393,11 @@
 lib/zig/libc/glibc/sysdeps/sparc/sparc32/start.S
 lib/zig/libc/glibc/sysdeps/sparc/sparc64/start.S
 lib/zig/libc/glibc/sysdeps/sparc/sysdep.h
-lib/zig/libc/glibc/sysdeps/unix/alpha/sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/arm/sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/i386/sysdep.h
+lib/zig/libc/glibc/sysdeps/unix/mips/entry.h
 lib/zig/libc/glibc/sysdeps/unix/mips/mips32/sysdep.h
-lib/zig/libc/glibc/sysdeps/unix/mips/mips64/n32/sysdep.h
-lib/zig/libc/glibc/sysdeps/unix/mips/mips64/n64/sysdep.h
+lib/zig/libc/glibc/sysdeps/unix/mips/mips64/sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/mips/sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/powerpc/sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/sh/sysdep.h
@@ -407,79 +405,109 @@
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/aarch64/kernel-features.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/aarch64/sys/elf.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/aarch64/sysdep.h
-lib/zig/libc/glibc/sysdeps/unix/sysv/linux/alpha/bits/stat.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/alpha/kernel-features.h
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/alpha/kernel_stat.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/alpha/sysdep.h
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/arc/sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/arm/kernel-features.h
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/arm/kernel_stat.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/arm/sys/elf.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/arm/sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/bits/stat.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/bits/timex.h
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/csky/kernel_stat.h
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/csky/sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/dl-sysdep.h
-lib/zig/libc/glibc/sysdeps/unix/sysv/linux/generic/bits/stat.h
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/fstat.c
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/fstat64.c
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/fstatat.c
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/fstatat64.c
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/generic/sysdep.h
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/generic/xstatver.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/hppa/kernel-features.h
-lib/zig/libc/glibc/sysdeps/unix/sysv/linux/hppa/pthread.h
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/hppa/kernel_stat.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/hppa/sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/i386/dl-sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/i386/kernel-features.h
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/i386/kernel_stat.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/i386/sysdep.h
-lib/zig/libc/glibc/sysdeps/unix/sysv/linux/ia64/bits/stat.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/ia64/kernel-features.h



Home | Main Index | Thread Index | Old Index