Search Criteria
Package Details: zig-git 0.17.0.r245.gf7a607ef68c9-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/zig-git.git (read-only, click to copy) |
|---|---|
| Package Base: | zig-git |
| Description: | General-purpose programming language and toolchain |
| Upstream URL: | https://ziglang.org/ |
| Keywords: | compiler language programming zig ziglang |
| Licenses: | MIT |
| Conflicts: | zig |
| Provides: | zig |
| Submitter: | PedroHLC |
| Maintainer: | wgottwalt |
| Last Packager: | wgottwalt |
| Votes: | 13 |
| Popularity: | 0.001557 |
| First Submitted: | 2016-08-09 17:43 (UTC) |
| Last Updated: | 2026-05-01 03:37 (UTC) |
Dependencies (26)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR)
- compiler-rt (llvm-gitAUR, clang-minimal-gitAUR)
- icu (icu-gitAUR)
- libffi (libffi-gitAUR)
- libxml2 (libxml2-gitAUR, libxml2-meson-gitAUR)
- lld (llvm-gitAUR)
- llvm-libs (llvm-libs-gitAUR)
- ncurses (ncurses-gitAUR)
- python
- xz (xz-gitAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- zstd (zstd-gitAUR, zstd-staticAUR)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- compiler-rt (llvm-gitAUR, clang-minimal-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- icu (icu-gitAUR) (make)
- libffi (libffi-gitAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-meson-gitAUR) (make)
- lld (llvm-gitAUR) (make)
- Show 6 more dependencies...
Required by (181)
- albumfetch (requires zig) (make)
- allay-launcher-git (requires zig) (make)
- ashrwm (requires zig) (make)
- ashrwm-git (requires zig) (make)
- aurodle-git (requires zig) (make)
- awtfdb (requires zig) (make)
- beansprout-git (requires zig) (make)
- bintools (requires zig) (make)
- brightnessztl (requires zig) (make)
- buongiorno-git (requires zig) (make)
- cargo-lambda-bin (requires zig)
- celeste-mod-cli (requires zig) (make)
- channel-git (requires zig) (make)
- cmake-pkg (requires zig) (make)
- cmdcreate (requires zig) (make)
- cmdcreate-git (requires zig) (make)
- cmux-gtk (requires zig) (make)
- comlink (requires zig) (make)
- comlink-git (requires zig) (make)
- cyberscript (requires zig) (make)
- Show 161 more...
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »
edtoml commented on 2022-10-18 18:11 (UTC) (edited on 2022-10-18 18:16 (UTC) by edtoml)
With llvm 15.0.3 "-DLLVM_USE_STATIC_ZSTD=ON" is no longer required when building llvm. When building zig, the PKGBUILD needs to be updated, removing the "#commit=e2...fd" and adding "-DCMAKE_PREFIX_PATH=$HOME/local/llvm15 \" to the cmake command.
edtoml commented on 2022-10-13 16:29 (UTC) (edited on 2022-10-13 16:30 (UTC) by edtoml)
An update as to what to do to build with a local copy of llvm15.
- As of zig 0.10.0-dev.4333+f5f28e0d2 the patch from 12888 is no longer required.
- The commit still needs to be removed from the PKGBUILD.
- With llvm 15.0.2 you need to add -DLLVM_USE_STATIC_ZSTD=ON to the llvm make command shown below.
edtoml commented on 2022-09-23 20:24 (UTC)
The package build has been updated to build the last version of zig that builds with llvm 14. If you want to build master, in addition to changes I posted below, you now need to remove the #commit=e2bb92b2e27dc54852a0227345e294ae383358fd from the source.
edtoml commented on 2022-09-18 12:30 (UTC) (edited on 2022-09-18 12:30 (UTC) by edtoml)
Zig updated to llvm15. Looks like Arch is taking time to integrate llvm15. I my opinion creating a local copy of llvm is the way to go. This is what I use:
Read zig issue 12888: https://github.com/ziglang/zig/issues/12888 and manually update the PKGBUILD as per the issue. I use:
misilelaboratory commented on 2022-09-15 08:54 (UTC) (edited on 2022-09-15 08:54 (UTC) by misilelaboratory)
I can't build it, because zig need llvm 15 (not 14)
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=onas 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)
« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »