hako pushed a commit to branch wip-zig-bootstrap
in repository guix.

commit b3f32dcd413a7c83ec0f657fa287a07d7fcf16eb
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Mon Nov 11 11:07:04 2024 +0800

    gnu: Add zig-0.10.0-2558.
    
    * gnu/packages/zig.scm (zig-0.10.0-2558): New variable.
    
    Change-Id: I49f3a5bdf87ef5b03de2381b6a111e671142ee9e
---
 gnu/packages/zig.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm
index d49f7f1d3f..6826bc30d4 100644
--- a/gnu/packages/zig.scm
+++ b/gnu/packages/zig.scm
@@ -766,4 +766,28 @@ toolchain.  Among other features it provides
        (modify-inputs (package-native-inputs base)
          (replace "zig" `(,base "out")))))))
 
+(define zig-0.10.0-2558
+  (let ((commit "d3a237a98c5a2ccf72a774b5f93425c02fea4bea")
+        (revision "2558")
+        (base zig-0.10.0-1891))
+    (package
+      (inherit base)
+      (name "zig")
+      (version (git-version "0.10.0" revision commit))
+      (source (zig-source
+               version commit
+               "0q9583w919gvi91wbp529q54ijr8pldj8s0p2yapkbniadxxil7y"))
+      ;; zig2
+      (arguments (package-arguments zig-0.10.0-851))
+      (inputs
+       (modify-inputs (package-inputs base)
+         (replace "clang" clang-16)
+         (replace "lld" lld-16)))
+      (native-inputs
+       (modify-inputs (package-native-inputs base)
+         (replace "llvm" llvm-16)
+         (replace "zig" `(,base "zig1"))))
+      (properties `((max-silent-time . 9600)
+                    ,@(clang-compiler-cpu-architectures "16"))))))
+
 (define-public zig zig-0.10)

Reply via email to