1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-17 15:50:31 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
Josselin Poiret
228c9308ff gnu: zig: Fix build.
* 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-04-22 13:50:20 +02:00
Efraim Flashner
9d93c0c789 gnu: zig: Increase max-silent-time.
* gnu/packages/zig.scm (zig-0.10)[properties]: Set max-silent-time to 3
hours.
2023-03-20 18:27:40 +02:00
Ekaitz Zarraga
d59eb81b5c gnu: zig: Build against a baseline CPU.
* 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-03-19 09:25:36 +01:00
Efraim Flashner
85b065c6fc gnu: zig: Update to 0.10.1.
* 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.
2023-02-09 21:58:17 +02:00
Efraim Flashner
3cbef19a90 gnu: zig: Limit to 64bit systems.
* gnu/packages/zig.scm (zig)[supported-systems]: New field.
2022-06-12 13:50:47 +03:00
Marius Bakke
e9473ed49b gnu: LLVM, Clang: Add 14.0.0.
* 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-04-07 23:12:44 +02:00
Efraim Flashner
738da660ff gnu: zig: Remove unneeded patch.
* 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-28 10:31:54 +03:00
jgart
32cf6a8e87 gnu: zig: Update to 0.9.1.
* gnu/packages/zig.scm (zig): Update to 0.9.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-03-15 21:55:46 +02:00
Calum Irwin
6504587168 gnu: zig: Update to 0.9.0
* 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-24 15:39:16 +01:00
Marius Bakke
8993d96636 gnu: zig: Build with LLD 12.
This fixes a regression introduced in a05e573d60
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.
2022-01-09 14:49:15 +01:00
Ludovic Courtès
8394619bac gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Liliana Marie Prikler
567c4f4495 Update mailmap and copyright assignments for Liliana Marie Prikler.
Use full names everywhere.

* .mailmap: Use full name for Liliana Marie Prikler.
* gnu/packages/zig.scm: Likewise.
2021-11-06 16:03:43 +01:00
Liliana Marie Prikler
9f2c5e901e gnu: Add zig.
* 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.
2021-10-31 09:02:01 +01:00