summary refs log tree commit diff
path: root/gnu/packages/zig.scm
AgeCommit message (Collapse)Author
2023-07-14gnu: zig-0.9: Fix building on riscv64-linux.Efraim Flashner
* gnu/packages/zig.scm (zig-0.9)[source]: Add patch. [arguments]: Skip tests when building for riscv64-linux. When building for riscv64-linux add a phase to adjust the tests. * gnu/packages/patches/zig-0.9-riscv-support.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
2023-04-22gnu: zig: Fix build.Josselin Poiret
* gnu/packages/patches/zig-do-not-link-against-librt.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/zig.scm (zig-0.10): Use it. Also force LLVM to be dynamically linked, and set up the CC env variable. (zig-0.9): Also use the above patch. Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-03-20gnu: zig: Increase max-silent-time.Efraim Flashner
* gnu/packages/zig.scm (zig-0.10)[properties]: Set max-silent-time to 3 hours.
2023-03-19gnu: zig: Build against a baseline CPU.Ekaitz Zarraga
* gnu/packages/zig.scm (zig-0.10)[#:configure-flags]: Add “-DZIG_TARGET_MCPU=baseline”. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-02-09gnu: zig: Update to 0.10.1.Efraim Flashner
* gnu/packages/zig.scm (zig-0.10): New variable. (zig-0.9): Rename from zig. Inherit from zig-0.10. (zig): Define as zig-0.10. * gnu/packages/ncdu.scm (ncdu)[native-inputs]: Use zig-0.9. * gnu/packages/zig-xyz.scm (zig-zls)[inputs]: Use zig-0.9.
2022-06-12gnu: zig: Limit to 64bit systems.Efraim Flashner
* gnu/packages/zig.scm (zig)[supported-systems]: New field.
2022-04-07gnu: LLVM, Clang: Add 14.0.0.Marius Bakke
* gnu/packages/llvm.scm (%llvm-monorepo-hashes, %llvm-patches, llvm-monorepo): New variables. (clang-runtime-from-llvm): Make HASH optional; use monorepo when not present. (clang-from-llvm): Likewise. (llvm-14, clang-runtime-14, clang-14, clang-toolchain-14, lld-14): New variables. (llvm-13): Inherit from LLVM-14. (lld-13): Inherit from LLD-14. (lld): Turn into alias for LLD-14. * gnu/packages/patches/clang-14.0-libc-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/zig.scm (zig): Change from LLD to LLD-13.
2022-03-28gnu: zig: Remove unneeded patch.Efraim Flashner
* gnu/packages/zig.scm (zig)[source]: Remove one patch. * gnu/packages/patches/zig-disable-libc-note-test.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it.
2022-03-15gnu: zig: Update to 0.9.1.jgart
* gnu/packages/zig.scm (zig): Update to 0.9.1. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-24gnu: zig: Update to 0.9.0Calum Irwin
* gnu/packages/patches/zig-disable-libc-note-test.patch: Move patch changes to new file. * gnu/packages/patches/zig-use-system-paths.patch: Update line numbers. * gnu/packages/zig.scm: Update to 0.9.0 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-09gnu: zig: Build with LLD 12.Marius Bakke
This fixes a regression introduced in a05e573d60bf64129abf4d4e5f27355c84ebb2ee as the LLD version must match the LLVM version. * gnu/packages/llvm.scm (lld-12): New variable. * gnu/packages/zig.scm (zig)[inputs]: Change from LLD to LLD-12.
2021-12-13gnu: Simplify package inputs.Ludovic Courtès
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
2021-11-06Update mailmap and copyright assignments for Liliana Marie Prikler.Liliana Marie Prikler
Use full names everywhere. * .mailmap: Use full name for Liliana Marie Prikler. * gnu/packages/zig.scm: Likewise.
2021-10-31gnu: Add zig.Liliana Marie Prikler
* gnu/packages/patches/zig-disable-libc-note-test.patch, gnu/packages/patches/zig-use-system-paths.patch: New files. * gnu/packages/zig.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES, dist_patch_DATA): Adjust accordingly.