Skip to content

Commit 1ffce41

Browse files
authored
Update ci_build.sh
1 parent c7d93f8 commit 1ffce41

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
@@ -48,9 +48,6 @@ export GKSwstype=nul # Plots.jl/issues/3664
4848
export COLORTERM='truecolor' # UnicodePlots.jl
4949
export PLOTDOCS_ANSICOLOR=true
5050

51-
# tentative fix for `pyplot` bug: libstdc++.so.X: version `GLIBCXX_X.X.X' not found ...
52-
# export LD_PRELOAD=$(g++ --print-file-name=libstdc++.so)
53-
5451
julia='xvfb-run julia --color=yes --project=docs'
5552

5653
$julia -e '
@@ -61,10 +58,14 @@ $julia -e '
6158
Conda.runconda(`config --set auto_update_conda False --file $rc --force`, env)
6259
Pkg.add("PyCall"); Pkg.build("PyCall"; verbose=true)
6360
Conda.add("matplotlib")
64-
Conda.add("libgcc")
6561
Conda.list()
6662
'
6763

64+
# tentative fix for `pyplot` bug: libstdc++.so.X: version `GLIBCXX_X.X.X' not found ...
65+
# export LD_PRELOAD=$(g++ --print-file-name=libstdc++.so)
66+
export LD_PRELOAD=$($julia -e 'using Conda; joinpath(Conda.ROOTENV, "lib", "libstdc++.so") |> print')
67+
echo $LD_PRELOAD
68+
6869
echo "== build documentation for $GITHUB_REPOSITORY@$GITHUB_REF, triggerd by $GITHUB_ACTOR on $GITHUB_EVENT_NAME =="
6970
if [ "$GITHUB_REPOSITORY" == 'JuliaPlots/PlotDocs.jl' ]; then
7071
$julia docs/make.jl

0 commit comments

Comments
 (0)