summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorEric Sandall2018-09-12 19:42:10 -0700
committerEric Sandall2018-09-13 00:58:59 -0700
commit73969776d08127352ecd2a725264f848ecc0c112 (patch)
tree7da92814e2d6d9a9605b59b646ffba845ec887a9 /gnu
parent160c6838fdfebf42ac07b65e27db4daf97093c04 (diff)
gcc: Apply 0001-fix-isl-0.20.patch
Print message about Go patch as well. 0001-fix-isl-0.20.patch: Patch to build against isl 0.20 See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724
Diffstat (limited to 'gnu')
-rw-r--r--gnu/gcc/0001-fix-isl-0.20.patch13
-rw-r--r--gnu/gcc/HISTORY6
-rwxr-xr-xgnu/gcc/PRE_BUILD4
3 files changed, 23 insertions, 0 deletions
diff --git a/gnu/gcc/0001-fix-isl-0.20.patch b/gnu/gcc/0001-fix-isl-0.20.patch
new file mode 100644
index 0000000000..db1a54a184
--- /dev/null
+++ b/gnu/gcc/0001-fix-isl-0.20.patch
@@ -0,0 +1,13 @@
+# From https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724
+--- branches/gcc-6-branch/gcc/graphite.h 2018/08/14 14:33:20 263538
++++ branches/gcc-6-branch/gcc/graphite.h 2018/08/14 15:15:39 263539
+@@ -40,6 +40,8 @@
+ #ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
+ /* isl 0.15 or later. */
+ #include <isl/schedule_node.h>
++#include <isl/id.h>
++#include <isl/space.h>
+
+ #else
+ /* isl 0.14 or 0.13. */
+
diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY
index 88f4ccb801..0a043e217e 100644
--- a/gnu/gcc/HISTORY
+++ b/gnu/gcc/HISTORY
@@ -1,3 +1,9 @@
+2018-09-12 Eric Sandall <sandalle@sourcemage.org>
+ * PRE_BUILD: Apply 0001-fix-isl-0.20.patch
+ Print message about Go patch as well.
+ * 0001-fix-isl-0.20.patch: Patch to build against isl 0.20
+ See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724
+
2018-07-26 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 8.2.0
diff --git a/gnu/gcc/PRE_BUILD b/gnu/gcc/PRE_BUILD
index b015821201..b39cef41af 100755
--- a/gnu/gcc/PRE_BUILD
+++ b/gnu/gcc/PRE_BUILD
@@ -28,10 +28,14 @@ cd ${SOURCE_DIRECTORY} &&
mk_source_dir $SOURCE_DIRECTORY.bld &&
cd $SOURCE_DIRECTORY &&
+message "${MESSAGE_COLOR}Applying patch for isl 0.20...${DEFAULT_COLOR}" &&
+patch -p2 < "${SPELL_DIRECTORY}/0001-fix-isl-0.20.patch" &&
+
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&
if list_find "$GCC_COMPILER" "go"; then
+ message "${MESSAGE_COLOR}Applying patch for Go header generation...${DEFAULT_COLOR}" &&
patch -p1 < "$SPELL_DIRECTORY/0003-fix-header-generation-for-libgo.patch"
fi