diff options
author | Johannes Huber <johu@gentoo.org> | 2017-01-31 21:22:11 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2017-01-31 21:22:27 +0100 |
commit | afc99f9524accd18a522c3ff47a40472a79d25b6 (patch) | |
tree | 67eaebb734d4c15f44059a6d7d2fcea8d7209fa1 /sci-libs/clapack/files | |
parent | dev-db/etcd: version bump to 3.0.17 (diff) | |
download | gentoo-afc99f9524accd18a522c3ff47a40472a79d25b6.tar.gz gentoo-afc99f9524accd18a522c3ff47a40472a79d25b6.tar.bz2 gentoo-afc99f9524accd18a522c3ff47a40472a79d25b6.zip |
sci-libs/clapack: Remove 3.2.1-r6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-libs/clapack/files')
-rw-r--r-- | sci-libs/clapack/files/clapack-3.2.1-findblas-r6.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/sci-libs/clapack/files/clapack-3.2.1-findblas-r6.patch b/sci-libs/clapack/files/clapack-3.2.1-findblas-r6.patch deleted file mode 100644 index 028dec609dd8..000000000000 --- a/sci-libs/clapack/files/clapack-3.2.1-findblas-r6.patch +++ /dev/null @@ -1,50 +0,0 @@ -diff -ruN clapack-3.2.1-CMAKE.1.allexfb/CMakeLists.txt clapack-3.2.1-CMAKE/CMakeLists.txt ---- clapack-3.2.1-CMAKE.1.allexfb/CMakeLists.txt 2011-06-19 22:13:27.000000000 +0200 -+++ clapack-3.2.1-CMAKE/CMakeLists.txt 2011-06-19 22:23:14.000000000 +0200 -@@ -30,6 +30,29 @@ - - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") - -+if(BLAS_LIBRARIES) -+ include(CheckFortranFunctionExists) -+ set(CMAKE_REQUIRED_LIBRARIES ${BLAS_LIBRARIES}) -+ CHECK_FORTRAN_FUNCTION_EXISTS("dgemm" BLAS_FOUND) -+ unset( CMAKE_REQUIRED_LIBRARIES ) -+ if(BLAS_FOUND) -+ message(STATUS "--> BLAS supplied by user is WORKING, will use ${BLAS_LIBRARIES}.") -+ else(BLAS_FOUND) -+ message(ERROR "--> BLAS supplied by user is not WORKING, CANNOT USE ${BLAS_LIBRARIES}.") -+ message(ERROR "--> Will use REFERENCE BLAS (by default)") -+ message(ERROR "--> Or Correct your BLAS_LIBRARIES entry ") -+ message(ERROR "--> Or Consider checking USE_OPTIMIZED_BLAS") -+ endif(BLAS_FOUND) -+else(BLAS_LIBRARIES) -+ # User did not provide a BLAS Library -+ find_package(PkgConfig) -+ pkg_check_modules(BLAS blas) -+endif (BLAS_LIBRARIES) -+ -+if(NOT BLAS_FOUND) -+ message(FATAL_ERROR "--> BLAS libraries needed but not found.") -+endif(NOT BLAS_FOUND) -+ - add_subdirectory(SRC) - - if(ENABLE_TESTS) -@@ -44,4 +67,3 @@ - ${CLAPACK_BINARY_DIR}/clapack-config-version.cmake @ONLY) - configure_file(${CLAPACK_SOURCE_DIR}/clapack-config.cmake.in - ${CLAPACK_BINARY_DIR}/clapack-config.cmake @ONLY) -- -diff -ruN clapack-3.2.1-CMAKE.1.allexfb/SRC/CMakeLists.txt clapack-3.2.1-CMAKE/SRC/CMakeLists.txt ---- clapack-3.2.1-CMAKE.1.allexfb/SRC/CMakeLists.txt 2011-06-19 22:13:44.000000000 +0200 -+++ clapack-3.2.1-CMAKE/SRC/CMakeLists.txt 2011-06-19 22:15:04.000000000 +0200 -@@ -380,7 +380,7 @@ - endif() - - add_library(clapack SHARED ${ALLOBJ} ${ALLXOBJ}) --target_link_libraries(clapack blas f2c m) -+target_link_libraries(clapack ${BLAS_LIBRARIES} f2c m) - set_target_properties(clapack PROPERTIES SOVERSION "${CLAPACK_VERSION}") - - install( |