Skip to content

Commit fa4855f

Browse files
author
Release Manager
committed
gh-39977: allow gcc-15 from the system Fedora 42 comes with gcc-15 by default, so it should be allowed, as asked on [sage-release](https://groups.google.com/g/sage- release/c/iBMmwCCKJuM/m/h4EXk5nUDAAJ) ## 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - #12345: short description why this is a dependency --> <!-- - #34567: ... --> - #39985 : linbox patches - #39936 : givaro 4.2.1 URL: #39977 Reported by: Dima Pasechnik Reviewer(s):
2 parents e11866d + 64e347f commit fa4855f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build/pkgs/ecl/spkg-install.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cd src
22

3-
export CFLAGS
3+
export CFLAGS="-std=gnu17 $CFLAGS"
44
export CXXFLAGS
55
export LDFLAGS
66

build/pkgs/gcc/spkg-configure.m4

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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)