public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblinear/
Date: Sun, 11 Aug 2019 10:06:13 +0000 (UTC)	[thread overview]
Message-ID: <1565517969.b07f8b0b5a03243325bcb38264c21319daac11e0.jer@gentoo> (raw)

commit:     b07f8b0b5a03243325bcb38264c21319daac11e0
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 09:53:41 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 10:06:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07f8b0b

dev-libs/liblinear: Revert "Add IUSE=blas."

In commit 22acd3654a599abcfe5457c157b6e2937a0242ec ("Add IUSE=blas.") I
tried to add support for linking against a BLAS implementation as
suggested in liblinear's documentation.

As so far liblinear does not support any helpers for linking against it
as well as a BLAS library in an automated way, enabling USE=blas can
result in linking failures in packages that are unaware of the BLAS
linkage. Until a pkg-config file or other reliable source for library
linkage is provided with liblinear, usage of an external BLAS library
cannot be supported.

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Fixes: https://bugs.gentoo.org/691926
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 dev-libs/liblinear/liblinear-210-r1.ebuild | 15 +--------------
 dev-libs/liblinear/liblinear-221.ebuild    | 15 +--------------
 dev-libs/liblinear/liblinear-230.ebuild    | 13 -------------
 3 files changed, 2 insertions(+), 41 deletions(-)

diff --git a/dev-libs/liblinear/liblinear-210-r1.ebuild b/dev-libs/liblinear/liblinear-210-r1.ebuild
index ca03976be48..cb9a44912d2 100644
--- a/dev-libs/liblinear/liblinear-210-r1.ebuild
+++ b/dev-libs/liblinear/liblinear-210-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,15 +12,6 @@ SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0/3"
 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
