rhash: un-block intel builds (#29117)

This commit is contained in:
Chuck Atkins 2022-02-22 03:24:29 -05:00 committed by GitHub
parent 8daee48231
commit 2ab1ace5f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -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

View 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"
;;
*)