summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2016-09-29 21:50:22 -0500
committerMatthias Maier <tamiko@gentoo.org>2016-09-29 21:55:17 -0500
commit150a8c1ca0830ab41b9a33075f8eac102cfe9421 (patch)
tree79b28b1eb9e8e85ba48c785adc7b68cf4a43f502 /sci-libs
parentvirtual/cblas: add version 3.6 that requires cblas-reference of at least 2015... (diff)
downloadgentoo-150a8c1ca0830ab41b9a33075f8eac102cfe9421.tar.gz
gentoo-150a8c1ca0830ab41b9a33075f8eac102cfe9421.tar.bz2
gentoo-150a8c1ca0830ab41b9a33075f8eac102cfe9421.zip
sci-libs/blas-reference: ebuild maintenance, cleanup
Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/blas-reference/blas-reference-20151113-r1.ebuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild b/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
index d5c4ac3829a5..afa3c5bf4c3a 100644
--- a/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
+++ b/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
@@ -42,15 +42,10 @@ src_prepare() {
}
src_configure() {
- local FCFLAGS="${FCFLAGS}"
- append-fflags $($(tc-getPKG_CONFIG) --cflags ${blas_profname})
- append-fflags $(get_abi_CFLAGS)
- append-fflags $(numeric-int64_get_fortran_int64_abi_fflags)
-
local mycmakeargs=(
-Wno-dev
-DUSE_OPTIMIZED_BLAS=OFF
- -DCMAKE_Fortran_FLAGS="${FCFLAGS}"
+ -DCMAKE_Fortran_FLAGS="$(get_abi_CFLAGS) ${FCFLAGS}"
-DBUILD_SHARED_LIBS=ON
-DBUILD_STATIC_LIBS=ON
)
@@ -59,10 +54,7 @@ src_configure() {
}
src_compile() {
- local each target_dirs=( BLAS )
- for each in ${target_dirs[@]}; do
- cmake-utils_src_compile -C ${each}
- done
+ cmake-utils_src_compile -C BLAS
}
src_install() {