File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -56,21 +56,20 @@ $julia -e '
56
56
Pkg.add("Conda"); Pkg.build("Conda"; verbose=true)
57
57
using Conda; env, rc = Conda.ROOTENV, Conda.conda_rc(Conda.ROOTENV)
58
58
Conda.runconda(`config --set auto_update_conda False --file $rc --force`, env)
59
- Pkg.add("PyCall"); Pkg.build("PyCall"; verbose=true)
60
59
if Sys.islinux()
61
60
# see discourse.julialang.org/t/glibcxx-version-not-found/82209/8
62
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)
63
- libstdcxx_ver = Base.BinaryPlatforms.detect_libstdcxx_version()
64
62
gcc_major = Dict(
65
63
v"3.4.29" => 11,
66
64
v"3.4.30" => 12,
67
65
# ... keep this up-to-date with gcc 13
68
- )[libstdcxx_ver ]
66
+ )[Base.BinaryPlatforms.detect_libstdcxx_version() ]
69
67
Conda.add("libgcc-ng=$gcc_major")
70
68
Conda.add("libstdcxx-ng=$gcc_major")
71
69
end
72
70
Conda.add("matplotlib")
73
71
Conda.list()
72
+ Pkg.add("PyCall"); Pkg.build("PyCall"; verbose=true)
74
73
'
75
74
76
75
# tentative fix for `pyplot` bug: libstdc++.so.X: version `GLIBCXX_X.X.X' not found ...
You can’t perform that action at this time.
0 commit comments