diff options
author | Alexander Phinikarides | 2016-12-29 19:29:03 +0200 |
---|---|---|
committer | Alexander Phinikarides | 2016-12-29 19:29:03 +0200 |
commit | d145c974c704d93642099d4b7b77fbd05d3430be (patch) | |
tree | 6d0de645ae15e7b058de4c55080000098c0c8896 | |
parent | 93e5255566ba13570a89f56faa951a8312a67f25 (diff) | |
download | aur-d145c974c704d93642099d4b7b77fbd05d3430be.tar.gz |
dynamic library does not work
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 8 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = r-mkl pkgdesc = Language and environment for statistical computing and graphics, linked to the Intel(R) MKL. pkgver = 3.3.2 - pkgrel = 7 + pkgrel = 8 url = http://www.r-project.org/ install = r-mkl.install arch = x86_64 @@ -5,7 +5,7 @@ pkgname=r-mkl pkgver=3.3.2 -pkgrel=7 +pkgrel=8 pkgdesc="Language and environment for statistical computing and graphics, linked to the Intel(R) MKL." arch=('x86_64') license=('GPL') @@ -93,9 +93,12 @@ build() { export MAIN_LDFLAGS=${_intel_cc_opt} export FLIBS=" -lgfortran -lifcore -lifport" - # Single Dynamic Library (SDL) + # Dynamic Linking _mkllibs=" -L${MKLROOT}/lib/${_intel_arch} \ - -lmkl_rt \ + -l${_intel_lib} \ + -lmkl_intel_thread \ + -lmkl_core \ + -liomp5 \ -lpthread \ -lm \ -ldl" @@ -114,8 +117,7 @@ build() { _gcc_opt=" -O3 -m64 -fopenmp" export MAIN_LDFLAGS=" -fopenmp" - # Single Dynamic Library does not work for GCC - # Using Dynamic Linking + # Dynamic Linking _mkllibs=" -L${MKLROOT}/lib/${_intel_arch} \ -Wl,--no-as-needed \ -l${_gfortran_lib} \ |