pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/zig
Module Name: pkgsrc
Committed By: adam
Date: Thu Jan 19 12:32:18 UTC 2023
Modified Files:
pkgsrc/lang/zig: Makefile PLIST distinfo
Log Message:
zig: updated to 0.10.1
0.10.1
LLVM 15.0.7
This release of Zig upgrades to LLVM 15.0.7 which fixed a handful of bugs, including regressions introduced in LLVM 15.0.0. At time of writing, this hyperlink 404s because LLVM project did not
provide release notes for this version.
Compiler
cmake: move 'continue' statement to avoid cmake bug
C backend: improve support for non-native float types
C backend: enough fixes for compiler to to be able to build itself
C backend: include zig.h with quotes instead of angle brackets.
C backend: remove redundant definition of u16/i16 in zig.h
C backend: fixed some C warnings and errors on gcc 11.3.0.
c backend: Output string literals for array init of bytes
Fixed typo in zig.h causing incorrect behavior.
LLVM: mangle extern function names for Wasm target
Fixed detection of MSVC installation on aarch64-windows.
Fixed comptime array initialization.
Fixed performance regression due to unnecessary copies. There is still another known similar performance regression that is not fixed in 0.10.1.
Fixed CPU model detection for neoverse_n1 on aarch64-linux
LLVM: fix canElideLoad behavior with loops
Improved error messages.
Fixed false positive dependency loops.
Sema: resolve elem type for non-default aligned ptrs
Compilation: fixed deadlock when compiling the same C source file twice
Fixed compiler crashes.
mingw: add missing vscprintf.c file
LLVM: Respect alignment for `.union_init`
Ensure f128 alignment matches c_longdouble alignment
Support modifiers in inline assembly.
Fixes bug in AVR codegen for LLVM backend
Fixed compilation not failing when there are linker errors.
cache: Fix LockViolation during C compilation paths
Fix another LockViolation case on Windows
Fixed C ABI bug regarding double types
fix Nvptx backend outputing files at the top level of zig-cache
Sema: make `InferredErrorSet` deterministic
Sema: avoid breaking hash contract when instantiating generic functions
Sema: fix missing struct layout for llvm backend
Miscellaneous fixes to the experimental ARM and aarch64 backends.
cli: set sysroot when --sysroot option was passed
macho: do not zero-out file if there are no nonzerofill sects
macho: parse weak imports in tbd descriptors
fixes to the DWARF parser
Fixed handling of explicitly provided pdb
windows: add native CPU and features detection for Armv8 chips
Improve aarch64 feature detection based on the readouts from privileged system registers
Remove incorrect assertion in readMachODebugInfo panicking during panic
Add missing clang opts: -install_name and -undefined
macho: add missing defs of compact unwind info records
Bug fix: Prevent uninitialized parse nodes
Sema: resolve lazy align in zirReify for union fields
llvm codegen: fix f16,f32,f64 nan bitcasts
support building zig on BSDs with dynamic libstdc++/libc++
Elf: link libcompiler_rt after libc
macos: enable -headerpad_max_install_names
Translate-C Remainder Macro Fix
Many compiler crashes are fixed.
Many compile error messages are more helpful.
LLVM: implement packed unions
Sema: remove `block` and `src` parameters from `getBuiltin`
translate-c: cast unsuffixed floats to f64
LLVM: fix x86_64 sysV ABI of big vectors on avx512 enabled CPUs
LLVM: improve emitted debug info
Improve debuggability of programs built by the self hosted compiler.
windows: fix _tls_index not being defined if libc wasn't linked, and fix x86 name mangling
zig-cache: support windows drive + fwd-slash paths
Fix error reporting the wrong line for struct field inits
Call ensureResultUsed before comptime .call is evaluated.
add arm-features.h from glibc source
Standard Library
os: windows: fix unhandled error
std.os.windows.ReadLink: add missing alignment of local data buffer
Fixed condition variable (futex implementation) broadcast failing to wake all threads
Fixes to make zig work better with BSD operating systems.
uefi: Delete unneeded alignment and use default 4K
Fixed update() method in PriorityQueue and PriorityDequeue
std.c: Add definition for pthread_key_t
std.os.linux: Add setitimer and getitimer syscalls
Handle sentinel slices in `std.mem.zeroes`
add missing std.c.pthread_sigmask
std.big.int.Mutable: fix set(@as(DoubleLimb, 0))
wasi: fixes IterableDir.nextWasi for large directory
Fix buffer overflow in fmt when DAZ is set
std.os: fix alignment of Sigaction.handler_fn
gzip: add missing header fields and bounds for header parsing
os.windows.OpenFile: Add `USER_MAPPED_FILE` as a possible error
Dir.openDirAccessMaskW: Add ACCESS_DENIED as a possible error
wasi: fixes os.isatty on type mismatch
Add 0-length buffer checks to os.read and os.write
Fixes to linux/bpf/btf.zig
std: fix bug in Pcg32 fill function
std.net: check for localhost names before asking DNS
std.os.linux.T: translate more MIPS values
std.atomic.Queue: fix unget implementation and add doc
std.Thread.Futex.PosixImpl.Address.from: fix `alignment` type
crypto
Ed25519.KeyPair.fromSecretKey() didn't compile after the API changes
ed25519: recommend using the seed to recover a key pair
std.crypto.ed25519 incremental signatures: hash the fallback noise
std.crypto.pwhash.bcrypt: inline the Feistel network function
crypto.salsa20: make the number of rounds a comptime parameter
crypto.core.aes: process 6 block in parallel instead of 8 on aarch64
crypto.bcrypt: fix speed regression when using self-hosted compiler
zig cc / zig c++
detect -z stack-size arguments
support -stack in addition to --stack for linker arg
fix wrong flag name from earlier commit
compiler-rt
Fixed duplicate symbol error when linking libc on arm64 Windows.
Added aarch64 outline atomics.
Avoid using weak aliases.
Documentation
langref: Simplify printing types in examples
packed struct fix example and clarify least to most significant ordering
langref: add appendix and explain 'container' terminology
Add docstrings to some functions in std.meta
Improve doc comments for two functions
document std.heap.StackFallbackAllocator
std.array_list: add a comment on every methods invalidating pointers.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/zig/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/zig/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/zig/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/zig/Makefile
diff -u pkgsrc/lang/zig/Makefile:1.20 pkgsrc/lang/zig/Makefile:1.21
--- pkgsrc/lang/zig/Makefile:1.20 Wed Nov 23 16:20:31 2022
+++ pkgsrc/lang/zig/Makefile Thu Jan 19 12:32:18 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2022/11/23 16:20:31 adam Exp $
+# $NetBSD: Makefile,v 1.21 2023/01/19 12:32:18 adam Exp $
-DISTNAME= zig-0.10.0
-PKGREVISION= 1
+DISTNAME= zig-0.10.1
CATEGORIES= lang
MASTER_SITES= https://ziglang.org/download/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
@@ -18,8 +17,6 @@ USE_LANGUAGES= c c++14
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DDESTDIR=${DESTDIR}
-REPLACE_BASH+= lib/libcxxabi/src/demangle/cp-to-llvm.sh
-
CHECK_PORTABILITY_SKIP+= ci/azure/macos_script
BUILDLINK_TRANSFORM+= rm:-Werror
Index: pkgsrc/lang/zig/PLIST
diff -u pkgsrc/lang/zig/PLIST:1.9 pkgsrc/lang/zig/PLIST:1.10
--- pkgsrc/lang/zig/PLIST:1.9 Mon Nov 14 19:00:39 2022
+++ pkgsrc/lang/zig/PLIST Thu Jan 19 12:32:18 2023
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.9 2022/11/14 19:00:39 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2023/01/19 12:32:18 adam Exp $
bin/zig
lib/zig/build_runner.zig
lib/zig/c.zig
lib/zig/compiler_rt.zig
+lib/zig/compiler_rt/aarch64_outline_atomics.zig
lib/zig/compiler_rt/absv.zig
lib/zig/compiler_rt/absvdi2.zig
lib/zig/compiler_rt/absvdi2_test.zig
@@ -458,7 +459,6 @@ lib/zig/include/xsaveintrin.h
lib/zig/include/xsaveoptintrin.h
lib/zig/include/xsavesintrin.h
lib/zig/include/xtestintrin.h
-lib/zig/include/zig.h
lib/zig/init-exe/build.zig
lib/zig/init-exe/src/main.zig
lib/zig/init-lib/build.zig
@@ -573,6 +573,7 @@ lib/zig/libc/glibc/sysdeps/alpha/dl-sysd
lib/zig/libc/glibc/sysdeps/alpha/start-2.33.S
lib/zig/libc/glibc/sysdeps/alpha/start.S
lib/zig/libc/glibc/sysdeps/arc/sysdep.h
+lib/zig/libc/glibc/sysdeps/arm/arm-features.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
@@ -7398,6 +7399,7 @@ lib/zig/libc/mingw/stdio/_putc_nolock.c
lib/zig/libc/mingw/stdio/_putwc_nolock.c
lib/zig/libc/mingw/stdio/_stat.c
lib/zig/libc/mingw/stdio/_stat64i32.c
+lib/zig/libc/mingw/stdio/_vscprintf.c
lib/zig/libc/mingw/stdio/_wfindfirst64i32.c
lib/zig/libc/mingw/stdio/_wfindnext64i32.c
lib/zig/libc/mingw/stdio/_wstat.c
@@ -13590,6 +13592,7 @@ lib/zig/std/zig/string_literal.zig
lib/zig/std/zig/system.zig
lib/zig/std/zig/system/NativePaths.zig
lib/zig/std/zig/system/NativeTargetInfo.zig
+lib/zig/std/zig/system/arm.zig
lib/zig/std/zig/system/darwin.zig
lib/zig/std/zig/system/darwin/macos.zig
lib/zig/std/zig/system/linux.zig
@@ -13834,3 +13837,4 @@ lib/zig/tsan/ubsan/ubsan_flags.h
lib/zig/tsan/ubsan/ubsan_flags.inc
lib/zig/tsan/ubsan/ubsan_init.h
lib/zig/tsan/ubsan/ubsan_platform.h
+lib/zig/zig.h
Index: pkgsrc/lang/zig/distinfo
diff -u pkgsrc/lang/zig/distinfo:1.11 pkgsrc/lang/zig/distinfo:1.12
--- pkgsrc/lang/zig/distinfo:1.11 Mon Nov 14 19:00:39 2022
+++ pkgsrc/lang/zig/distinfo Thu Jan 19 12:32:18 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2022/11/14 19:00:39 adam Exp $
+$NetBSD: distinfo,v 1.12 2023/01/19 12:32:18 adam Exp $
-BLAKE2s (zig-0.10.0.tar.xz) = 341a0e9d4b3cb807ff34c0de4e4734bf682e962712e90a729a0b061dd5157c43
-SHA512 (zig-0.10.0.tar.xz) = 9d83ce51cc0ce404c06da820179c1cc47aa50e573fb1c831a96baa12c6b5226abe85b384110f2ffc4cbdc5f24eaba1f14a4e3249ffeaa248c0d73ba29859e682
-Size (zig-0.10.0.tar.xz) = 14530912 bytes
+BLAKE2s (zig-0.10.1.tar.xz) = 66abb974fba761acf1b1ed1dd90eb5364e103c63904a9de390eba49d637c81d6
+SHA512 (zig-0.10.1.tar.xz) = d443adf61556bc95470537c6b0371a0ac99d19a06b15635cf1e5055ae7849039680c9006105e06e1bd6ba0fc12da14c54c1d28ac597c7dee17ee3a5cd9cf79f8
+Size (zig-0.10.1.tar.xz) = 15143112 bytes
Home |
Main Index |
Thread Index |
Old Index