diff options
author | Slawek Lis <slis@gentoo.org> | 2015-04-14 11:03:14 +0000 |
---|---|---|
committer | Slawek Lis <slis@gentoo.org> | 2015-04-14 11:03:14 +0000 |
commit | ca6fab5379727beaec3df147da8907f00b6c7223 (patch) | |
tree | 2c1d26cf1810ff4d8a6853c101f60a88ca74294a /sys-cluster | |
parent | Stable for ia64, wrt bug #545858 (diff) | |
download | gentoo-2-ca6fab5379727beaec3df147da8907f00b6c7223.tar.gz gentoo-2-ca6fab5379727beaec3df147da8907f00b6c7223.tar.bz2 gentoo-2-ca6fab5379727beaec3df147da8907f00b6c7223.zip |
version bump (#546300)
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x55265D89)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/hpx/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/hpx/hpx-0.9.10.ebuild | 77 |
2 files changed, 83 insertions, 1 deletions
diff --git a/sys-cluster/hpx/ChangeLog b/sys-cluster/hpx/ChangeLog index 2e3b81662f47..b194f1ad29c3 100644 --- a/sys-cluster/hpx/ChangeLog +++ b/sys-cluster/hpx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/hpx # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpx/ChangeLog,v 1.4 2015/04/08 18:25:44 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpx/ChangeLog,v 1.5 2015/04/14 11:03:14 slis Exp $ + +*hpx-0.9.10 (14 Apr 2015) + + 14 Apr 2015; Sławek Lis <slis@gentoo.org> +hpx-0.9.10.ebuild: + version bump (#546300) 08 Apr 2015; Michał Górny <mgorny@gentoo.org> hpx-0.9.8.ebuild, hpx-0.9.9.ebuild: diff --git a/sys-cluster/hpx/hpx-0.9.10.ebuild b/sys-cluster/hpx/hpx-0.9.10.ebuild new file mode 100644 index 000000000000..40f72c5d00a8 --- /dev/null +++ b/sys-cluster/hpx/hpx-0.9.10.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpx/hpx-0.9.10.ebuild,v 1.1 2015/04/14 11:03:14 slis Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} ) + +inherit cmake-utils fortran-2 multilib python-single-r1 versionator + +SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz" +KEYWORDS="~amd64 ~x86" +S="${WORKDIR}/${PN}_${PV}" + +DESCRIPTION="C++ runtime system for parallel and distributed applications" +HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/" + +SLOT="0" +LICENSE="Boost-1.0" +IUSE="doc examples jemalloc papi +perftools tbb test" + +RDEPEND=" + tbb? ( dev-cpp/tbb ) + >=dev-libs/boost-1.49 + papi? ( dev-libs/papi ) + perftools? ( >=dev-util/google-perftools-1.7.1 ) + >=sys-apps/hwloc-1.8 + >=sys-libs/libunwind-1 + sys-libs/zlib +" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-lang/python ) +" +REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} ) + jemalloc? ( !perftools !tbb ) + perftools? ( !jemalloc !tbb ) + tbb? ( !jemalloc !perftools ) + " + +pkg_setup() { + use test && python-single-r1_pkg_setup +} + +src_configure() { + CMAKE_BUILD_TYPE=Release + local mycmakeargs=( + -DHPX_BUILD_EXAMPLES=OFF + -DHPX_MALLOC=system + -DLIB=$(get_libdir) + -Dcmake_dir=cmake + $(cmake-utils_use doc HPX_BUILD_DOCUMENTATION) + $(cmake-utils_use jemalloc HPX_JEMALLOC) + $(cmake-utils_use test BUILD_TESTING) + $(cmake-utils_use perftools HPX_GOOGLE_PERFTOOLS) + $(cmake-utils_use papi HPX_PAPI) + ) + + use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc ) + use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc ) + use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc ) + + cmake-utils_src_configure +} + +src_test() { + # avoid over-suscribing + cmake-utils_src_make -j1 tests +} + +src_install() { + cmake-utils_src_install + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} |