Skip to content

Commit f9ec7dc

Browse files
authored
update abi specs
1 parent 2eefdbe commit f9ec7dc

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/ci_build.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,15 @@ $julia -e '
5959
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)
62-
gcc_major = Dict(
63-
v"3.4.29" => 11,
64-
v"3.4.30" => 12,
65-
# ... keep this up-to-date with gcc 13
62+
# see gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
63+
specs = Dict(
64+
v"3.4.29" => ">=11.1,<12.1",
65+
v"3.4.30" => ">=12.1,<13.1",
66+
v"3.4.31" => ">=13.1,<14.1",
67+
# ... keep this up-to-date with gcc 14
6668
)[Base.BinaryPlatforms.detect_libstdcxx_version()]
67-
Conda.add("libgcc-ng=$gcc_major")
68-
Conda.add("libstdcxx-ng=$gcc_major")
69+
Conda.add("libgcc-ng$specs")
70+
Conda.add("libstdcxx-ng$specs")
6971
end
7072
Conda.add("matplotlib")
7173
Conda.list()

0 commit comments

Comments
 (0)