pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/zig zig: Update to 0.5.0. Unbreak.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f418802eb4d8
branches:  trunk
changeset: 414322:f418802eb4d8
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Mar 25 22:27:20 2020 +0000

description:
zig: Update to 0.5.0. Unbreak.

This version of zig supports the current version of llvm in pkgsrc (9).

Some patches from TheLemonMan were backported by me to fix NetBSD support.

Release notes: https://ziglang.org/download/0.5.0/release-notes.html

diffstat:

 lang/zig/Makefile                                 |     9 +-
 lang/zig/PLIST                                    |  2926 ++++++++++++++++++--
 lang/zig/distinfo                                 |    19 +-
 lang/zig/patches/patch-CMakeLists.txt             |    15 +
 lang/zig/patches/patch-lib_std_c.zig              |    12 +
 lang/zig/patches/patch-lib_std_c_netbsd.zig       |    27 +
 lang/zig/patches/patch-lib_std_fs.zig             |    24 +
 lang/zig/patches/patch-lib_std_fs_file.zig        |    33 +
 lang/zig/patches/patch-lib_std_os.zig             |    72 +
 lang/zig/patches/patch-lib_std_os_bits_netbsd.zig |   467 +++
 lang/zig/patches/patch-lib_std_thread.zig         |    52 +
 lang/zig/patches/patch-src_link.cpp               |    18 +
 12 files changed, 3294 insertions(+), 380 deletions(-)

diffs (truncated from 4633 to 300 lines):

diff -r 0141864acd2d -r f418802eb4d8 lang/zig/Makefile
--- a/lang/zig/Makefile Wed Mar 25 18:15:15 2020 +0000
+++ b/lang/zig/Makefile Wed Mar 25 22:27:20 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2020/03/20 11:42:38 tnn Exp $
+# $NetBSD: Makefile,v 1.5 2020/03/25 22:27:20 nia Exp $
 
-DISTNAME=      zig-0.4.0
+DISTNAME=      zig-0.5.0
 CATEGORIES=    lang
 MASTER_SITES=  https://ziglang.org/download/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
@@ -12,14 +12,13 @@
 
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++
+
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
-BROKEN=                "expected LLVM 8.x but found 9.0.1"
+CMAKE_ARGS+=   -DDESTDIR=${DESTDIR}
 
 CHECK_PORTABILITY_SKIP+=       ci/azure/macos_script
 BUILDLINK_TRANSFORM+=          rm:-Werror
 
 .include "../../lang/clang/buildlink3.mk"
 .include "../../lang/llvm/buildlink3.mk"
-# Using builtin lld
-#.include "../../devel/lld/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0141864acd2d -r f418802eb4d8 lang/zig/PLIST
--- a/lang/zig/PLIST    Wed Mar 25 18:15:15 2020 +0000
+++ b/lang/zig/PLIST    Wed Mar 25 22:27:20 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/06/02 15:02:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/03/25 22:27:20 nia Exp $
 bin/zig
 lib/zig/include/__clang_cuda_builtin_vars.h
 lib/zig/include/__clang_cuda_cmath.h
@@ -20,6 +20,7 @@
 lib/zig/include/arm_neon.h
 lib/zig/include/armintr.h
 lib/zig/include/avx2intrin.h
+lib/zig/include/avx512bf16intrin.h
 lib/zig/include/avx512bitalgintrin.h
 lib/zig/include/avx512bwintrin.h
 lib/zig/include/avx512cdintrin.h
@@ -32,6 +33,7 @@
 lib/zig/include/avx512vbmi2intrin.h
 lib/zig/include/avx512vbmiintrin.h
 lib/zig/include/avx512vbmivlintrin.h
+lib/zig/include/avx512vlbf16intrin.h
 lib/zig/include/avx512vlbitalgintrin.h
 lib/zig/include/avx512vlbwintrin.h
 lib/zig/include/avx512vlcdintrin.h
@@ -39,7 +41,9 @@
 lib/zig/include/avx512vlintrin.h
 lib/zig/include/avx512vlvbmi2intrin.h
 lib/zig/include/avx512vlvnniintrin.h
+lib/zig/include/avx512vlvp2intersectintrin.h
 lib/zig/include/avx512vnniintrin.h
+lib/zig/include/avx512vp2intersectintrin.h
 lib/zig/include/avx512vpopcntdqintrin.h
 lib/zig/include/avx512vpopcntdqvlintrin.h
 lib/zig/include/avxintrin.h
