Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/clapack/, sci-libs/clapack/files/
Date: Sun, 29 Jan 2017 09:27:05
Message-Id: 1485681955.97cd40a0e43816fb6a6af0e5bc55769f6d459145.johu@gentoo
1 commit: 97cd40a0e43816fb6a6af0e5bc55769f6d459145
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 29 09:25:40 2017 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 09:25:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cd40a0
7
8 sci-libs/clapack: Remove 3.2.1 (r7)
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sci-libs/clapack/clapack-3.2.1-r7.ebuild | 41 ------------------
13 .../clapack/files/clapack-3.2.1-findblas.patch | 49 ----------------------
14 2 files changed, 90 deletions(-)
15
16 diff --git a/sci-libs/clapack/clapack-3.2.1-r7.ebuild b/sci-libs/clapack/clapack-3.2.1-r7.ebuild
17 deleted file mode 100644
18 index 4004c07..00000000
19 --- a/sci-libs/clapack/clapack-3.2.1-r7.ebuild
20 +++ /dev/null
21 @@ -1,41 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=5
27 -
28 -inherit flag-o-matic cmake-utils
29 -
30 -DESCRIPTION="f2c'ed version of LAPACK"
31 -HOMEPAGE="http://www.netlib.org/clapack/"
32 -SRC_URI="http://www.netlib.org/${PN}/${P}-CMAKE.tgz"
33 -
34 -LICENSE="BSD"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
37 -IUSE="test"
38 -
39 -RDEPEND="
40 - >=dev-libs/libf2c-20090407-r1
41 - virtual/blas"
42 -DEPEND="${RDEPEND}"
43 -
44 -S=${WORKDIR}/${P}-CMAKE
45 -
46 -PATCHES=(
47 - "${FILESDIR}/${P}-fix_include_file.patch"
48 - "${FILESDIR}/${P}-noblasf2c.patch"
49 - "${FILESDIR}/${P}-hang.patch"
50 - "${FILESDIR}/${P}-findblas-r7.patch"
51 -)
52 -
53 -# bug 433806
54 -RESTRICT="test"
55 -
56 -src_configure() {
57 - filter-flags -ftree-vectorize
58 - # causes an internal compiler error with gcc-4.6.2
59 -
60 - local mycmakeargs=( $(cmake-utils_use_enable test TESTS) )
61 - cmake-utils_src_configure
62 -}
63
64 diff --git a/sci-libs/clapack/files/clapack-3.2.1-findblas.patch b/sci-libs/clapack/files/clapack-3.2.1-findblas.patch
65 deleted file mode 100644
66 index e2744f8..00000000
67 --- a/sci-libs/clapack/files/clapack-3.2.1-findblas.patch
68 +++ /dev/null
69 @@ -1,49 +0,0 @@
70 -diff -ruN clapack-3.2.1-CMAKE.orig/CMakeLists.txt clapack-3.2.1-CMAKE/CMakeLists.txt
71 ---- clapack-3.2.1-CMAKE.orig/CMakeLists.txt 2011-06-17 23:01:05.275747599 +0200
72 -+++ clapack-3.2.1-CMAKE/CMakeLists.txt 2011-06-17 23:07:49.128747755 +0200
73 -@@ -30,6 +30,28 @@
74 -
75 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
76 -
77 -+if(BLAS_LIBRARIES)
78 -+ include(CheckFortranFunctionExists)
79 -+ set(CMAKE_REQUIRED_LIBRARIES ${BLAS_LIBRARIES})
80 -+ CHECK_FORTRAN_FUNCTION_EXISTS("dgemm" BLAS_FOUND)
81 -+ unset( CMAKE_REQUIRED_LIBRARIES )
82 -+ if(BLAS_FOUND)
83 -+ message(STATUS "--> BLAS supplied by user is WORKING, will use ${BLAS_LIBRARIES}.")
84 -+ else(BLAS_FOUND)
85 -+ message(ERROR "--> BLAS supplied by user is not WORKING, CANNOT USE ${BLAS_LIBRARIES}.")
86 -+ message(ERROR "--> Will use REFERENCE BLAS (by default)")
87 -+ message(ERROR "--> Or Correct your BLAS_LIBRARIES entry ")
88 -+ message(ERROR "--> Or Consider checking USE_OPTIMIZED_BLAS")
89 -+ endif(BLAS_FOUND)
90 -+else(BLAS_LIBRARIES)
91 -+ # User did not provide a BLAS Library
92 -+ find_package( BLAS )
93 -+endif (BLAS_LIBRARIES)
94 -+
95 -+if(NOT BLAS_FOUND)
96 -+ message(FATAL_ERROR "--> BLAS libraries needed but not found.")
97 -+endif(NOT BLAS_FOUND)
98 -+
99 - add_subdirectory(SRC)
100 -
101 - if(ENABLE_TESTS)
102 -@@ -44,4 +66,3 @@
103 - ${CLAPACK_BINARY_DIR}/clapack-config-version.cmake @ONLY)
104 - configure_file(${CLAPACK_SOURCE_DIR}/clapack-config.cmake.in
105 - ${CLAPACK_BINARY_DIR}/clapack-config.cmake @ONLY)
106 --
107 -diff -ruN clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt clapack-3.2.1-CMAKE/SRC/CMakeLists.txt
108 ---- clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt 2011-06-17 23:01:05.276747599 +0200
109 -+++ clapack-3.2.1-CMAKE/SRC/CMakeLists.txt 2011-06-17 23:08:43.761747789 +0200
110 -@@ -377,7 +377,7 @@
111 - endif()
112 -
113 - add_library(clapack SHARED ${ALLOBJ} ${ALLXOBJ})
114 --target_link_libraries(clapack blas f2c m)
115 -+target_link_libraries(clapack ${BLAS_LIBRARIES} f2c m)
116 - set_target_properties(clapack PROPERTIES SOVERSION "${CLAPACK_VERSION}")
117 -
118 - install(