summaryrefslogtreecommitdiff
path: root/sci-libs/mkl/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/mkl/files
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/mkl/files')
-rw-r--r--sci-libs/mkl/files/mkl-10.0.2.018-openmpi.patch18
-rw-r--r--sci-libs/mkl/files/mkl-10.0.2.018-tests.patch21
2 files changed, 39 insertions, 0 deletions
diff --git a/sci-libs/mkl/files/mkl-10.0.2.018-openmpi.patch b/sci-libs/mkl/files/mkl-10.0.2.018-openmpi.patch
new file mode 100644
index 000000000000..6f7f9edebb0f
--- /dev/null
+++ b/sci-libs/mkl/files/mkl-10.0.2.018-openmpi.patch
@@ -0,0 +1,18 @@
+--- interfaces/fftw2x_cdft/makefile.orig 2008-03-11 23:26:26.287984332 +0000
++++ interfaces/fftw2x_cdft/makefile 2008-03-13 10:56:44.755095617 +0000
+@@ -172,6 +172,15 @@
+ endif
+
+
++ifeq ($(mpi),openmpi)
++CS = mpicc
++ifdef mpidir
++_CS = $(mpidir)/bin/$(CS)
++else
++_CS = $(CS)
++endif
++endif
++
+ vpath %.c wrappers
+
+ $(WRP): %.o: %.c
diff --git a/sci-libs/mkl/files/mkl-10.0.2.018-tests.patch b/sci-libs/mkl/files/mkl-10.0.2.018-tests.patch
new file mode 100644
index 000000000000..975170f7dbc0
--- /dev/null
+++ b/sci-libs/mkl/files/mkl-10.0.2.018-tests.patch
@@ -0,0 +1,21 @@
+--- tests/scalapack/make.inc.orig 2008-03-13 22:36:06.119890888 +0000
++++ tests/scalapack/make.inc 2008-03-13 22:54:58.201781899 +0000
+@@ -59,6 +59,9 @@
+ IFACE_PART = _ilp64
+ COPTS = -DMKL_ILP64
+ FOPTS = -i8
++ifeq ($(compiler),gnu)
++FOPTS = -fdefault-integer-8
++endif
+ else
+ ADD_IFACE = _lp64
+ IFACE_PART = _lp64
+@@ -203,7 +206,7 @@
+ # Compiler flags
+ F77FLAGS=-w -u $(OPTS)
+ ifeq ($(comp),gnu)
+-F77FLAGS=$(OPTS) -ff90 -fno-globals -Wno-globals
++F77FLAGS=$(OPTS)
+ endif
+ # Remove objects variable
+ RMOBJ=rm -f *.o core work.pc*