diff options
author | Benda Xu <heroxbd@gentoo.org> | 2019-08-08 08:54:40 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2019-08-08 09:20:00 +0800 |
commit | e105f0f6a215d6fd15b58cb8a669e3f119c12169 (patch) | |
tree | f65746ca51ff785cfe6ba8b9aa9bdd38df0cbd8c /sci-libs/blas-reference/blas-reference-99999999.ebuild | |
parent | sci-mathematics/petsc: merge into ::gentoo and remove from overlay. (diff) | |
download | sci-e105f0f6a215d6fd15b58cb8a669e3f119c12169.tar.gz sci-e105f0f6a215d6fd15b58cb8a669e3f119c12169.tar.bz2 sci-e105f0f6a215d6fd15b58cb8a669e3f119c12169.zip |
virtual/{{c,}blas,lapack{,e}}: replaced by counterparts in ::gentoo.
sci-libs/{{c,}blas,lapack{,e}}-reference: Remove.
Remove BLAS/LAPACK migration scripts.
Remove outdated documentation on BLAS/LAPACK.
Update README.md to point to the new framework in ::gentoo.
Reference: https://wiki.gentoo.org/wiki/Blas-lapack-switch
Closes: https://github.com/gentoo/sci/issues/805
Closes: https://github.com/gentoo/sci/issues/926
Closes: https://github.com/gentoo/sci/issues/734
Closes: https://github.com/gentoo/sci/issues/897
Closes: https://github.com/gentoo/sci/issues/925
Package-Manager: Portage-2.3.69, Repoman-2.3.12
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sci-libs/blas-reference/blas-reference-99999999.ebuild')
-rw-r--r-- | sci-libs/blas-reference/blas-reference-99999999.ebuild | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/sci-libs/blas-reference/blas-reference-99999999.ebuild b/sci-libs/blas-reference/blas-reference-99999999.ebuild deleted file mode 100644 index 71b81ca97..000000000 --- a/sci-libs/blas-reference/blas-reference-99999999.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -NUMERIC_MODULE_NAME="refblas" - -inherit alternatives-2 cmake-utils fortran-2 numeric-int64-multibuild python-any-r1 toolchain-funcs subversion - -LPN=lapack -LPV=3.8.0 - -DESCRIPTION="Reference implementation of BLAS" -HOMEPAGE="http://www.netlib.org/lapack/" -ESVN_REPO_URI="https://icl.cs.utk.edu/svn/lapack-dev/${LPN}/trunk" - -LICENSE="BSD" -SLOT="0/${LPV}" -KEYWORDS="" -IUSE="static-libs test" - -REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="" -DEPEND="${RDEPEND} - test? ( ${PYTHON_DEPS} ) - virtual/pkgconfig" - -S="${WORKDIR}/${LPN}-${LPV}" - -src_prepare() { - cmake-utils_src_prepare - # rename library to avoid collision with other blas implementations - # ${LIBNAME} and ${PROFNAME} are not defined here, they are in single - # quotes in the following seds. They are later set by defining cmake - # variables with -DPROFNAME etc in src_configure - sed -i \ - -e 's:\([^xc]\)blas:\1${LIBNAME}:g' \ - -e '/PROPERTIES/s:blas:${LIBNAME}:g' \ - CMakeLists.txt \ - BLAS/SRC/CMakeLists.txt || die - sed -i \ - -e '/Name: /s:blas:${PROFNAME}:' \ - -e 's:-lblas:-l${LIBNAME}:g' \ - BLAS/blas.pc.in || die - sed -i \ - -e 's:blas):${LIBNAME}):' \ - BLAS/TESTING/CMakeLists.txt || die - sed -i \ - -e 's:BINARY_DIR}/blas:BINARY_DIR}/${PROFNAME}:' \ - BLAS/CMakeLists.txt || die -} - -src_configure() { - blas_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 profname=$(numeric-int64_get_module_name) - local libname="${profname//-/_}" - - local mycmakeargs=( - -Wno-dev - -DPROFNAME="${profname}" - -DLIBNAME="${libname}" - -DUSE_OPTIMIZED_BLAS=OFF - -DCMAKE_Fortran_FLAGS="${FCFLAGS}" - -DLAPACK_PKGCONFIG_FFLAGS="$(numeric-int64_get_fortran_int64_abi_fflags)" - $(cmake-utils_use_build test TESTING) - ) - if $(numeric-int64_is_static_build); then - mycmakeargs+=( - -DBUILD_SHARED_LIBS=OFF - -DBUILD_STATIC_LIBS=ON - ) - else - mycmakeargs+=( - -DBUILD_SHARED_LIBS=ON - -DBUILD_STATIC_LIBS=OFF - ) - fi - cmake-utils_src_configure - } - numeric-int64-multibuild_foreach_all_abi_variants blas_configure -} - -src_compile() { - local each target_dirs=( BLAS ) - use test && target_dirs+=( TESTING ) - for each in ${target_dirs[@]}; do - numeric-int64-multibuild_foreach_all_abi_variants \ - cmake-utils_src_compile -C ${each} - done - -} - -src_test() { - numeric-int64-multibuild_foreach_all_abi_variants cmake-utils_src_test -} - -src_install() { - numeric-int64-multibuild_foreach_all_abi_variants cmake-utils_src_install -C BLAS - numeric-int64-multibuild_install_alternative blas reference -} |