From: "Nicolas Bock" <nicolasbock@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
Date: Fri, 26 Jul 2013 16:14:00 +0000 (UTC) [thread overview]
Message-ID: <1374771276.cda6510a8d1174f915bfa07520f055d1ded875f6.nicolasbock@gentoo> (raw)
commit: cda6510a8d1174f915bfa07520f055d1ded875f6
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 16:39:38 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> 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 @@
<flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
<flag name="parameter_gui">Build and install the parameter_gui executable</flag>
<flag name="petsc">Add support for petsc (<pkg>sci-libs/petsc</pkg>)</flag>
+ <flag name="tbb">Add threading support with the help of the tbb library (<pkg>dev-cpp/tbb</pkg>)</flag>
<flag name="trilinos">Add support for trilinos (<pkg>sci-libs/trilinos</pkg>)</flag>
- <flag name="umfpack">Add support for umfpack (<pkg>sci-libs/umfpack</pkg>)</flag>
</use>
</pkgmetadata>
next reply other threads:[~2013-07-26 16:14 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-26 16:14 Nicolas Bock [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-08-05 6:52 [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/ Matthias Maier
2019-08-02 1:05 Matthias Maier
2019-05-22 17:33 Matthias Maier
2019-04-25 23:51 Matthias Maier
2018-10-11 21:47 Matthias Maier
2018-05-24 2:26 Matthias Maier
2018-05-24 1:21 Matthias Maier
2018-05-13 20:01 Matthias Maier
2018-05-11 22:16 Matthias Maier
2018-05-11 22:16 Matthias Maier
2018-03-19 18:11 Matthias Maier
2017-12-26 12:22 Matthias Maier
2017-10-07 18:28 Matthias Maier
2017-08-14 16:57 Matthias Maier
2017-06-18 13:04 Matthias Maier
2017-04-11 14:50 Marius Brehler
2017-04-11 14:50 Marius Brehler
2017-04-11 14:50 Marius Brehler
2017-03-16 19:35 Justin Lecher
2016-09-06 0:18 Christoph Junghans
2016-07-12 19:57 Marius Brehler
2016-07-12 19:57 Marius Brehler
2016-04-23 23:21 Christoph Junghans
2016-04-23 23:21 Christoph Junghans
2015-08-27 15:01 Justin Lecher
2015-08-03 12:35 Justin Lecher
2015-08-03 12:35 Justin Lecher
2015-07-10 3:59 Nicolas Bock
2015-06-06 10:23 Justin Lecher
2015-06-06 10:23 Justin Lecher
2015-03-29 10:24 Justin Lecher
2015-01-31 20:19 Christoph Junghans
2015-01-22 0:09 Christoph Junghans
2015-01-22 0:09 Christoph Junghans
2015-01-15 6:53 Justin Lecher
2015-01-15 6:53 Justin Lecher
2015-01-01 15:26 Andrew Savchenko
2014-12-24 18:54 Christoph Junghans
2014-12-24 18:54 Christoph Junghans
2014-08-25 22:43 Christoph Junghans
2014-03-03 20:37 Sebastien Fabbro
2014-03-03 20:37 Sebastien Fabbro
2014-01-04 12:08 Justin Lecher
2014-01-04 12:08 Justin Lecher
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:13 Nicolas Bock
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=1374771276.cda6510a8d1174f915bfa07520f055d1ded875f6.nicolasbock@gentoo \
--to=nicolasbock@gmail.com \
--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