Skip to content

Commit

Permalink
[GCC13] Patch applied for c++20
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jul 11, 2024
1 parent 8ce3483 commit 8917471
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gcc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Source3: https://ftp.gnu.org/gnu/mpc/mpc-%{mpcVersion}.tar.gz
Source4: https://libisl.sourceforge.io/isl-%{islVersion}.tar.bz2
Source12: http://zlib.net/zlib-%{zlibVersion}.tar.gz
Source13: https://github.com/facebook/zstd/releases/download/v%{zstdVersion}/zstd-%{zstdVersion}.tar.gz
#Avoid C++20 build errors
#FIXME: This should be dropped when we are ready to move to near GCC 13 supported by cuda
Source14: https://github.com/gcc-mirror/gcc/commit/96482ffe60d9bdec802fcad705c69641b2a3e040.patch

%ifos linux
%define bisonVersion 3.8.2
Expand All @@ -44,6 +47,7 @@ Patch1: gcc-flex-disable-doc
%prep

%setup -T -b 0 -n %{moduleName}
patch -p1 <%{_sourcedir}/96482ffe60d9bdec802fcad705c69641b2a3e040.patch

# Filter out private stuff from RPM requires headers.
cat << \EOF > %{name}-req
Expand Down

0 comments on commit 8917471

Please sign in to comment.