-IUSE="blas"
-
-RDEPEND="
-	blas? ( virtual/blas )
-"
-DEPEND="
-	${RDEPEND}
-	blas? ( virtual/pkgconfig )
-"
 
 src_prepare() {
 	sed -i \
@@ -34,9 +25,6 @@ src_prepare() {
 		-e '/^CFLAGS/d;/^CXXFLAGS/d' \
 		-e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \
 		Makefile || die
-	if use blas; then
-		sed -i -e 's:blas/blas.a::g' Makefile || die
-	fi
 }
 
 src_compile() {
@@ -47,7 +35,6 @@ src_compile() {
 		CXXFLAGS="${CXXFLAGS} -fPIC" \
 		AR="$(tc-getAR) rcv" \
 		RANLIB="$(tc-getRANLIB)" \
-		LIBS="$(usex blas "$( $(tc-getPKG_CONFIG) --libs blas )" blas/blas.a)" \
 		lib all
 }
 

diff --git a/dev-libs/liblinear/liblinear-221.ebuild b/dev-libs/liblinear/liblinear-221.ebuild
index 1aaede97f49..18f397fed81 100644
--- a/dev-libs/liblinear/liblinear-221.ebuild
+++ b/dev-libs/liblinear/liblinear-221.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -11,15 +11,6 @@ SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0/3"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-macos"
-IUSE="blas"
-
-RDEPEND="
-	blas? ( virtual/blas )
-"
-DEPEND="
-	${RDEPEND}
-	blas? ( virtual/pkgconfig )
-"
 
 src_prepare() {
 	default
@@ -35,9 +26,6 @@ src_prepare() {
 		-e '/^CFLAGS/d;/^CXXFLAGS/d' \
 		-e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \
 		Makefile || die
-	if use blas; then
-		sed -i -e 's:blas/blas.a::g' Makefile || die
-	fi
 }
 
 src_compile() {
@@ -48,7 +36,6 @@ src_compile() {
 		CXXFLAGS="${CXXFLAGS} -fPIC" \
 		AR="$(tc-getAR) rcv" \
 		RANLIB="$(tc-getRANLIB)" \
-		LIBS="$(usex blas "$( $(tc-getPKG_CONFIG) --libs blas )" blas/blas.a)" \
 		lib all
 }
 

diff --git a/dev-libs/liblinear/liblinear-230.ebuild b/dev-libs/liblinear/liblinear-230.ebuild
index 00881437e2d..18f397fed81 100644
--- a/dev-libs/liblinear/liblinear-230.ebuild
+++ b/dev-libs/liblinear/liblinear-230.ebuild
@@ -11,15 +11,6 @@ SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0/3"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-macos"
-IUSE="blas"
-
-RDEPEND="
-	blas? ( virtual/blas )
-"
-DEPEND="
-	${RDEPEND}
-	blas? ( virtual/pkgconfig )
-"
 
 src_prepare() {
 	default
@@ -35,9 +26,6 @@ src_prepare() {
 		-e '/^CFLAGS/d;/^CXXFLAGS/d' \
 		-e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \
 		Makefile || die
-	if use blas; then
-		sed -i -e 's:blas/blas.a::g' Makefile || die
-	fi
 }
 
 src_compile() {
@@ -48,7 +36,6 @@ src_compile() {
 		CXXFLAGS="${CXXFLAGS} -fPIC" \
 		AR="$(tc-getAR) rcv" \
 		RANLIB="$(tc-getRANLIB)" \
-		LIBS="$(usex blas "$( $(tc-getPKG_CONFIG) --libs blas )" blas/blas.a)" \
 		lib all
 }
 


             reply	other threads:[~2019-08-11 10:06 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-11 10:06 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-25  7:05 [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblinear/ Sam James
2023-06-25  7:05 Sam James
2023-06-25  7:05 Sam James
2023-06-25  7:05 Sam James
2023-06-25  7:05 Sam James
2023-06-25  7:05 Sam James
2023-06-25  7:05 Sam James
2023-05-21 19:35 Sam James
2022-01-01  9:38 Sam James
2021-09-27 14:53 Marek Szuba
2021-04-25  5:14 Sam James
2021-04-25  5:14 Sam James
2021-04-23 16:13 Sam James
2021-04-23 13:33 Sam James
2021-04-23 13:33 Sam James
2021-04-23 13:33 Sam James
2021-04-23 13:33 Sam James
2021-03-23  4:53 Sam James
2021-03-16 21:56 Sam James
2021-02-15  0:42 Sam James
2021-02-15  0:38 Sam James
2021-02-05 12:29 Sam James
2021-02-02 23:46 Sam James
2021-01-30 10:03 Sam James
2021-01-28 19:47 Sam James
2021-01-28 16:32 Sam James
2021-01-28 16:29 Sam James
2020-12-29 23:35 Sam James
2020-12-20  6:29 Sam James
2020-12-13 12:21 Fabian Groffen
2020-11-15 10:33 Sam James
2020-11-14 19:25 Sergei Trofimovich
2020-11-14 19:24 Sergei Trofimovich
2020-11-14 19:20 Sergei Trofimovich
2020-11-14 19:17 Sergei Trofimovich
2020-11-14 19:01 Sam James
2020-11-14 16:50 Sam James
2020-11-14  0:09 Thomas Deutschmann
2020-11-04  7:29 Sam James
2020-11-04  3:48 Sam James
2020-11-04  3:48 Sam James
2020-07-29  9:45 Jeroen Roovers
2020-07-22  8:20 Jeroen Roovers
2020-07-22  6:07 Jeroen Roovers
2019-04-26 14:30 Jeroen Roovers
2019-04-26 14:30 Jeroen Roovers
2018-11-18  1:18 Thomas Deutschmann
2018-05-27 16:11 Aaron Bauman
2018-04-06 11:05 Fabian Groffen
2017-12-18 14:49 Jeroen Roovers
2017-06-25  9:55 Jeroen Roovers
2017-06-25  9:55 Jeroen Roovers
2016-03-04  2:16 Stephen Klimaszewski
2016-02-14  8:49 Jeroen Roovers
2016-01-09 16:10 Markus Meier
2016-01-02  7:14 Jeroen Roovers
2015-12-28  7:57 Jeroen Roovers
2015-12-26 23:32 Agostino Sarubbo
2015-12-21 14:32 Patrick Lauer
2015-10-03 12:32 Michał Górny
2015-10-03  7:49 Jeroen Roovers
2015-09-29 18:03 Jeroen Roovers
2015-09-29 16:13 Michał Górny
2015-09-29  9:09 Justin Lecher
2015-09-29  4:04 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1565517969.b07f8b0b5a03243325bcb38264c21319daac11e0.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox