From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EF64C138247 for ; Mon, 13 Oct 2014 12:35:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95723E0854; Mon, 13 Oct 2014 12:35:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 38654E0854 for ; Mon, 13 Oct 2014 12:35:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1ED3134001A for ; Mon, 13 Oct 2014 12:35:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4E3E7BB6 for ; Mon, 13 Oct 2014 12:35:04 +0000 (UTC) From: "Mark Wright" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mark Wright" Message-ID: <1413203688.1d5913ef88752e094b1b45a8ca501ef2319faf90.gienah@gentoo> Subject: [gentoo-commits] proj/sci:int64-build-eclass commit in: sci-libs/lapack-reference/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/lapack-reference/ChangeLog sci-libs/lapack-reference/lapack-reference-9999.ebuild X-VCS-Directories: sci-libs/lapack-reference/ X-VCS-Committer: gienah X-VCS-Committer-Name: Mark Wright X-VCS-Revision: 1d5913ef88752e094b1b45a8ca501ef2319faf90 X-VCS-Branch: int64-build-eclass Date: Mon, 13 Oct 2014 12:35:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1589dc85-74c2-463f-8dee-edc73c43f473 X-Archives-Hash: 27394ccf0ba64bbaafaeea09840cdd3d commit: 1d5913ef88752e094b1b45a8ca501ef2319faf90 Author: gienah gentoo org> AuthorDate: Mon Oct 13 12:34:48 2014 +0000 Commit: Mark Wright gentoo org> CommitDate: Mon Oct 13 12:34:48 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1d5913ef Specify the xblas library location to cmake - sci-libs/lapack-reference-9999::science USE="int64 static-libs {test*} xblas*" ABI_X86="32 (64) (-x32)" builds and passes tests with eselect blas show = reference --- sci-libs/lapack-reference/ChangeLog | 6 ++++++ sci-libs/lapack-reference/lapack-reference-9999.ebuild | 2 ++ 2 files changed, 8 insertions(+) diff --git a/sci-libs/lapack-reference/ChangeLog b/sci-libs/lapack-reference/ChangeLog index 4fcbb7b..89abcfe 100644 --- a/sci-libs/lapack-reference/ChangeLog +++ b/sci-libs/lapack-reference/ChangeLog @@ -3,6 +3,12 @@ # $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/ChangeLog,v 1.51 2010/10/02 20:49:51 grobian Exp $ 13 Oct 2014; Mark Wright lapack-reference-9999.ebuild: + Specify the xblas library location to cmake - + sci-libs/lapack-reference-9999::science USE="int64 static-libs {test*} + xblas*" ABI_X86="32 (64) (-x32)" builds and passes tests with eselect blas + show = reference + + 13 Oct 2014; Mark Wright lapack-reference-9999.ebuild: Refactor to lapack-reference use the fortran-int64.eclass. Add the virtual to PDEPEND. Call fortran-int64_ensure_blas to check the blas pkg-config file is available, and the blas-int64 pkg-config file if the int64 USE flag is diff --git a/sci-libs/lapack-reference/lapack-reference-9999.ebuild b/sci-libs/lapack-reference/lapack-reference-9999.ebuild index 75000dd..0ba3b3f 100644 --- a/sci-libs/lapack-reference/lapack-reference-9999.ebuild +++ b/sci-libs/lapack-reference/lapack-reference-9999.ebuild @@ -79,6 +79,7 @@ src_configure() { local libname="${profname//-/_}" local blas_profname=$(fortran-int64_get_blas_profname) local xblas_profname=$(fortran-int64_get_xblas_profname) + local xblas_libname="${xblas_profname//-/_}" local blas_requires="${blas_profname}" use xblas && \ blas_requires+=" ${xblas_profname}" @@ -94,6 +95,7 @@ src_configure() { -DCMAKE_CXX_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) ${CXXFLAGS}" -DCMAKE_Fortran_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) $(get_abi_CFLAGS) $(fortran-int64_get_fortran_int64_abi_fflags) ${FCFLAGS}" -DLAPACK_PKGCONFIG_FFLAGS="$(fortran-int64_get_fortran_int64_abi_fflags)" + -DXBLAS_LIBRARY:FILEPATH="${ROOT}usr/$(get_libdir)/lib${xblas_libname}.so" ) if $(fortran-int64_is_static_build); then mycmakeargs+=(