petsc/petsc-3.4.1-avoid_fake_MKL_detection.patch
2020-11-20 12:35:13 +01:00

14 lines
679 B
Diff

--- a/config/BuildSystem/config/packages/BlasLapack.orig.py 2020-11-03 19:01:59.000000000 +0100
+++ b/config/BuildSystem/config/packages/BlasLapack.py 2020-11-09 10:37:06.551705855 +0100
@@ -546,8 +546,8 @@
'''Check for Intel MKL library'''
self.libraries.saveLog()
if self.libraries.check(self.dlib, 'mkl_set_num_threads'):
- self.mkl = 1
- self.addDefine('HAVE_MKL',1)
+ self.mkl = 0
+ self.addDefine('HAVE_MKL',0)
'''Set include directory for mkl.h and friends'''
'''(the include directory is in CPATH if mklvars.sh has been sourced.'''
''' if the script hasn't been sourced, we still try to pick up the include dir)'''