-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14511 from bedroge/mash_fix_broken_binaries
add patch to fix broken (hanging) Mash binaries
- Loading branch information
Showing
5 changed files
with
55 additions
and
3 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
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
20 changes: 20 additions & 0 deletions
20
easybuild/easyconfigs/m/Mash/Mash-2.2_fix-hardcoding.patch
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
don't hardcode -std=c++14, since -std=c++17 is required when building on top of CapnProto 0.8.0 | ||
--- Mash-2.2/configure.ac.orig 2021-12-07 10:56:35.099497741 +0100 | ||
+++ Mash-2.2/configure.ac 2021-12-07 10:57:09.343306342 +0100 | ||
@@ -33,7 +33,7 @@ | ||
AC_MSG_ERROR([Cap'n Proto compiler (capnp) not found.]) | ||
fi | ||
|
||
-CPPFLAGS="-I$with_capnp/include -std=c++14" | ||
+CPPFLAGS="-I$with_capnp/include $CXXFLAGS" | ||
|
||
AC_CHECK_HEADER(capnp/common.h, [result=1], [result=0]) | ||
|
||
--- Mash-2.2/Makefile.in.orig 2021-12-07 10:57:13.619282453 +0100 | ||
+++ Mash-2.2/Makefile.in 2021-12-07 10:57:36.623153939 +0100 | ||
@@ -1,4 +1,4 @@ | ||
-CXXFLAGS += -O3 -std=c++14 -Isrc -I@capnp@/include -I@mathinc@ | ||
+CXXFLAGS += -Isrc -I@capnp@/include -I@mathinc@ | ||
CPPFLAGS += @amcppflags@ | ||
|
||
UNAME_S=$(shell uname -s) |
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