diff options
author | Alexander Phinikarides | 2016-11-06 20:10:08 +0200 |
---|---|---|
committer | Alexander Phinikarides | 2016-11-06 20:10:08 +0200 |
commit | 956bd05623fef7b871ba9972efce9f99a540be68 (patch) | |
tree | 0f98e7e1f5c0cd3320e22979d9b741e53c05ba37 /PKGBUILD | |
parent | 90974450c2a45b77039ddeb5ccec2fa3a34e5a7c (diff) | |
download | aur-956bd05623fef7b871ba9972efce9f99a540be68.tar.gz |
removed excessive flags
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -5,7 +5,7 @@ pkgname=r-mkl pkgver=3.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="Language and environment for statistical computing and graphics, linked with Intel's MKL." arch=('x86_64') license=('GPL') @@ -87,7 +87,7 @@ build() { if [ $_CC = "icc" ]; then source /opt/intel/composerxe/linux/bin/compilervars.sh ${_intel_arch} - _intel_cc_opt=" -O3 -qno-opt-matmul -xHost -m64 -parallel -mkl=parallel -qopenmp -ipo -fp-model precise -fp-model source -qopt-mem-layout-trans=2 -diag-disable=188,308" + _intel_cc_opt=" -O3 -qno-opt-matmul -xHost -m64 -qopenmp -ipo -fp-model precise -fp-model source -qopt-mem-layout-trans=2 -diag-disable=188,308" export MAIN_LDFLAGS=" -qopenmp" export FLIBS=" -lgfortran" @@ -96,7 +96,6 @@ build() { -lmkl_intel_thread \ -lmkl_core \ -liomp5 \ - -limf \ -lsvml \ -lirc \ -lunwind \ @@ -127,7 +126,6 @@ build() { -lmkl_core \ -liomp5 \ -lpthread \ - -limf \ -lm \ -ldl" @@ -152,6 +150,9 @@ build() { --enable-R-shlib \ LIBnn=lib + # Place Intel's basic math library prior to GLIBC libm + sed -i "s/\(^\| \)-lm\( \|$\)/\1-limf -lm\2/g" {./,etc/}Makeconf + # Build the package make |