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: Tue, 31 Jan 2017 20:23:04
Message-Id: 1485894147.afc99f9524accd18a522c3ff47a40472a79d25b6.johu@gentoo
1 commit: afc99f9524accd18a522c3ff47a40472a79d25b6
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 31 20:22:11 2017 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 20:22:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc99f95
7
8 sci-libs/clapack: Remove 3.2.1-r6
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sci-libs/clapack/clapack-3.2.1-r6.ebuild | 41 ------------------
13 .../clapack/files/clapack-3.2.1-findblas-r6.patch | 50 ----------------------
14 2 files changed, 91 deletions(-)
15
16 diff --git a/sci-libs/clapack/clapack-3.2.1-r6.ebuild b/sci-libs/clapack/clapack-3.2.1-r6.ebuild
17 deleted file mode 100644
18 index 57fb494..00000000
19 --- a/sci-libs/clapack/clapack-3.2.1-r6.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=4
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-r6.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-r6.patch b/sci-libs/clapack/files/clapack-3.2.1-findblas-r6.patch
65 deleted file mode 100644
66 index 028dec6..00000000
67 --- a/sci-libs/clapack/files/clapack-3.2.1-findblas-r6.patch
68 +++ /dev/null
69 @@ -1,50 +0,0 @@
70 -diff -ruN clapack-3.2.1-CMAKE.1.allexfb/CMakeLists.txt clapack-3.2.1-CMAKE/CMakeLists.txt
71 ---- clapack-3.2.1-CMAKE.1.allexfb/CMakeLists.txt 2011-06-19 22:13:27.000000000 +0200
72 -+++ clapack-3.2.1-CMAKE/CMakeLists.txt 2011-06-19 22:23:14.000000000 +0200
73 -@@ -30,6 +30,29 @@
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(PkgConfig)
93 -+ pkg_check_modules(BLAS blas)
94 -+endif (BLAS_LIBRARIES)
95 -+
96 -+if(NOT BLAS_FOUND)
97 -+ message(FATAL_ERROR "--> BLAS libraries needed but not found.")
98 -+endif(NOT BLAS_FOUND)
99 -+
100 - add_subdirectory(SRC)
101 -
102 - if(ENABLE_TESTS)
103 -@@ -44,4 +67,3 @@
104 - ${CLAPACK_BINARY_DIR}/clapack-config-version.cmake @ONLY)
105 - configure_file(${CLAPACK_SOURCE_DIR}/clapack-config.cmake.in
106 - ${CLAPACK_BINARY_DIR}/clapack-config.cmake @ONLY)
107 --
108 -diff -ruN clapack-3.2.1-CMAKE.1.allexfb/SRC/CMakeLists.txt clapack-3.2.1-CMAKE/SRC/CMakeLists.txt
109 ---- clapack-3.2.1-CMAKE.1.allexfb/SRC/CMakeLists.txt 2011-06-19 22:13:44.000000000 +0200
110 -+++ clapack-3.2.1-CMAKE/SRC/CMakeLists.txt 2011-06-19 22:15:04.000000000 +0200
111 -@@ -380,7 +380,7 @@
112 - endif()
113 -
114 - add_library(clapack SHARED ${ALLOBJ} ${ALLXOBJ})
115 --target_link_libraries(clapack blas f2c m)
116 -+target_link_libraries(clapack ${BLAS_LIBRARIES} f2c m)
117 - set_target_properties(clapack PROPERTIES SOVERSION "${CLAPACK_VERSION}")
118 -
119 - install(