Skip to content

Commit 590b0d5

Browse files
authored
allow gcc-15 from the system
1 parent e0cf1e4 commit 590b0d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/pkgs/gcc/spkg-configure.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ SAGE_SPKG_CONFIGURE_BASE([gcc], [
165165
# Install our own GCC if the system-provided one is older than gcc 8.4
166166
SAGE_SHOULD_INSTALL_GCC([you have $CXX version $GXX_VERSION, which is quite old])
167167
],
168-
[1[[5-9]].*], [
169-
# Install our own GCC if the system-provided one is newer than 14.x.
168+
[1[[6-9]].*], [
169+
# Install our own GCC if the system-provided one is newer than 15.x.
170170
# See https://github.com/sagemath/sage/issues/29456
171171
SAGE_SHOULD_INSTALL_GCC([$CXX is g++ version $GXX_VERSION, which is too recent for this version of Sage])
172172
])

build/pkgs/gfortran/spkg-configure.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ SAGE_SPKG_CONFIGURE([gfortran], [
8686
# Install our own gfortran if the system-provided one is older than gcc-4.8.
8787
SAGE_SHOULD_INSTALL_GFORTRAN([$FC is version $GFORTRAN_VERSION, which is quite old])
8888
],
89-
[1[[5-9]].*], [
90-
# Install our own gfortran if the system-provided one is newer than 14.x.
89+
[1[[6-9]].*], [
90+
# Install our own gfortran if the system-provided one is newer than 15.x.
9191
# See https://github.com/sagemath/sage/issues/29456, https://github.com/sagemath/sage/issues/31838
9292
SAGE_MUST_INSTALL_GFORTRAN([$FC is version $GFORTRAN_VERSION, which is too recent for this version of Sage])
9393
])

0 commit comments

Comments
 (0)