rhash: un-block intel builds (#29117)
This commit is contained in:
parent
8daee48231
commit
2ab1ace5f4
@ -23,6 +23,10 @@ class Rhash(MakefilePackage):
|
||||
patch('https://github.com/rhash/RHash/commit/4dc506066cf1727b021e6352535a8bb315c3f8dc.patch?full_index=1',
|
||||
when='@1.4.2', sha256='3fbfe4603d2ec5228fd198fc87ff3ee281e1f68d252c1afceaa15cba76e9b6b4')
|
||||
|
||||
# Intel 20xx.yy.z works just fine. Un-block it from the configure script
|
||||
# https://github.com/rhash/RHash/pull/197
|
||||
patch('rhash-intel20.patch')
|
||||
|
||||
# For macOS build instructions, see:
|
||||
# https://github.com/Homebrew/homebrew-core/blob/master/Formula/rhash.rb
|
||||
|
||||
|
13
var/spack/repos/builtin/packages/rhash/rhash-intel20.patch
Normal file
13
var/spack/repos/builtin/packages/rhash/rhash-intel20.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/configure b/configure
|
||||
index 59d432b..cadbffe 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -500,7 +500,7 @@ if test "$(basename $CC)" = "icc" || test "$(basename $CC)" = "ecc"; then
|
||||
cc_version="v. ?.??, bad"
|
||||
cc_fail=yes
|
||||
;;
|
||||
- 10.1|11.1|12.*|13.*)
|
||||
+ 10.1|11.1|12.*|13.*|20*)
|
||||
cc_version="$cc_version, ok"
|
||||
;;
|
||||
*)
|
Loading…
Reference in New Issue
Block a user