summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-01-17 12:50:59 +0100
committerDavid Seifert <soap@gentoo.org>2021-01-17 12:50:59 +0100
commite3cab8953ca34974d998682595020badf0540623 (patch)
treeb2a746792956b585e788a04e14ee0a29433172f7 /sci-libs/scalapack
parentsci-libs/mathgl: Remove old (diff)
downloadgentoo-e3cab8953ca34974d998682595020badf0540623.tar.gz
gentoo-e3cab8953ca34974d998682595020badf0540623.tar.bz2
gentoo-e3cab8953ca34974d998682595020badf0540623.zip
sci-libs/scalapack: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/scalapack')
-rw-r--r--sci-libs/scalapack/Manifest1
-rw-r--r--sci-libs/scalapack/files/scalapack-2.0.2-libdir.patch45
-rw-r--r--sci-libs/scalapack/scalapack-2.0.2-r1.ebuild70
3 files changed, 0 insertions, 116 deletions
diff --git a/sci-libs/scalapack/Manifest b/sci-libs/scalapack/Manifest
index a0cbd514cbc4..7d24374ac476 100644
--- a/sci-libs/scalapack/Manifest
+++ b/sci-libs/scalapack/Manifest
@@ -1,3 +1,2 @@
-DIST scalapack-2.0.2.tgz 4779534 BLAKE2B c2aabd87bc8f7c0d9af31bd8ad8c933703dcbba399658d15c1e5256da2350c1a0feac2ca4a205f697b1c48083df89cbcd64ba432da036081c0f33d5d2acddc9b SHA512 92c71d3de0900955511c527ab3ca57ff69d6d9edc390e69f93ac3769d32ce83a714326bcb6218c8c74b8874be2fdc8aad5e42c912a12581e8d4ce8829ea39248
DIST scalapack-2.1.0-gcc10.patch 231026 BLAKE2B dacecca8307cd2bf7a20e6453fb17bc1f5a3f2926b6d8f3b89f7f8d34993368574804f0427f228de4525f2b2d73105de561588ba5a4d2fb609d5ed035f51ddc9 SHA512 a11057599639c167e907f8e4d45204174fd326e2ffb9e2d05533db23d8e2dd8cfc1d37f06d5502baa3d5714092fbf4638cf4d9fea84ca9d4fb150e21cc57861e
DIST scalapack-2.1.0.tgz 5307441 BLAKE2B 4aea055fc3e437bce7108d1555e93c50109bcfe84354903fd711509eedbe686349fda4030e2fa70faf1a9e7e3255e46e48c32b96a2916af6812b8aebceb750c2 SHA512 0e77fb535ebcc28e2d97499ef4bd5161f76ca0ba4a3e308c26ce5071cfc4be4f3814262f3fb38f378ce0b5b31c0913432fea00a1e9e3f7717b853d1182bdf5b4
diff --git a/sci-libs/scalapack/files/scalapack-2.0.2-libdir.patch b/sci-libs/scalapack/files/scalapack-2.0.2-libdir.patch
deleted file mode 100644
index a1604a8fd856..000000000000
--- a/sci-libs/scalapack/files/scalapack-2.0.2-libdir.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- a/CMakeLists.txt 2012-05-02 05:58:24.000000000 +0200
-+++ b/CMakeLists.txt 2018-10-15 23:57:22.716171671 +0200
-@@ -101,8 +101,8 @@
- # Organize output files. On Windows this also keeps .dll files next
- # to the .exe files that need them, making tests easy to run.
- set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${SCALAPACK_BINARY_DIR}/TESTING)
--set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${SCALAPACK_BINARY_DIR}/lib)
--set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${SCALAPACK_BINARY_DIR}/lib)
-+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${SCALAPACK_BINARY_DIR}/lib${LIB_SUFFIX})
-+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${SCALAPACK_BINARY_DIR}/lib${LIB_SUFFIX})
-
- # --------------------------------------------------
- # Check for any necessary platform specific compiler flags
-@@ -163,8 +163,8 @@
- PREFIX ${SCALAPACK_BINARY_DIR}/dependencies
- )
- if (UNIX)
-- SET(LAPACK_LIBRARIES ${SCALAPACK_BINARY_DIR}/lib/liblapack.a CACHE STRING "LAPACK library" FORCE)
-- SET(BLAS_LIBRARIES ${SCALAPACK_BINARY_DIR}/lib/libblas.a CACHE STRING "BLAS library" FORCE)
-+ SET(LAPACK_LIBRARIES ${SCALAPACK_BINARY_DIR}/lib${LIB_SUFFIX}/liblapack.a CACHE STRING "LAPACK library" FORCE)
-+ SET(BLAS_LIBRARIES ${SCALAPACK_BINARY_DIR}/lib${LIB_SUFFIX}/libblas.a CACHE STRING "BLAS library" FORCE)
- else (UNIX) # On Windows
- SET(LAPACK_LIBRARIES ${SCALAPACK_BINARY_DIR}/lib/liblapack.lib CACHE STRING "LAPACK library" FORCE)
- SET(BLAS_LIBRARIES ${SCALAPACK_BINARY_DIR}/lib/libblas.lib CACHE STRING "BLAS library" FORCE)
-@@ -283,7 +283,7 @@
- if( NOT LAPACK_FOUND )
- install(FILES
- ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES}
-- DESTINATION lib
-+ DESTINATION lib${LIB_SUFFIX}
- )
- endif( NOT LAPACK_FOUND )
-
-@@ -303,9 +303,9 @@
- install(FILES
- ${SCALAPACK_BINARY_DIR}/CMakeFiles/scalapack-config.cmake
- ${SCALAPACK_BINARY_DIR}/scalapack-config-version.cmake
-- DESTINATION lib/cmake/scalapack-${SCALAPACK_VERSION}
-+ DESTINATION lib${LIB_SUFFIX}/cmake/scalapack-${SCALAPACK_VERSION}
- )
-
- install(EXPORT scalapack-targets
-- DESTINATION lib/cmake/scalapack-${SCALAPACK_VERSION})
-+ DESTINATION lib${LIB_SUFFIX}/cmake/scalapack-${SCALAPACK_VERSION})
-
diff --git a/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild b/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
deleted file mode 100644
index 7f9fbd15720e..000000000000
--- a/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils fortran-2 toolchain-funcs
-
-DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous (MPI) computing"
-HOMEPAGE="https://www.netlib.org/scalapack/"
-SRC_URI="https://www.netlib.org/scalapack/${P}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- virtual/lapack
- virtual/mpi"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}/${P}-libdir.patch" )
-
-src_prepare() {
- cmake-utils_src_prepare
-
- if use static-libs; then
- mkdir "${WORKDIR}/${PN}_static" || die
- fi
- # mpi does not have a pc file
- sed -i -e 's/mpi//' scalapack.pc.in || die
-}
-
-src_configure() {
- scalapack_configure() {
- local mycmakeargs=(
- -DUSE_OPTIMIZED_LAPACK_BLAS=ON
- -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
- -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
- -DBUILD_TESTING=$(usex test)
- $@
- )
- cmake-utils_src_configure
- }
-
- scalapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
- use static-libs && \
- CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" scalapack_configure \
- -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
-}
-
-src_compile() {
- cmake-utils_src_compile
- use static-libs && \
- CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- use static-libs && \
- CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install
-
- insinto /usr/include/blacs
- doins BLACS/SRC/*.h
-
- insinto /usr/include/scalapack
- doins PBLAS/SRC/*.h
-}