-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Clean up GAP and GAP_lib build recipes * [GAP] Update to 4.12.1
- Loading branch information
Showing
6 changed files
with
47 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From bb5f0f05a4da658c1923a9bad54f92871bccf10a Mon Sep 17 00:00:00 2001 | ||
From e3ff603685bf881031f7f63ad18a5bdcf191b162 Mon Sep 17 00:00:00 2001 | ||
From: Max Horn <[email protected]> | ||
Date: Tue, 13 Sep 2022 16:09:34 +0200 | ||
Subject: [PATCH 3/3] configure.ac: patch Julia compiler flags computation | ||
Subject: [PATCH 3/4] configure.ac: patch Julia compiler flags computation | ||
|
||
The normal code in GAP invokes Julia to "ask" it for the relevant flags. | ||
But that doesn't work well when cross compiling, and even worse when | ||
|
@@ -18,10 +18,10 @@ variables. | |
1 file changed, 6 insertions(+), 17 deletions(-) | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index 78e3912b2..eec745fc5 100644 | ||
index a5113c4f7..c3410fac7 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -714,35 +714,24 @@ AS_IF([test "x$with_julia" != xno ],[ | ||
@@ -718,35 +718,24 @@ AS_IF([test "x$with_julia" != xno ],[ | ||
[ AC_MSG_ERROR([invalid argument to --with-julia]) ] ) | ||
JULIA_PATH="${PATH}" | ||
]) | ||
|
@@ -64,5 +64,5 @@ index 78e3912b2..eec745fc5 100644 | |
], | ||
[ | ||
-- | ||
2.37.3 | ||
2.38.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
commit 6f851174fe92c077e316005612e7246819434e0e | ||
Author: Max Horn <[email protected]> | ||
Date: 2022-09-14 00:12:02 +0200 | ||
From 592581753cf7a281eafa251ddc976b0eede11afa Mon Sep 17 00:00:00 2001 | ||
From: Max Horn <[email protected]> | ||
Date: Wed, 14 Sep 2022 00:12:02 +0200 | ||
Subject: [PATCH 4/4] kernel: workaround GCC 12 warning | ||
|
||
kernel: workaround GCC 12 warning | ||
|
||
With GCC 12, we get a spurious warning indicating that `buf` in `GetStr` | ||
may be used uninitialized. Weirdly, it does not complain about the almost | ||
identical code in e.g. `GetPragma`. | ||
With GCC 12, we get a spurious warning indicating that `buf` in `GetStr` | ||
may be used uninitialized. Weirdly, it does not complain about the almost | ||
identical code in e.g. `GetPragma`. | ||
--- | ||
src/scanner.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/scanner.c b/src/scanner.c | ||
index f5dbbcc04..23adc944e 100644 | ||
|
@@ -21,3 +23,6 @@ index f5dbbcc04..23adc944e 100644 | |
UInt i = 0; | ||
|
||
while (c != '"' && c != '\n' && c != '\377') { | ||
-- | ||
2.38.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 739f802c85c747e509670c56606563e2570839ea Mon Sep 17 00:00:00 2001 | ||
From 2deedf339740abf0abd25eee3e98211cf5c7ec5a Mon Sep 17 00:00:00 2001 | ||
From: Max Horn <[email protected]> | ||
Date: Tue, 13 Sep 2022 16:09:19 +0200 | ||
Subject: [PATCH 2/3] Don't invoke jl_init() | ||
Subject: [PATCH 2/4] Don't invoke jl_init() | ||
|
||
This is not needed when running this code from within Julia | ||
--- | ||
|
@@ -21,5 +21,5 @@ index db02b5d39..c5c536467 100644 | |
SetJuliaTLS(); | ||
#ifdef SKIP_GUARD_PAGES | ||
-- | ||
2.37.3 | ||
2.38.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From fe60c6174563dcf2e193726aac960713c1c522c7 Mon Sep 17 00:00:00 2001 | ||
From 8d35396cc4fb43700b857ca7b2063f48844763d6 Mon Sep 17 00:00:00 2001 | ||
From: Max Horn <[email protected]> | ||
Date: Tue, 13 Sep 2022 16:07:40 +0200 | ||
Subject: [PATCH 1/3] Don't strip binaries when installing them | ||
Subject: [PATCH 1/4] Don't strip binaries when installing them | ||
|
||
This works around an error when cross-compiling on Yggdrasil for macOS: | ||
the `/usr/bin/install` binary is from BusyBox and insists on adding `-p` | ||
|
@@ -12,27 +12,27 @@ supported by the `strip` executable for macOS. | |
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/Makefile.rules b/Makefile.rules | ||
index dc619819f..2db76b410 100644 | ||
index 368814df2..c7ecd4cda 100644 | ||
--- a/Makefile.rules | ||
+++ b/Makefile.rules | ||
@@ -583,7 +583,7 @@ install-bin: gap | ||
@echo "Warning, 'make install-bin' is incomplete" | ||
@@ -586,7 +586,7 @@ export gap_wrapper | ||
install-bin: gap | ||
# install the real GAP executable as $(libdir)/gap/gap | ||
$(INSTALL) -d -m 0755 $(DESTDIR)$(libdir)/gap | ||
- $(INSTALL) -m 0755 -s gap $(DESTDIR)$(libdir)/gap | ||
+ $(INSTALL) -m 0755 gap $(DESTDIR)$(libdir)/gap | ||
- $(LTINSTALL) -s gap $(DESTDIR)$(libdir)/gap | ||
+ $(LTINSTALL) gap $(DESTDIR)$(libdir)/gap | ||
|
||
# install a wrapper shell script invoking the real GAP executable as $(bindir)/gap | ||
$(INSTALL) -d -m 0755 $(DESTDIR)$(bindir) | ||
@@ -661,7 +661,7 @@ install-headers: $(FFDATA_H) build/version.h | ||
@@ -663,7 +663,7 @@ install-headers: $(FFDATA_H) build/version.h | ||
|
||
install-libgap: libgap.la | ||
@echo "Warning, 'make install-libgap' is incomplete" | ||
$(INSTALL) -d -m 0755 $(DESTDIR)$(libdir) | ||
- $(LTINSTALL) -s libgap.la $(DESTDIR)$(libdir) | ||
+ $(LTINSTALL) libgap.la $(DESTDIR)$(libdir) | ||
|
||
|
||
.PHONY: install install-bin install-doc install-gaproot install-headers install-libgap | ||
-- | ||
2.37.3 | ||
2.38.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters