Add a patch for Intel 18.0.1 (#6392)

This commit is contained in:
Ondřej Čertík 2017-11-23 07:28:35 -07:00 committed by Christoph Junghans
parent a955f63530
commit 7a2b3b2588
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff --git a/f_check b/f_check
index 79febfb..c9da6ed 100644
--- a/f_check
+++ b/f_check
@@ -359,9 +359,6 @@ print MAKEFILE "NOFORTRAN=1\n" if $nofortran == 1;
print CONFFILE "#define BUNDERSCORE\t$bu\n" if $bu ne "";
print CONFFILE "#define NEEDBUNDERSCORE\t1\n" if $bu ne "";
-print CONFFILE "#define NEED2UNDERSCORES\t1\n" if $need2bu ne "";
-
-print MAKEFILE "NEED2UNDERSCORES=1\n" if $need2bu ne "";
if (($linker_l ne "") || ($linker_a ne "")) {
print MAKEFILE "FEXTRALIB=$linker_L $linker_l $linker_a\n";

View File

@ -79,6 +79,7 @@ class Openblas(MakefilePackage):
patch('openblas_icc.patch', when='@:0.2.19%intel')
patch('openblas_icc_openmp.patch', when='%intel@16.0:')
patch('openblas_icc_fortran.patch', when='%intel@16.0:')
patch('openblas_icc_fortran2.patch', when='%intel@18.0:')
# Fixes compilation error on POWER8 with GCC 7
# https://github.com/xianyi/OpenBLAS/pull/1098