Skip to content

Commit 9bf1ebc

Browse files
authored
restrict libgcc-ng and libstdcxx-ng
1 parent 1ffce41 commit 9bf1ebc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/ci_build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ $julia -e '
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)
5959
Pkg.add("PyCall"); Pkg.build("PyCall"; verbose=true)
60+
# see discourse.julialang.org/t/glibcxx-version-not-found/82209/8
61+
# 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)
62+
ver = 11
63+
CondaPkg.add("libgcc-ng<=$ver")
64+
CondaPkg.add("libstdcxx-ng<=$ver")
6065
Conda.add("matplotlib")
6166
Conda.list()
6267
'

0 commit comments

Comments
 (0)