From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/trilinos/
Date: Wed, 12 Jun 2013 20:04:20 +0000 (UTC) [thread overview]
Message-ID: <1371067252.59bb9b487b28a8c629187a993a06454b0b68e8dc.jlec@gentoo> (raw)
commit: 59bb9b487b28a8c629187a993a06454b0b68e8dc
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 20:00:52 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 20:00:52 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=59bb9b48
sci-libs/trilinos: Drop old, fix handling of qt support
Package-Manager: portage-2.2.0_alpha179
---
sci-libs/trilinos/ChangeLog | 4 +
sci-libs/trilinos/trilinos-10.10.1.ebuild | 124 ------------------------------
sci-libs/trilinos/trilinos-11.0.3.ebuild | 12 +--
3 files changed, 11 insertions(+), 129 deletions(-)
diff --git a/sci-libs/trilinos/ChangeLog b/sci-libs/trilinos/ChangeLog
index 6c5b81b..c05bfeb 100644
--- a/sci-libs/trilinos/ChangeLog
+++ b/sci-libs/trilinos/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Jun 2013; Justin Lecher <jlec@gentoo.org> -trilinos-10.10.1.ebuild,
+ trilinos-11.0.3.ebuild:
+ Drop old, fix handling of qt support
+
03 Apr 2013; Matthias Maier <tamiko@kyomu.43-1.org> trilinos-11.0.3.ebuild:
Version bump; correct install paths; fix prefix support
diff --git a/sci-libs/trilinos/trilinos-10.10.1.ebuild b/sci-libs/trilinos/trilinos-10.10.1.ebuild
deleted file mode 100644
index e9e9300..0000000
--- a/sci-libs/trilinos/trilinos-10.10.1.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="Scientific library collection for large scale problems"
-HOMEPAGE="http://trilinos.sandia.gov/"
-SRC_URI="${P}-Source.tar.gz"
-SRC_PAGE="10.10"
-
-SLOT="0"
-LICENSE="BSD LGPL-2.1"
-IUSE="arprec boost cuda hdf5 hwloc netcdf qd qt4 scotch taucs tbb umfpack zlib"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- virtual/mpi
- >=sci-libs/scalapack-2
- arprec? ( sci-libs/arprec )
- boost? ( dev-libs/boost )
- cuda? ( >=dev-util/nvidia-cuda-toolkit-3.2 )
- hdf5? ( sci-libs/hdf5[mpi] )
- hwloc? ( sys-apps/hwloc )
- netcdf? ( sci-libs/netcdf )
- qd? ( sci-libs/qd )
- qt4? ( >=dev-qt/qtgui-4.5 )
- scotch? ( sys-libs/scotch[mpi] )
- taucs? ( sci-libs/taucs )
- tbb? ( dev-cpp/tbb )
- umfpack? ( sci-libs/umfpack )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${P}-Source"
-
-RESTRICT="fetch"
-
-pkg_nofetch() {
- einfo "Sandia requires that you register to the site in order to download Trilinos."
- einfo "Please download ${SRC_URI} from:"
- einfo "http://trilinos.sandia.gov/download/trilinos-${SRC_PAGE}.html"
- einfo "and move it to ${DISTDIR}"
-}
-
-function trilinos_alternatives {
- alt_dirs=""
- for d in $(pkg-config --libs-only-L $1); do
- alt_dirs="${alt_dirs};${d:2}"
- done
- arg="-D${2}_LIBRARY_DIRS=${alt_dirs:1}"
- mycmakeargs+=(
- $arg
- )
-
- alt_libs=""
- for d in $(pkg-config --libs-only-l $1); do
- alt_libs="${alt_libs};${d:2}"
- done
- arg="-D${2}_LIBRARY_NAMES=${alt_libs:1}"
- mycmakeargs+=(
- $arg
- )
-}
-
-src_configure() {
- CMAKE_BUILD_TYPE="release"
- mycmakeargs=(
- -DBUILD_SHARED_LIBS=ON
- -DTrilinos_ENABLE_ALL_PACKAGES=ON
-
- # Directories (workaround for generating correct Makefiles and CMakefiles)
- -DCMAKE_INSTALL_PREFIX="/"
- -DTrilinos_INSTALL_INCLUDE_DIR="/usr/include/trilinos"
- -DTrilinos_INSTALL_LIB_DIR="/usr/$(get_libdir)/trilinos"
-
- # Tests
- $(cmake-utils_use test Trilinos_ENABLE_TESTS)
-
- # Mandatory dependencies
- -DTPL_ENABLE_BinUtils=ON
- -DTPL_ENABLE_MPI=ON
- -DTPL_ENABLE_BLAS=ON
- -DTPL_ENABLE_LAPACK=ON
- -DTPL_ENABLE_BLACS=ON
- -DTPL_ENABLE_SCALAPACK=ON
- -DTrilinos_EXTRA_LINK_FLAGS="-lmpi -lmpi_cxx"
-
- # Optional dependencies
- $(cmake-utils_use arprec TPL_ENABLE_ARPREC)
- $(cmake-utils_use boost TPL_ENABLE_Boost)
- $(cmake-utils_use boost TPL_ENABLE_BoostLib)
- $(cmake-utils_use cuda TPL_ENABLE_CUDA)
- $(cmake-utils_use hdf5 TPL_ENABLE_HDF5)
- $(cmake-utils_use hwloc TPL_ENABLE_HWLOC)
- $(cmake-utils_use netcdf TPL_ENABLE_Netcdf)
- $(cmake-utils_use qd TPL_ENABLE_QD)
- $(cmake-utils_use qt TPL_ENABLE_QT)
- $(cmake-utils_use scotch TPL_ENABLE_Scotch)
- $(cmake-utils_use taucs TPL_ENABLE_TAUCS)
- $(cmake-utils_use tbb TPL_ENABLE_TBB)
- $(cmake-utils_use umfpack TPL_ENABLE_UMFPACK)
- $(cmake-utils_use zlib TPL_ENABLE_Zlib)
- )
-
- # Scotch libraries
- if use scotch; then
- mycmakeargs+=( -DScotch_INCLUDE_DIRS="/usr/include/scotch" )
- fi
-
- # Add BLAS libraries
- trilinos_alternatives blas BLAS
- trilinos_alternatives lapack LAPACK
- trilinos_alternatives scalapack SCALAPACK
- trilinos_alternatives scalapack BLACS
-
- mycmakeargs+=( -DBLACS_INCLUDE_DIRS="/usr/include/blacs" )
-
- cmake-utils_src_configure
-}
diff --git a/sci-libs/trilinos/trilinos-11.0.3.ebuild b/sci-libs/trilinos/trilinos-11.0.3.ebuild
index 209b148..7ef814c 100644
--- a/sci-libs/trilinos/trilinos-11.0.3.ebuild
+++ b/sci-libs/trilinos/trilinos-11.0.3.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
+
inherit cmake-utils
DESCRIPTION="Scientific library collection for large scale problems"
@@ -13,11 +14,12 @@ SRC_PAGE="11.0"
SLOT="0"
LICENSE="BSD LGPL-2.1"
KEYWORDS="~amd64 ~x86"
-IUSE="arprec boost cuda hdf5 hwloc netcdf qd qt scotch taucs tbb test umfpack zlib"
+IUSE="arprec boost cuda hdf5 hwloc netcdf qd qt4 scotch taucs tbb test umfpack zlib"
RESTRICT="fetch"
-RDEPEND="virtual/blas
+RDEPEND="
+ virtual/blas
virtual/lapack
virtual/mpi
>=sci-libs/scalapack-2
@@ -28,7 +30,7 @@ RDEPEND="virtual/blas
hwloc? ( sys-apps/hwloc )
netcdf? ( sci-libs/netcdf )
qd? ( sci-libs/qd )
- qt? ( >=x11-libs/qt-gui-4.5 )
+ qt4? ( dev-qt/qtgui:4 )
scotch? ( sci-libs/scotch[mpi] )
taucs? ( sci-libs/taucs )
tbb? ( dev-cpp/tbb )
@@ -102,7 +104,7 @@ src_configure() {
$(cmake-utils_use hwloc TPL_ENABLE_HWLOC)
$(cmake-utils_use netcdf TPL_ENABLE_Netcdf)
$(cmake-utils_use qd TPL_ENABLE_QD)
- $(cmake-utils_use qt TPL_ENABLE_QT)
+ $(cmake-utils_use qt4 TPL_ENABLE_QT)
$(cmake-utils_use scotch TPL_ENABLE_Scotch)
$(cmake-utils_use taucs TPL_ENABLE_TAUCS)
$(cmake-utils_use tbb TPL_ENABLE_TBB)
next reply other threads:[~2013-06-12 20:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-12 20:04 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-05-15 16:34 [gentoo-commits] proj/sci:master commit in: sci-libs/trilinos/ Matthias Maier
2018-04-03 3:52 Matthias Maier
2018-04-02 12:45 Justin Lecher
2017-07-07 15:52 Matthias Maier
2017-07-07 15:49 Matthias Maier
2017-02-24 18:32 Christoph Junghans
2016-08-31 6:56 Marius Brehler
2016-08-31 6:56 Marius Brehler
2016-07-12 19:57 Marius Brehler
2016-07-12 19:57 Marius Brehler
2016-07-12 19:57 Marius Brehler
2016-03-06 21:40 Justin Lecher
2016-03-06 21:32 Justin Lecher
2015-09-21 19:44 Justin Lecher
2015-08-27 15:01 Justin Lecher
2015-02-19 21:12 Christoph Junghans
2014-10-24 3:33 Christoph Junghans
2014-01-06 19:27 Justin Lecher
2014-01-06 18:33 Justin Lecher
2013-11-12 16:43 Nicolas Bock
2013-06-19 23:51 Sebastien Fabbro
2013-04-22 1:40 Christoph Junghans
2013-02-22 15:46 Justin Lecher
2012-04-08 23:22 Andrea Arteaga
2012-04-08 0:54 Andrea Arteaga
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=1371067252.59bb9b487b28a8c629187a993a06454b0b68e8dc.jlec@gentoo \
--to=jlec@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