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 7EC9F1381F3 for ; Fri, 26 Jul 2013 16:14:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E52A8E0A44; Fri, 26 Jul 2013 16:14:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B26EE0A44 for ; Fri, 26 Jul 2013 16:14:03 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 249F333EA5C for ; Fri, 26 Jul 2013 16:14:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A1AD9E5463 for ; Fri, 26 Jul 2013 16:14:00 +0000 (UTC) From: "Nicolas Bock" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" Message-ID: <1374771276.cda6510a8d1174f915bfa07520f055d1ded875f6.nicolasbock@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/dealii/dealii-9999.ebuild sci-libs/dealii/metadata.xml X-VCS-Directories: sci-libs/dealii/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: cda6510a8d1174f915bfa07520f055d1ded875f6 X-VCS-Branch: master Date: Fri, 26 Jul 2013 16:14:00 +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: 03f11a74-32c8-4dd8-98a9-ae0b0b71c398 X-Archives-Hash: 9670c85a06dbab69db5eceac0220f060 commit: cda6510a8d1174f915bfa07520f055d1ded875f6 Author: Matthias Maier kyomu 43-1 org> AuthorDate: Thu Jul 25 16:39:38 2013 +0000 Commit: Nicolas Bock gmail com> CommitDate: Thu Jul 25 16:54:36 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cda6510a Improve dealii-9999.ebuild to be more consistent with Gentoo's best practices Specifically: - Rename use flags thread -> tbb, umfpack -> sparse as match common practice - Add virtual/pkgconfig to DEPEND - Remove double occurence of sys-libs/zlib - Provide a static-libs use flag --- sci-libs/dealii/dealii-9999.ebuild | 21 +++++++++++++-------- sci-libs/dealii/metadata.xml | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild index 9a4f7c8..9765e3a 100644 --- a/sci-libs/dealii/dealii-9999.ebuild +++ b/sci-libs/dealii/dealii-9999.ebuild @@ -26,12 +26,11 @@ fi LICENSE="LGPL-2.1+" SLOT="0" -IUSE="arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi mumps netcdf p4est parameter_gui petsc sse2 +threads trilinos +umfpack +zlib" +IUSE="arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb trilinos +zlib" # TODO: add slepc use flag once slepc is packaged for gentoo-science -DEPEND=" +RDEPEND=" dev-libs/boost - sys-libs/zlib arpack? ( sci-libs/arpack[mpi?] ) doc? ( app-doc/doxygen[dot] dev-lang/perl ) hdf5? ( sci-libs/hdf5[mpi?] ) @@ -43,12 +42,16 @@ DEPEND=" p4est? ( sci-libs/p4est[mpi?] ) parameter_gui? ( dev-qt/qtgui ) petsc? ( sci-mathematics/petsc[mpi?] ) - threads? ( dev-cpp/tbb ) + sparse? ( sci-libs/umfpack ) + tbb? ( dev-cpp/tbb ) trilinos? ( sci-libs/trilinos ) - umfpack? ( sci-libs/umfpack ) zlib? ( sys-libs/zlib ) " -RDEPEND="${DEPEND}" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" src_configure() { @@ -82,10 +85,12 @@ src_configure() { $(cmake-utils_use p4est DEAL_II_WITH_P4EST) $(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI) $(cmake-utils_use petsc DEAL_II_WITH_PETSC) + $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK) $(cmake-utils_use sse2 DEAL_II_HAVE_SSE2) - $(cmake-utils_use threads DEAL_II_WITH_THREADS) + $(if use static-libs; then echo -DBUILD_SHARED_LIBS=OFF;fi) + $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS) + $(cmake-utils_use tbb DEAL_II_WITH_THREADS) $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS) - $(cmake-utils_use umfpack DEAL_II_WITH_UMFPACK) $(cmake-utils_use zlib DEAL_II_WITH_ZLIB) "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF" "-DDEAL_II_COMPONENT_COMPAT_FILES=OFF" diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml index 0567794..65475b5 100644 --- a/sci-libs/dealii/metadata.xml +++ b/sci-libs/dealii/metadata.xml @@ -22,7 +22,7 @@ Add support for p4est (sci-mathematics/p4est) Build and install the parameter_gui executable Add support for petsc (sci-libs/petsc) + Add threading support with the help of the tbb library (dev-cpp/tbb) Add support for trilinos (sci-libs/trilinos) - Add support for umfpack (sci-libs/umfpack)