File tree Expand file tree Collapse file tree 3 files changed +5
-42
lines changed Expand file tree Collapse file tree 3 files changed +5
-42
lines changed Original file line number Diff line number Diff line change 28
28
- windows-2022
29
29
- windows-2019
30
30
toolchain :
31
+ # {compiler: gcc, version: 13}
31
32
- {compiler: gcc, version: 12}
32
33
- {compiler: gcc, version: 11}
33
34
- {compiler: gcc, version: 10}
Original file line number Diff line number Diff line change @@ -59,10 +59,12 @@ jobs:
59
59
- *intel* (for `ifx`)
60
60
- *intel-classic* (for `ifort`)
61
61
- *version*: Version of the compiler toolchain, available options are
62
- - *5–12 * for *gcc*
62
+ - *5–13 * for *gcc*
63
63
- *2021.1–2023.1* for *intel*
64
64
- *2021.1–2021.9* for *intel-classic*
65
65
66
+ **Note:** version 13 of the GNU toolchain is not yet available on Windows.
67
+
66
68
67
69
# # Outputs
68
70
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ install_gcc_brew()
23
23
ln -fs /usr/local/bin/g++-${version} /usr/local/bin/g++
24
24
25
25
# link lib dir for previous GCC versions to avoid missing .dylib issues
26
- for (( i= 12 ; i> 4 ; i-- ))
26
+ for (( i= 13 ; i> 4 ; i-- ))
27
27
do
28
28
gcc_lib_path=" /usr/local/opt/gcc/lib/gcc/$i "
29
29
if [ -d $gcc_lib_path ]; then
@@ -92,46 +92,6 @@ install_gcc_choco()
92
92
fi
93
93
}
94
94
95
- install_gcc_winlibs ()
96
- {
97
- repo=" https://github.com/brechtsanders/winlibs_mingw/releases/download"
98
- case $version in
99
- 12)
100
- tag=" 12.2.0-14.0.6-10.0.0-ucrt-r2"
101
- zip=" winlibs-x86_64-posix-seh-gcc-12.2.0-mingw-w64ucrt-10.0.0-r2.zip"
102
- ;;
103
- 11)
104
- tag=" 11.2.0-12.0.1-9.0.0-r1"
105
- zip=" winlibs-x86_64-posix-seh-gcc-11.2.0-mingw-w64-9.0.0-r1.zip"
106
- ;;
107
- 10)
108
- tag=" 10.3.0-12.0.0-9.0.0-r2"
109
- zip=" winlibs-x86_64-posix-seh-gcc-10.3.0-mingw-w64-9.0.0-r2.zip"
110
- ;;
111
- 9)
112
- tag=" 9.4.0-9.0.0-r1"
113
- zip=" winlibs-x86_64-posix-seh-gcc-9.4.0-mingw-w64-9.0.0-r1.zip"
114
- ;;
115
- 8)
116
- tag=" 8.5.0-9.0.0-r1"
117
- zip=" winlibs-x86_64-posix-seh-gcc-8.5.0-mingw-w64-9.0.0-r1.zip"
118
- ;;
119
- * )
120
- echo " Unsupported version: $version (choose 8-12)"
121
- exit 1
122
- ;;
123
- esac
124
-
125
- require_fetch
126
- $fetch " $repo /$tag /$zip " > gcc.zip
127
-
128
- unzip -qo gcc.zip " mingw64/bin/*" -d /
129
-
130
- export FC=" gfortran"
131
- export CC=" gcc"
132
- export CXX=" g++"
133
- }
134
-
135
95
install_gcc ()
136
96
{
137
97
local platform=$1
You can’t perform that action at this time.
0 commit comments