Skip to content

Commit 7a28680

Browse files
committed
julia: set USE_SYSTEM_ZLIB
Bundled libunwind still uses system zlib even without USE_SYSTEM_ZLIB set, so instead make all libraries use system zlib Reference: JuliaLang/julia#55354
1 parent ff3dfa0 commit 7a28680

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkgs/development/compilers/julia/generic.nix

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ stdenv.mkDerivation rec {
6161
makeFlags = [
6262
"prefix=$(out)"
6363
"USE_BINARYBUILDER=0"
64+
] ++ lib.optionals (lib.versions.majorMinor version == "1.10") [
65+
"USE_SYSTEM_ZLIB=1"
6466
] ++ lib.optionals stdenv.hostPlatform.isx86_64 [
6567
# https://github.com/JuliaCI/julia-buildkite/blob/main/utilities/build_envs.sh
6668
"JULIA_CPU_TARGET=generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1);x86-64-v4,-rdrnd,base(1)"

0 commit comments

Comments
 (0)