diff options
Diffstat (limited to 'math/openblas/files')
| -rw-r--r-- | math/openblas/files/patch-c_check | 11 | ||||
| -rw-r--r-- | math/openblas/files/patch-common__arm.h | 4 | ||||
| -rw-r--r-- | math/openblas/files/patch-exports_Makefile | 4 | ||||
| -rw-r--r-- | math/openblas/files/patch-f_check | 45 |
4 files changed, 42 insertions, 22 deletions
diff --git a/math/openblas/files/patch-c_check b/math/openblas/files/patch-c_check new file mode 100644 index 000000000000..817371d8f62f --- /dev/null +++ b/math/openblas/files/patch-c_check @@ -0,0 +1,11 @@ +--- c_check.orig 2019-04-29 17:22:19 UTC ++++ c_check +@@ -320,7 +320,7 @@ open(CONFFILE, "> $config" ) || die "Can't create $co + # print $data, "\n"; + + print MAKEFILE "OSNAME=$os\n"; +-print MAKEFILE "ARCH=$architecture\n"; ++print MAKEFILE "ARCH_=$architecture\n"; + print MAKEFILE "C_COMPILER=$compiler\n"; + print MAKEFILE "BINARY32=\n" if $binformat ne bin32; + print MAKEFILE "BINARY64=\n" if $binformat ne bin64; diff --git a/math/openblas/files/patch-common__arm.h b/math/openblas/files/patch-common__arm.h index 1ffd13a2c63b..7c6e402278e2 100644 --- a/math/openblas/files/patch-common__arm.h +++ b/math/openblas/files/patch-common__arm.h @@ -1,6 +1,6 @@ ---- common_arm.h.orig 2023-04-01 20:18:01 UTC +--- common_arm.h.orig 2018-08-30 22:07:48 UTC +++ common_arm.h -@@ -95,6 +95,17 @@ static inline int blas_quickdivide(blasint x, blasint +@@ -93,6 +93,17 @@ static inline int blas_quickdivide(blasint x, blasint #endif diff --git a/math/openblas/files/patch-exports_Makefile b/math/openblas/files/patch-exports_Makefile index 7e7692de9ce0..26dccbab2baf 100644 --- a/math/openblas/files/patch-exports_Makefile +++ b/math/openblas/files/patch-exports_Makefile @@ -1,6 +1,6 @@ ---- exports/Makefile.orig 2023-04-01 20:18:01 UTC +--- exports/Makefile.orig 2019-08-11 21:23:27 UTC +++ exports/Makefile -@@ -222,7 +222,7 @@ else +@@ -184,7 +184,7 @@ else endif $(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \ -Wl,--whole-archive $< -Wl,--no-whole-archive \ diff --git a/math/openblas/files/patch-f_check b/math/openblas/files/patch-f_check index 5af156564f03..6636f3cdeab3 100644 --- a/math/openblas/files/patch-f_check +++ b/math/openblas/files/patch-f_check @@ -1,19 +1,28 @@ ---- f_check.orig 2023-04-01 20:18:01 UTC -+++ f_check -@@ -360,6 +360,16 @@ if [ -n "$link" ]; then - flag="-lomp" - ;; - esac -+ -+ case "$hostos" in "FreeBSD") -+ case "$CC" in -+ gcc*) ;; -+ *) -+ # clang is assumed -+ flag="-lomp" -+ ;; -+ esac -+ esac - esac +--- f_check.orig 2021-05-03 06:50:22.000000000 +0900 ++++ f_check 2021-05-06 23:42:10.192934000 +0900 +@@ -326,7 +326,7 @@ - case "$flag" in -l*) + foreach $flags (@flags) { + if ( +- ($flags =~ /^\-L/) ++ ($flags =~ /^\-L\S/) + && ($flags !~ /^-LIST:/) + && ($flags !~ /^-LANG:/) + ) { +@@ -358,7 +358,7 @@ + } + + if ( +- ($flags =~ /^\-l/) ++ ($flags =~ /^\-l\S/) + && ($flags !~ /ibrary/) + && ($flags !~ /gfortranbegin/) + && ($flags !~ /frtbegin/) +@@ -369,6 +369,7 @@ + && ($flags !~ /kernel32/) + && ($flags !~ /advapi32/) + && ($flags !~ /shell32/) ++ && ($flags !~ /gomp/) + && ($flags !~ /omp/ || ($vendor !~ /PGI/ && $vendor !~ /FUJITSU/ && $flags =~ /omp/)) + && ($flags !~ /[0-9]+/ || ($vendor == FUJITSU && $flags =~ /^-lfj90/)) + && ($flags !~ /^\-l$/) |
