Search Criteria
Package Details: zig-git 0.11.0.r3596.gfbb38a7682-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/zig-git.git (read-only, click to copy) |
---|---|
Package Base: | zig-git |
Description: | a programming language prioritizing robustness, optimality, and clarity |
Upstream URL: | https://ziglang.org |
Keywords: | compiler language programming zig ziglang |
Licenses: | MIT |
Conflicts: | zig |
Provides: | zig |
Submitter: | PedroHLC |
Maintainer: | leopoldek |
Last Packager: | leopoldek |
Votes: | 12 |
Popularity: | 0.001843 |
First Submitted: | 2016-08-09 17:43 (UTC) |
Last Updated: | 2024-04-08 18:38 (UTC) |
Dependencies (5)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR)
- lld (llvm-rocm-gitAUR, llvm-gitAUR)
- llvm (llvm-rocm-gitAUR, llvm-gitAUR, llvm-minimal-gitAUR)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR) (make)
Required by (66)
- 2048.zig (requires zig) (make)
- brightnessztl (requires zig) (make)
- buongiorno (requires zig) (make)
- buongiorno-git (requires zig) (make)
- cargo-lambda-bin (requires zig)
- cleartouch-git (requires zig) (make)
- colorstorm (requires zig) (make)
- cyberscript (requires zig) (make)
- digisim-git (requires zig) (make)
- erasmus (requires zig) (make)
- est (requires zig) (make)
- ghostty-git (requires zig) (make)
- glsl_analyzer (requires zig) (make)
- gmi2html (requires zig) (make)
- gpower2-git (requires zig) (make)
- gyro (requires zig) (make)
- hr-zig (requires zig) (make)
- hsh (requires zig) (make)
- kble-git (requires zig) (make)
- Show 47 more...
Latest Comments
« First ‹ Previous 1 2 3 4 5 Next › Last »
leopoldek commented on 2022-09-02 22:39 (UTC) (edited on 2022-09-02 23:14 (UTC) by leopoldek)
@edtoml Updated. It should work now.
edtoml commented on 2022-09-01 21:05 (UTC) (edited on 2022-09-02 01:13 (UTC) by edtoml)
With the latest changes to the Zig build process the PKGBUILD no longer works. Problem is that the "cmake --build build" attempts to write directly to /usr/lib. The last part of the build uses zig (stage2) and wants to use -DCMAKE_INSTALL_PREFIX=/usr as written when building stage3. This is the second version of this PKGBUILD.
https://zigbin.io/bdc712
Your mileage may vary
krismolendyke commented on 2022-07-12 21:03 (UTC)
This builds w/ LLVM 14 for me now but I had to add
-DZIG_STATIC_ZLIB=on
as mentioned here https://github.com/ziglang/zig/issues/12069#issuecomment-1179757906tiehuis commented on 2022-07-07 01:22 (UTC) (edited on 2022-07-07 01:23 (UTC) by tiehuis)
Diff for the below from kuon. I do not have push permissions here anymore so cannot update.
kuon commented on 2022-07-07 00:54 (UTC) (edited on 2022-07-07 00:54 (UTC) by kuon)
I just update arch, and now it doesn't build with the following error:
It can be fixed with:
And add to PKGBUILD
to the cmake call (first one)
Techcable commented on 2022-06-28 02:24 (UTC)
Currently the latest master commit will not build because of Zig issue #11137. Essentially Zig does not link to
c_nonshared
, although that is needed on recent version of Arch.Here is an example of a compilation failure on latest master: Github Gist Several other examples of compilation failure are available on the issue.
PR #11529 provides a simple (but hacky) fix to the solution.
You should patch it until upstream adds a proper fix.
graysky commented on 2022-06-17 12:43 (UTC)
@clarfonthey - just build with
makepkg -sA
to skip the arch check.Techcable commented on 2022-05-24 18:14 (UTC)
It would be really amazing if you could add a debug build for this package. Maybe using
OPTIONS=(debug !strip)
and passing the appropriate options to cmake.Not sure if this is best done in a seperate package, but it would be really awesome :)
clarfonthey commented on 2022-05-05 15:46 (UTC)
Would you be willing to add
aarch64
to the list of supported architectures? I haven't had any problems building for it and it would be useful to not have to locally patch it.cajm commented on 2021-12-25 18:04 (UTC) (edited on 2021-12-27 00:42 (UTC) by cajm)
@jonathon Got it. The problem with calling
make
is that sometimes theCMAKE_GENERATOR
environment variable set toNinja
, making CMake generate abuild.ninja
instead of aMakefile
. Usingcmake --build
(as demonstrated in the AUR CMake packaging guidelines detects whether it should callmake
orninja
based on what it generated. If you want for forcemake
usage, I suggest adding-G 'Unix Makefiles'
to thecmake
parameters. Otherwise you get an error sayingmake: *** No targets specified and no makefile found. Stop.
« First ‹ Previous 1 2 3 4 5 Next › Last »