Skip to content

Commit e19857a

Browse files
authored
speedup: batch install
1 parent f9ec7dc commit e19857a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/ci_build.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $julia -e '
5656
Pkg.add("Conda"); Pkg.build("Conda"; verbose=true)
5757
using Conda; env, rc = Conda.ROOTENV, Conda.conda_rc(Conda.ROOTENV)
5858
Conda.runconda(`config --set auto_update_conda False --file $rc --force`, env)
59-
if Sys.islinux()
59+
pkgs = if Sys.islinux()
6060
# see discourse.julialang.org/t/glibcxx-version-not-found/82209/8
6161
# julia 1.8.3 is built with libstdc++.so.6.0.29, so we must restrict to this version (gcc 11.3.0, not gcc 12.2.0)
6262
# see gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
@@ -66,10 +66,11 @@ $julia -e '
6666
v"3.4.31" => ">=13.1,<14.1",
6767
# ... keep this up-to-date with gcc 14
6868
)[Base.BinaryPlatforms.detect_libstdcxx_version()]
69-
Conda.add("libgcc-ng$specs")
70-
Conda.add("libstdcxx-ng$specs")
69+
["libgcc-ng$specs", "libstdcxx-ng$specs", "matplotlib"]
70+
else
71+
["matplotlib"]
7172
end
72-
Conda.add("matplotlib")
73+
Conda.add(pkgs)
7374
Conda.list()
7475
Pkg.add("PyCall"); Pkg.build("PyCall"; verbose=true)
7576
'

0 commit comments

Comments
 (0)