File tree Expand file tree Collapse file tree 4 files changed +3
-21
lines changed Expand file tree Collapse file tree 4 files changed +3
-21
lines changed Original file line number Diff line number Diff line change 2222 steps :
2323 - uses : actions/checkout@v4
2424
25- # fixes `GLIBCXX_3.4.32' not found on run
26- - name : g++-10 for Linux
27- if : runner.os == 'Linux'
28- run : |
29- echo "CXX=g++-10" >> $GITHUB_ENV
30- echo "CC=gcc-10" >> $GITHUB_ENV
31-
3225 - uses : ./.github/workflows/composite-install-matlab
3326
3427 - uses : ./.github/workflows/composite-buildtool
Original file line number Diff line number Diff line change 3232 steps :
3333 - uses : actions/checkout@v4
3434
35- # fixes `GLIBCXX_3.4.32' not found on run
36- - name : g++-10 for Linux
37- if : runner.os == 'Linux'
38- run : |
39- echo "CXX=g++-10" >> $GITHUB_ENV
40- echo "CC=gcc-10" >> $GITHUB_ENV
41-
4235 - uses : ./.github/workflows/composite-install-matlab
4336
4437 - uses : ./.github/workflows/composite-buildtool
Original file line number Diff line number Diff line change @@ -21,11 +21,6 @@ concurrency:
2121 group : " pages"
2222 cancel-in-progress : false
2323
24- # fixes `GLIBCXX_3.4.32' not found on run
25- env :
26- CC : gcc-10
27- CXX : g++-10
28-
2924
3025jobs :
3126
Original file line number Diff line number Diff line change 2020 % FIXME: update when desired GCC != 10 for newer Matlab
2121 if isMATLABReleaseOlderThan(" R2025b" ) && ~startsWith(cxx .Version , " 10" )
2222 % https://www.mathworks.com/help/matlab/matlab_external/choose-c-or-c-compilers.html
23- warning(" ensure the GCC version matches Matlab's expected version: GCC " + cxx .Version + " detected" )
24- return
23+ % https://www.mathworks.com/help/matlab/matlab_external/change-default-gcc-compiler-on-linux-system.html
24+
25+ compiler_opt = " GCC=g++-10 " + compiler_opt ;
2526 end
2627 end
2728
You can’t perform that action at this time.
0 commit comments