diff options
author | Kurt Kanzenbach <kurt@kmk-computers.de> | 2020-03-26 16:32:56 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-03-28 16:21:16 +0200 |
commit | 970a27005ddce247961dbe9e6e215158c9985be9 (patch) | |
tree | 7759b02828cc1e95783e5a0d2f1d2304ddea2c21 /sci-libs/libgeodecomp | |
parent | net-libs/tox: bump to version 0.2.11 (diff) | |
download | gentoo-970a27005ddce247961dbe9e6e215158c9985be9.tar.gz gentoo-970a27005ddce247961dbe9e6e215158c9985be9.tar.bz2 gentoo-970a27005ddce247961dbe9e6e215158c9985be9.zip |
sci-libs/libgeodecomp: Drop old
Reason: It's quite old and would require to maintain lots of other old libraries
versions of cuda, hpx, libflatarray...
I'd recommend to use the pre 0.5.0 version to get all the newest features
anyway.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sci-libs/libgeodecomp')
6 files changed, 0 insertions, 388 deletions
diff --git a/sci-libs/libgeodecomp/Manifest b/sci-libs/libgeodecomp/Manifest index a74db5cd610b..b0aab143193e 100644 --- a/sci-libs/libgeodecomp/Manifest +++ b/sci-libs/libgeodecomp/Manifest @@ -1,2 +1 @@ -DIST libgeodecomp-0.4.0.tar.bz2 766090 BLAKE2B 2abc5d10371fbad92f957118cabd656f0b4938d5e102da6446851bd979debddaf5eba8a6321dffd32356a40ca12659d9a7a691929e71989e48a71e5177fedc51 SHA512 3ff1a45844e5879662012cb4bae5d577f30ee71094ed4063b535b0ac3da900f34a1bc25be524c006ff91e0edd665e46cbb6cfc0db7966eebfea30f9fee6eeddb DIST libgeodecomp-0.5.0_pre20200314.tar.gz 1506929 BLAKE2B 078a0d3384963b0d3b5e5885d794b4feb6493ab3c4d4df068c300769f6bd8ee1d695accec0f4a702b218d725cc68889450d7d4fbddd495387e75a6804bbd8de9 SHA512 5bc23ce68d91d3cb8ec753a09efc4d7c46aab3c307c529f2f2e09593d14bcb027532aeea32ba99ce524cc6dfb248e983a040f482a47784f5da6fb07aac06a859 diff --git a/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-boost.patch b/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-boost.patch deleted file mode 100644 index d706950af59b..000000000000 --- a/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-boost.patch +++ /dev/null @@ -1,92 +0,0 @@ -From f964fc68b745cc200a1df9e442a2dd8e908f0248 Mon Sep 17 00:00:00 2001 -From: Kurt Kanzenbach <kurt@kmk-computers.de> -Date: Sun, 8 Mar 2020 10:53:53 +0100 -Subject: [PATCH] cmake: Disable use of HPX boost libraries - -First of all the wrong variables are referenced. Second HPX doesn't include -date_time which is needed by the tracing writer. So that does not work. - -Use the system boost libraries. - -Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de> ---- - src/CMakeLists.txt | 60 +++++++++++++++++----------------------------- - 1 file changed, 22 insertions(+), 38 deletions(-) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 2870446108d0..f1a15abb0161 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -2,47 +2,31 @@ - - find_package(HPX) - --if(NOT HPX_FOUND) -- if(NOT DEFINED BOOST_ROOT) -- # deduce Boost location from environment (e.g. on woody.rrze.uni-erlangen.de) -- set(BOOST_ENV_LIBDIR "$ENV{BOOST_LIBDIR}") -- if(BOOST_ENV_LIBDIR) -- set(Boost_NO_SYSTEM_PATHS true) -- set(BOOST_ROOT "$ENV{BOOST_LIBDIR}/../") -- set(Boost_LIBRARY_DIRS "$ENV{BOOST_LIBDIR}") -- set(Boost_INCLUDE_DIR "$ENV{BOOST_INCDIR}") -- endif() -+if(NOT DEFINED BOOST_ROOT) -+ # deduce Boost location from environment (e.g. on woody.rrze.uni-erlangen.de) -+ set(BOOST_ENV_LIBDIR "$ENV{BOOST_LIBDIR}") -+ if(BOOST_ENV_LIBDIR) -+ set(Boost_NO_SYSTEM_PATHS true) -+ set(BOOST_ROOT "$ENV{BOOST_LIBDIR}/../") -+ set(Boost_LIBRARY_DIRS "$ENV{BOOST_LIBDIR}") -+ set(Boost_INCLUDE_DIR "$ENV{BOOST_INCDIR}") - endif() -- -- # mandatory Boost libs go into the first line, optional ones into -- # their own call. This avoids leaving out any available lib during -- # link time. The reason for this ugly multi-stage discovery is the -- # following: since CMAKE 2.8.11 each call to find_package(Boost...) -- # will reset Boost_LIBRARIES. -- find_package(Boost REQUIRED COMPONENTS date_time filesystem system) -- set(ALL_BOOST_LIBS "${Boost_LIBRARIES}") -- find_package(Boost COMPONENTS serialization) -- set(ALL_BOOST_LIBS "${ALL_BOOST_LIBS};${Boost_LIBRARIES}") -- find_package(Boost COMPONENTS thread) -- set(ALL_BOOST_LIBS "${ALL_BOOST_LIBS};${Boost_LIBRARIES}") -- find_package(Boost COMPONENTS move) -- set(ALL_BOOST_LIBS "${ALL_BOOST_LIBS};${Boost_LIBRARIES}") --else() -- # If HPX was found, we use the Boost libraries found by HPX -- set(ALL_BOOST_LIBS -- ${HPX_BOOST_DATE_TIME_LIBRARY} -- ${HPX_BOOST_FILESYSTEM_LIBRARY} -- ${HPX_BOOST_SYSTEM_LIBRARY} -- ${HPX_BOOST_SERIALIZATION_LIBRARY} -- ${HPX_BOOST_THREAD_LIBRARY} -- ) -- set(Boost_DATE_TIME_FOUND true) -- set(Boost_FILESYSTEM_FOUND true) -- set(Boost_SYSTEM_FOUND true) -- set(Boost_SERIALIZATION_FOUND true) -- set(Boost_THREAD_FOUND true) - endif() - -+# mandatory Boost libs go into the first line, optional ones into -+# their own call. This avoids leaving out any available lib during -+# link time. The reason for this ugly multi-stage discovery is the -+# following: since CMAKE 2.8.11 each call to find_package(Boost...) -+# will reset Boost_LIBRARIES. -+find_package(Boost REQUIRED COMPONENTS date_time filesystem system) -+set(ALL_BOOST_LIBS "${Boost_LIBRARIES}") -+find_package(Boost COMPONENTS serialization) -+set(ALL_BOOST_LIBS "${ALL_BOOST_LIBS};${Boost_LIBRARIES}") -+find_package(Boost COMPONENTS thread) -+set(ALL_BOOST_LIBS "${ALL_BOOST_LIBS};${Boost_LIBRARIES}") -+find_package(Boost COMPONENTS move) -+set(ALL_BOOST_LIBS "${ALL_BOOST_LIBS};${Boost_LIBRARIES}") -+ - find_package(Boost COMPONENTS mpi) - set(Boost_MPI_LIBRARIES "${Boost_LIBRARIES}") - --- -2.24.1 - diff --git a/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-lfa.patch b/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-lfa.patch deleted file mode 100644 index 463d416b3bf6..000000000000 --- a/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-lfa.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 673017f0..28704461 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -528,18 +528,20 @@ foreach(dir ${LIBDIRS}) - endforeach(dir) - - # install libflatarray, too --file(GLOB HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/../lib/libflatarray/src/*.hpp") --foreach(i ${HEADERS}) -- install(FILES ${i} DESTINATION include/libflatarray) --endforeach() --file(GLOB HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/../lib/libflatarray/src/detail/*.hpp") --foreach(i ${HEADERS}) -- install(FILES ${i} DESTINATION include/libflatarray/detail) --endforeach() --file(GLOB HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/../lib/libflatarray/src/testbed/*.hpp") --foreach(i ${HEADERS}) -- install(FILES ${i} DESTINATION include/libflatarray/testbed) --endforeach() -+if(NOT libflatarray_FOUND) -+ file(GLOB HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/../lib/libflatarray/src/*.hpp") -+ foreach(i ${HEADERS}) -+ install(FILES ${i} DESTINATION include/libflatarray) -+ endforeach() -+ file(GLOB HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/../lib/libflatarray/src/detail/*.hpp") -+ foreach(i ${HEADERS}) -+ install(FILES ${i} DESTINATION include/libflatarray/detail) -+ endforeach() -+ file(GLOB HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/../lib/libflatarray/src/testbed/*.hpp") -+ foreach(i ${HEADERS}) -+ install(FILES ${i} DESTINATION include/libflatarray/testbed) -+ endforeach() -+endif() - - # link against the libs we need - set(INSTALLER_LINK_FLAGS "-L${CMAKE_INSTALL_PREFIX}/${LIB_DIR} -Wl,-rpath,${CMAKE_INSTALL_PREFIX}/${LIB_DIR} -lgeodecomp ") diff --git a/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-libdir.patch b/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-libdir.patch deleted file mode 100644 index 39da128feff8..000000000000 --- a/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-libdir.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 0666f1d..673017f 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -509,11 +509,12 @@ endif() - target_link_libraries(geodecomp ${LIBGEODECOMP_LINK_LIBRARIES}) - - #============= 10. INSTALLER CONFIG ================================== -+include(GNUInstallDirs) - install( - TARGETS geodecomp - EXPORT ${PACKAGE_NAME}-targets -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib) -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) - - install(FILES "${CMAKE_BINARY_DIR}/${PACKAGE_NAME}/config.h" DESTINATION include/${PACKAGE_NAME}) - install(FILES libgeodecomp.h DESTINATION include) diff --git a/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-scotch.patch b/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-scotch.patch deleted file mode 100644 index 774293f34c4a..000000000000 --- a/sci-libs/libgeodecomp/files/libgeodecomp-0.4.0-scotch.patch +++ /dev/null @@ -1,163 +0,0 @@ -diff --git a/CMakeModules/FindSCOTCH.cmake b/CMakeModules/FindSCOTCH.cmake -index 9f22b8d..0755470 100644 ---- a/CMakeModules/FindSCOTCH.cmake -+++ b/CMakeModules/FindSCOTCH.cmake -@@ -232,81 +232,83 @@ int main() { - ") - - message(STATUS "Performing test SCOTCH_TEST_RUNS") -- try_run( -- SCOTCH_TEST_LIB_EXITCODE -- SCOTCH_TEST_LIB_COMPILED -- ${CMAKE_CURRENT_BINARY_DIR} -- ${SCOTCH_TEST_LIB_CPP} -- CMAKE_FLAGS -- "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}" -- "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}" -- COMPILE_OUTPUT_VARIABLE SCOTCH_TEST_LIB_COMPILE_OUTPUT -- RUN_OUTPUT_VARIABLE SCOTCH_TEST_LIB_OUTPUT -- ) -- -- if (SCOTCH_TEST_LIB_COMPILED AND SCOTCH_TEST_LIB_EXITCODE EQUAL 0) -- message(STATUS "Performing test SCOTCH_TEST_RUNS - Success") -- set(SCOTCH_TEST_RUNS TRUE) -- else() -- message(STATUS "Performing test SCOTCH_TEST_RUNS - Failed") -- if (SCOTCH_DEBUG) -- # Output some variables -- message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -- "SCOTCH_TEST_LIB_COMPILED = ${SCOTCH_TEST_LIB_COMPILED}") -- message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -- "SCOTCH_TEST_LIB_COMPILE_OUTPUT = ${SCOTCH_TEST_LIB_COMPILE_OUTPUT}") -- message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -- "SCOTCH_TEST_LIB_EXITCODE = ${SCOTCH_TEST_LIB_EXITCODE}") -- message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -- "SCOTCH_TEST_LIB_OUTPUT = ${SCOTCH_TEST_LIB_OUTPUT}") -- endif() -- endif() -- -- # If program does not run, try adding zlib library and test again -- if(NOT SCOTCH_TEST_RUNS) -- if (NOT ZLIB_FOUND) -- find_package(ZLIB) -- endif() -- -- if (ZLIB_INCLUDE_DIRS AND ZLIB_LIBRARIES) -- set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${ZLIB_INCLUDE_DIRS}) -- set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${ZLIB_LIBRARIES}) -- -- message(STATUS "Performing test SCOTCH_ZLIB_TEST_RUNS") -- try_run( -- SCOTCH_ZLIB_TEST_LIB_EXITCODE -- SCOTCH_ZLIB_TEST_LIB_COMPILED -- ${CMAKE_CURRENT_BINARY_DIR} -- ${SCOTCH_TEST_LIB_CPP} -- CMAKE_FLAGS -- "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}" -- "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}" -- COMPILE_OUTPUT_VARIABLE SCOTCH_ZLIB_TEST_LIB_COMPILE_OUTPUT -- RUN_OUTPUT_VARIABLE SCOTCH_ZLIB_TEST_LIB_OUTPUT -- ) -- -- # Add zlib flags if required and set test run to 'true' -- if (SCOTCH_ZLIB_TEST_LIB_COMPILED AND SCOTCH_ZLIB_TEST_LIB_EXITCODE EQUAL 0) -- message(STATUS "Performing test SCOTCH_ZLIB_TEST_RUNS - Success") -- set(SCOTCH_INCLUDE_DIRS ${SCOTCH_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIRS}) -- set(SCOTCH_LIBRARIES ${SCOTCH_LIBRARIES} ${ZLIB_LIBRARIES}) -- set(SCOTCH_TEST_RUNS TRUE) -- else() -- message(STATUS "Performing test SCOTCH_ZLIB_TEST_RUNS - Failed") -- if (SCOTCH_DEBUG) -- message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -- "SCOTCH_ZLIB_TEST_LIB_COMPILED = ${SCOTCH_ZLIB_TEST_LIB_COMPILED}") -- message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -- "SCOTCH_ZLIB_TEST_LIB_COMPILE_OUTPUT = ${SCOTCH_ZLIB_TEST_LIB_COMPILE_OUTPUT}") -- message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -- "SCOTCH_TEST_LIB_EXITCODE = ${SCOTCH_TEST_LIB_EXITCODE}") -- message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -- "SCOTCH_TEST_LIB_OUTPUT = ${SCOTCH_TEST_LIB_OUTPUT}") -- endif() -- endif() -- -- endif() -- endif() -+ set(SCOTCH_TEST_RUNS FALSE) -+ message(STATUS "Performing test SCOTCH_TEST_RUNS - Failed") -+ # try_run( -+ # SCOTCH_TEST_LIB_EXITCODE -+ # SCOTCH_TEST_LIB_COMPILED -+ # ${CMAKE_CURRENT_BINARY_DIR} -+ # ${SCOTCH_TEST_LIB_CPP} -+ # CMAKE_FLAGS -+ # "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}" -+ # "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}" -+ # COMPILE_OUTPUT_VARIABLE SCOTCH_TEST_LIB_COMPILE_OUTPUT -+ # RUN_OUTPUT_VARIABLE SCOTCH_TEST_LIB_OUTPUT -+ # ) -+ -+ # if (SCOTCH_TEST_LIB_COMPILED AND SCOTCH_TEST_LIB_EXITCODE EQUAL 0) -+ # message(STATUS "Performing test SCOTCH_TEST_RUNS - Success") -+ # set(SCOTCH_TEST_RUNS TRUE) -+ # else() -+ # message(STATUS "Performing test SCOTCH_TEST_RUNS - Failed") -+ # if (SCOTCH_DEBUG) -+ # # Output some variables -+ # message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -+ # "SCOTCH_TEST_LIB_COMPILED = ${SCOTCH_TEST_LIB_COMPILED}") -+ # message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -+ # "SCOTCH_TEST_LIB_COMPILE_OUTPUT = ${SCOTCH_TEST_LIB_COMPILE_OUTPUT}") -+ # message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -+ # "SCOTCH_TEST_LIB_EXITCODE = ${SCOTCH_TEST_LIB_EXITCODE}") -+ # message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -+ # "SCOTCH_TEST_LIB_OUTPUT = ${SCOTCH_TEST_LIB_OUTPUT}") -+ # endif() -+ # endif() -+ -+ # # If program does not run, try adding zlib library and test again -+ # if(NOT SCOTCH_TEST_RUNS) -+ # if (NOT ZLIB_FOUND) -+ # find_package(ZLIB) -+ # endif() -+ -+ # if (ZLIB_INCLUDE_DIRS AND ZLIB_LIBRARIES) -+ # set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${ZLIB_INCLUDE_DIRS}) -+ # set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${ZLIB_LIBRARIES}) -+ -+ # message(STATUS "Performing test SCOTCH_ZLIB_TEST_RUNS") -+ # try_run( -+ # SCOTCH_ZLIB_TEST_LIB_EXITCODE -+ # SCOTCH_ZLIB_TEST_LIB_COMPILED -+ # ${CMAKE_CURRENT_BINARY_DIR} -+ # ${SCOTCH_TEST_LIB_CPP} -+ # CMAKE_FLAGS -+ # "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}" -+ # "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}" -+ # COMPILE_OUTPUT_VARIABLE SCOTCH_ZLIB_TEST_LIB_COMPILE_OUTPUT -+ # RUN_OUTPUT_VARIABLE SCOTCH_ZLIB_TEST_LIB_OUTPUT -+ # ) -+ -+ # # Add zlib flags if required and set test run to 'true' -+ # if (SCOTCH_ZLIB_TEST_LIB_COMPILED AND SCOTCH_ZLIB_TEST_LIB_EXITCODE EQUAL 0) -+ # message(STATUS "Performing test SCOTCH_ZLIB_TEST_RUNS - Success") -+ # set(SCOTCH_INCLUDE_DIRS ${SCOTCH_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIRS}) -+ # set(SCOTCH_LIBRARIES ${SCOTCH_LIBRARIES} ${ZLIB_LIBRARIES}) -+ # set(SCOTCH_TEST_RUNS TRUE) -+ # else() -+ # message(STATUS "Performing test SCOTCH_ZLIB_TEST_RUNS - Failed") -+ # if (SCOTCH_DEBUG) -+ # message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -+ # "SCOTCH_ZLIB_TEST_LIB_COMPILED = ${SCOTCH_ZLIB_TEST_LIB_COMPILED}") -+ # message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -+ # "SCOTCH_ZLIB_TEST_LIB_COMPILE_OUTPUT = ${SCOTCH_ZLIB_TEST_LIB_COMPILE_OUTPUT}") -+ # message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -+ # "SCOTCH_TEST_LIB_EXITCODE = ${SCOTCH_TEST_LIB_EXITCODE}") -+ # message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " -+ # "SCOTCH_TEST_LIB_OUTPUT = ${SCOTCH_TEST_LIB_OUTPUT}") -+ # endif() -+ # endif() -+ -+ # endif() -+ # endif() - endif() - endif() - diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.4.0-r1.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.4.0-r1.ebuild deleted file mode 100644 index d1c5b3229341..000000000000 --- a/sci-libs/libgeodecomp/libgeodecomp-0.4.0-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake cuda - -DESCRIPTION="An auto-parallelizing library to speed up computer simulations" -HOMEPAGE=" - http://www.libgeodecomp.org - https://github.com/STEllAR-GROUP/libgeodecomp" -SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2" - -SLOT="0" -LICENSE="Boost-1.0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="cuda doc hpx mpi opencl opencv silo" - -BDEPEND=" - doc? ( - app-doc/doxygen - app-text/texlive - media-gfx/graphviz - )" -RDEPEND="dev-libs/boost" -DEPEND="${RDEPEND} - <dev-libs/libflatarray-0.3.0 - cuda? ( dev-util/nvidia-cuda-toolkit ) - hpx? ( sys-cluster/hpx ) - mpi? ( virtual/mpi ) - opencl? ( virtual/opencl ) - opencv? ( media-libs/opencv ) - silo? ( sci-libs/silo )" - -S="${WORKDIR}/${P}" -PATCHES=( - "${FILESDIR}/${P}-scotch.patch" - "${FILESDIR}/${P}-libdir.patch" - "${FILESDIR}/${P}-lfa.patch" - "${FILESDIR}/${P}-boost.patch" -) - -src_prepare() { - cmake_src_prepare - use cuda && cuda_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DWITH_CUDA=$(usex cuda) - -DWITH_HPX=$(usex hpx) - -DWITH_MPI=$(usex mpi) - -DWITH_OPENCL=$(usex opencl) - -DWITH_OPENCV=$(usex opencv) - -DWITH_SCOTCH=false - -DWITH_SILO=$(usex silo) - -DWITH_TYPEMAPS=false - -DWITH_VISIT=false - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - use doc && cmake_build doc -} - -src_install() { - DOCS=( README ) - use doc && HTML_DOCS=( doc/html/* ) - cmake_src_install -} - -src_test() { - cmake_build check -} |