Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 642900 Details for
Bug 726474
=sci-libs/openblas-0.3.9 failing test / missing RESTRICT
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-sci-libs-openblas-don-t-run-tests-by-default.patch
0001-sci-libs-openblas-don-t-run-tests-by-default.patch (text/plain), 2.45 KB, created by
Bernd
on 2020-05-31 17:39:48 UTC
(
hide
)
Description:
0001-sci-libs-openblas-don-t-run-tests-by-default.patch
Filename:
MIME Type:
Creator:
Bernd
Created:
2020-05-31 17:39:48 UTC
Size:
2.45 KB
patch
obsolete
>From ac070df4b2f25de399d6935f4b739582a3e7561f Mon Sep 17 00:00:00 2001 >From: Bernd Waibel <waebbl@gmail.com> >Date: Sun, 31 May 2020 19:31:05 +0200 >Subject: [PATCH] sci-libs/openblas: don't run tests by default > >Add test USE flag, RESTRICT and src_prepare, so tests are only run >when appropriate. >Fix some minor issues reported by pkgcheck. > >Closes: https://bugs.gentoo.org/726474 >Package-Manager: Portage-2.3.100, Repoman-2.3.22 >Signed-off-by: Bernd Waibel <waebbl@gmail.com> >--- > sci-libs/openblas/openblas-0.3.9.ebuild | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) > >diff --git a/sci-libs/openblas/openblas-0.3.9.ebuild b/sci-libs/openblas/openblas-0.3.9.ebuild >index 9aa17003313d..9aef7e449cd8 100644 >--- a/sci-libs/openblas/openblas-0.3.9.ebuild >+++ b/sci-libs/openblas/openblas-0.3.9.ebuild >@@ -6,12 +6,13 @@ inherit fortran-2 toolchain-funcs > > DESCRIPTION="Optimized BLAS library based on GotoBLAS2" > HOMEPAGE="http://xianyi.github.com/OpenBLAS/" >-SRC_URI="https://github.com/xianyi/OpenBLAS/tarball/v${PV} -> ${P}.tar.gz" >+SRC_URI="https://github.com/xianyi/OpenBLAS/archive/v${PV}.tar.gz -> ${P}.tar.gz" > > LICENSE="BSD" > SLOT="0" > KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" >-IUSE="dynamic eselect-ldso index-64bit openmp pthread" >+IUSE="dynamic eselect-ldso index-64bit openmp pthread test" >+RESTRICT="!test? ( test )" > REQUIRED_USE="?? ( openmp pthread )" > > RDEPEND=" >@@ -53,6 +54,17 @@ src_unpack() { > fi > } > >+src_prepare() { >+ default >+ # avoid tests target to be run during compile >+ sed -e 's/all :: libs netlib $(RELA) tests shared/all :: libs netlib $(RELA) shared/' \ >+ -i "${S}"/Makefile || die >+ if use index-64bit; then >+ sed -e 's/all :: libs netlib $(RELA) tests shared/all :: libs netlib $(RELA) shared/' \ >+ -i "${S}-index-64bit"/Makefile || die >+ fi >+} >+ > src_compile() { > emake > emake -Cinterface shared-blas-lapack >@@ -71,14 +83,12 @@ src_install() { > dodoc GotoBLAS_*.txt *.md Changelog.txt > > if use eselect-ldso; then >- dodir /usr/$(get_libdir)/blas/openblas/ > insinto /usr/$(get_libdir)/blas/openblas/ > doins interface/libblas.so.3 > dosym libblas.so.3 usr/$(get_libdir)/blas/openblas/libblas.so > doins interface/libcblas.so.3 > dosym libcblas.so.3 usr/$(get_libdir)/blas/openblas/libcblas.so > >- dodir /usr/$(get_libdir)/lapack/openblas/ > insinto /usr/$(get_libdir)/lapack/openblas/ > doins interface/liblapack.so.3 > dosym liblapack.so.3 usr/$(get_libdir)/lapack/openblas/liblapack.so >-- >2.26.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 726474
:
642896
|
642898
| 642900