@@ -55,6 +59,7 @@
 lib/zig/include/cuda_wrappers/complex
 lib/zig/include/cuda_wrappers/new
 lib/zig/include/emmintrin.h
+lib/zig/include/enqcmdintrin.h
 lib/zig/include/f16cintrin.h
 lib/zig/include/float.h
 lib/zig/include/fma4intrin.h
@@ -80,11 +85,20 @@
 lib/zig/include/msa.h
 lib/zig/include/mwaitxintrin.h
 lib/zig/include/nmmintrin.h
+lib/zig/include/opencl-c-base.h
 lib/zig/include/opencl-c.h
+lib/zig/include/openmp_wrappers/__clang_openmp_math.h
+lib/zig/include/openmp_wrappers/__clang_openmp_math_declares.h
+lib/zig/include/openmp_wrappers/cmath
+lib/zig/include/openmp_wrappers/math.h
 lib/zig/include/pconfigintrin.h
 lib/zig/include/pkuintrin.h
 lib/zig/include/pmmintrin.h
 lib/zig/include/popcntintrin.h
+lib/zig/include/ppc_wrappers/emmintrin.h
+lib/zig/include/ppc_wrappers/mm_malloc.h
+lib/zig/include/ppc_wrappers/mmintrin.h
+lib/zig/include/ppc_wrappers/xmmintrin.h
 lib/zig/include/prfchwintrin.h
 lib/zig/include/ptwriteintrin.h
 lib/zig/include/rdseedintrin.h
@@ -120,13 +134,7 @@
 lib/zig/include/xsaveoptintrin.h
 lib/zig/include/xsavesintrin.h
 lib/zig/include/xtestintrin.h
-lib/zig/libc/dummy/c.zig
-lib/zig/libc/dummy/c/i386.zig
-lib/zig/libc/dummy/c/x86_64.zig
-lib/zig/libc/dummy/dl.zig
-lib/zig/libc/dummy/m.zig
-lib/zig/libc/dummy/pthread.zig
-lib/zig/libc/dummy/rt.zig
+lib/zig/libc/glibc/abi.txt
 lib/zig/libc/glibc/bits/byteswap.h
 lib/zig/libc/glibc/bits/endian.h
 lib/zig/libc/glibc/bits/floatn-common.h
@@ -151,6 +159,7 @@
 lib/zig/libc/glibc/csu/elf-init.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/statx.h
@@ -245,6 +254,7 @@
 lib/zig/libc/glibc/sysdeps/generic/dl-sysdep.h
 lib/zig/libc/glibc/sysdeps/generic/dwarf2.h
 lib/zig/libc/glibc/sysdeps/generic/libc-lock.h
+lib/zig/libc/glibc/sysdeps/generic/single-thread.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
@@ -424,6 +434,7 @@
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/sh/kernel-features.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/sh/sh4/sysdep.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/sh/sysdep.h
+lib/zig/libc/glibc/sysdeps/unix/sysv/linux/single-thread.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/sparc/bits/stat.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
 lib/zig/libc/glibc/sysdeps/unix/sysv/linux/sparc/kernel-features.h
@@ -460,6 +471,7 @@
 lib/zig/libc/glibc/time/bits/types/struct_tm.h
 lib/zig/libc/glibc/time/bits/types/time_t.h
 lib/zig/libc/glibc/time/bits/types/timer_t.h
+lib/zig/libc/glibc/vers.txt
 lib/zig/libc/include/aarch64-linux-any/asm/auxvec.h
 lib/zig/libc/include/aarch64-linux-any/asm/bitsperlong.h
 lib/zig/libc/include/aarch64-linux-any/asm/bpf_perf_event.h
@@ -509,23 +521,23 @@
 lib/zig/libc/include/aarch64-linux-gnu/sys/ptrace.h
 lib/zig/libc/include/aarch64-linux-gnu/sys/ucontext.h
 lib/zig/libc/include/aarch64-linux-gnu/sys/user.h
-lib/zig/libc/include/aarch64-linux-musleabi/bfd_stdint.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/alltypes.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/endian.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/fenv.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/float.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/hwcap.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/ipc.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/limits.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/posix.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/reg.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/sem.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/setjmp.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/signal.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/socket.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/stat.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/syscall.h
-lib/zig/libc/include/aarch64-linux-musleabi/bits/user.h
+lib/zig/libc/include/aarch64-linux-musl/bits/alltypes.h
+lib/zig/libc/include/aarch64-linux-musl/bits/endian.h
+lib/zig/libc/include/aarch64-linux-musl/bits/fcntl.h
+lib/zig/libc/include/aarch64-linux-musl/bits/fenv.h
+lib/zig/libc/include/aarch64-linux-musl/bits/float.h
+lib/zig/libc/include/aarch64-linux-musl/bits/hwcap.h
+lib/zig/libc/include/aarch64-linux-musl/bits/ipc.h
+lib/zig/libc/include/aarch64-linux-musl/bits/limits.h
+lib/zig/libc/include/aarch64-linux-musl/bits/posix.h
+lib/zig/libc/include/aarch64-linux-musl/bits/reg.h
+lib/zig/libc/include/aarch64-linux-musl/bits/sem.h
+lib/zig/libc/include/aarch64-linux-musl/bits/setjmp.h
+lib/zig/libc/include/aarch64-linux-musl/bits/signal.h
+lib/zig/libc/include/aarch64-linux-musl/bits/socket.h
+lib/zig/libc/include/aarch64-linux-musl/bits/stat.h
+lib/zig/libc/include/aarch64-linux-musl/bits/syscall.h
+lib/zig/libc/include/aarch64-linux-musl/bits/user.h
 lib/zig/libc/include/aarch64_be-linux-any/asm/auxvec.h
 lib/zig/libc/include/aarch64_be-linux-any/asm/bitsperlong.h
 lib/zig/libc/include/aarch64_be-linux-any/asm/bpf_perf_event.h
@@ -575,23 +587,6 @@
 lib/zig/libc/include/aarch64_be-linux-gnu/sys/ptrace.h
 lib/zig/libc/include/aarch64_be-linux-gnu/sys/ucontext.h
 lib/zig/libc/include/aarch64_be-linux-gnu/sys/user.h
-lib/zig/libc/include/aarch64_be-linux-musl/bfd_stdint.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/alltypes.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/endian.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/fenv.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/float.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/hwcap.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/ipc.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/limits.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/posix.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/reg.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/sem.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/setjmp.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/signal.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/socket.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/stat.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/syscall.h
-lib/zig/libc/include/aarch64_be-linux-musl/bits/user.h
 lib/zig/libc/include/any-linux-any/asm-generic/auxvec.h
 lib/zig/libc/include/any-linux-any/asm-generic/bitsperlong.h
 lib/zig/libc/include/any-linux-any/asm-generic/bpf_perf_event.h
@@ -1410,6 +1405,1516 @@
 lib/zig/libc/include/any-linux-any/linux/xilinx-v4l2-controls.h
 lib/zig/libc/include/any-linux-any/linux/zorro.h
 lib/zig/libc/include/any-linux-any/linux/zorro_ids.h
+lib/zig/libc/include/any-windows-any/GL/gl.h
+lib/zig/libc/include/any-windows-any/GL/glaux.h
+lib/zig/libc/include/any-windows-any/GL/glcorearb.h
+lib/zig/libc/include/any-windows-any/GL/glext.h
+lib/zig/libc/include/any-windows-any/GL/glu.h
+lib/zig/libc/include/any-windows-any/GL/glxext.h
+lib/zig/libc/include/any-windows-any/GL/wglext.h
+lib/zig/libc/include/any-windows-any/_bsd_types.h
+lib/zig/libc/include/any-windows-any/_cygwin.h
+lib/zig/libc/include/any-windows-any/_dbdao.h
+lib/zig/libc/include/any-windows-any/_mingw.h
+lib/zig/libc/include/any-windows-any/_mingw_dxhelper.h
+lib/zig/libc/include/any-windows-any/_mingw_mac.h
+lib/zig/libc/include/any-windows-any/_mingw_off_t.h
+lib/zig/libc/include/any-windows-any/_mingw_print_pop.h
+lib/zig/libc/include/any-windows-any/_mingw_print_push.h
+lib/zig/libc/include/any-windows-any/_mingw_secapi.h
+lib/zig/libc/include/any-windows-any/_mingw_stat64.h
+lib/zig/libc/include/any-windows-any/_mingw_stdarg.h
+lib/zig/libc/include/any-windows-any/_mingw_unicode.h
+lib/zig/libc/include/any-windows-any/_timeval.h
+lib/zig/libc/include/any-windows-any/accctrl.h
+lib/zig/libc/include/any-windows-any/aclapi.h
+lib/zig/libc/include/any-windows-any/aclui.h
+lib/zig/libc/include/any-windows-any/activation.h
+lib/zig/libc/include/any-windows-any/activaut.h
+lib/zig/libc/include/any-windows-any/activdbg.h
+lib/zig/libc/include/any-windows-any/activdbg100.h
+lib/zig/libc/include/any-windows-any/activecf.h
+lib/zig/libc/include/any-windows-any/activeds.h
+lib/zig/libc/include/any-windows-any/activprof.h
+lib/zig/libc/include/any-windows-any/activscp.h
+lib/zig/libc/include/any-windows-any/adc.h
+lib/zig/libc/include/any-windows-any/adhoc.h
+lib/zig/libc/include/any-windows-any/admex.h
+lib/zig/libc/include/any-windows-any/adoctint.h
+lib/zig/libc/include/any-windows-any/adodef.h
+lib/zig/libc/include/any-windows-any/adogpool.h
+lib/zig/libc/include/any-windows-any/adogpool_backcompat.h
+lib/zig/libc/include/any-windows-any/adoguids.h
+lib/zig/libc/include/any-windows-any/adoid.h
+lib/zig/libc/include/any-windows-any/adoint.h
+lib/zig/libc/include/any-windows-any/adoint_backcompat.h
+lib/zig/libc/include/any-windows-any/adojet.h
+lib/zig/libc/include/any-windows-any/adomd.h
+lib/zig/libc/include/any-windows-any/adptif.h
+lib/zig/libc/include/any-windows-any/adsdb.h
+lib/zig/libc/include/any-windows-any/adserr.h
+lib/zig/libc/include/any-windows-any/adshlp.h
+lib/zig/libc/include/any-windows-any/adsiid.h
+lib/zig/libc/include/any-windows-any/adsnms.h
+lib/zig/libc/include/any-windows-any/adsprop.h
+lib/zig/libc/include/any-windows-any/adssts.h
+lib/zig/libc/include/any-windows-any/adtgen.h
+lib/zig/libc/include/any-windows-any/advpub.h
+lib/zig/libc/include/any-windows-any/af_irda.h
+lib/zig/libc/include/any-windows-any/afxres.h
+lib/zig/libc/include/any-windows-any/agtctl.h
+lib/zig/libc/include/any-windows-any/agterr.h
+lib/zig/libc/include/any-windows-any/agtsvr.h
+lib/zig/libc/include/any-windows-any/alg.h
+lib/zig/libc/include/any-windows-any/alink.h
+lib/zig/libc/include/any-windows-any/amaudio.h
+lib/zig/libc/include/any-windows-any/amstream.h
+lib/zig/libc/include/any-windows-any/amstream.idl
+lib/zig/libc/include/any-windows-any/amvideo.h
+lib/zig/libc/include/any-windows-any/amvideo.idl
+lib/zig/libc/include/any-windows-any/apdevpkey.h
+lib/zig/libc/include/any-windows-any/apiset.h
+lib/zig/libc/include/any-windows-any/apisetcconv.h
+lib/zig/libc/include/any-windows-any/appmgmt.h
+lib/zig/libc/include/any-windows-any/aqadmtyp.h
+lib/zig/libc/include/any-windows-any/asptlb.h
+lib/zig/libc/include/any-windows-any/assert.h
+lib/zig/libc/include/any-windows-any/atacct.h
+lib/zig/libc/include/any-windows-any/atalkwsh.h
+lib/zig/libc/include/any-windows-any/atsmedia.h
+lib/zig/libc/include/any-windows-any/audevcod.h
+lib/zig/libc/include/any-windows-any/audioapotypes.h
+lib/zig/libc/include/any-windows-any/audioclient.h
+lib/zig/libc/include/any-windows-any/audioendpoints.h
+lib/zig/libc/include/any-windows-any/audioengineendpoint.h
+lib/zig/libc/include/any-windows-any/audiopolicy.h
+lib/zig/libc/include/any-windows-any/audiosessiontypes.h
+lib/zig/libc/include/any-windows-any/austream.h
+lib/zig/libc/include/any-windows-any/austream.idl
+lib/zig/libc/include/any-windows-any/authif.h
+lib/zig/libc/include/any-windows-any/authz.h
+lib/zig/libc/include/any-windows-any/aux_ulib.h
+lib/zig/libc/include/any-windows-any/avifmt.h
+lib/zig/libc/include/any-windows-any/aviriff.h



Home | Main Index | Thread Index | Old Index