diff options
Diffstat (limited to 'dev-cpp/icnc')
-rw-r--r-- | dev-cpp/icnc/Manifest | 17 | ||||
-rw-r--r-- | dev-cpp/icnc/icnc-1.0.100.ebuild | 77 | ||||
-rw-r--r-- | dev-cpp/icnc/metadata.xml | 8 |
3 files changed, 101 insertions, 1 deletions
diff --git a/dev-cpp/icnc/Manifest b/dev-cpp/icnc/Manifest index a85b79c9d03a..98b98132998a 100644 --- a/dev-cpp/icnc/Manifest +++ b/dev-cpp/icnc/Manifest @@ -1,3 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST icnc-1.0.100.tar.gz 27164070 SHA256 1004d054a7a9a80a3607e434b7d9c4958a89298d13391613dc4db8bf8dcb22aa SHA512 b6c231504ed36676d5c4a9c651c7ce6bee078a415c8d365dbe66208a5226a71c62924ee7bc0b36f8c35bff20ed5f0baf2710f581595d08fe10a1d799b3982a8b WHIRLPOOL b19bebea58fd39f67cfb8d9f94bc8d4588bb57fda1105d4b4227ffde183344b4ff02776d2328a874ad90823077d36237b20d28182bd7ceb4dfd4efb7da8a6907 -EBUILD icnc-1.0.100.ebuild 1746 SHA256 dfe665db4ebef2576e0349646918622783d60afb1560d9c11f9e4e78d466a6df SHA512 16b2eeac3361befd607373cce0978b4fa6994a7480245a5339a07e803e092fe8843de4bbc74b814faab00ad53486ff18e38eda189c11d8e3fdd36671275d4d39 WHIRLPOOL 2ebc49f7d17588ea59ef6ecd20a0a0e2b1af3788faf4184da4720368e612fd19532e62aad59b7e06a84eb48b8c5af743135dc2497a573f3923c87e141328ef28 +EBUILD icnc-1.0.100.ebuild 1840 SHA256 0a4b0bb19e1ac36c3883204419486b2441c988d3a3ff51e1915429d69e8a1dad SHA512 bc62d9fef54b6c3683e646075f3991314341767ce301f322b74f35dfe4dda7b8cc95aac0bc63a5738fc3154be5371aacd4766aa376371243aa23381ad9d205b4 WHIRLPOOL b2b84d168e7ed6a59b3489e59ac20552ab2c25d2ae47ca773a9b9bfcfadf81b78aaae3e27e2189bc5b32565015d411516e35d298f4aff49ea4f2128d55f7c645 +MISC ChangeLog 353 SHA256 c4e32481955cd9b28721b3ce4b3e6c8def23c0b511848c97b28b4924d47a31f8 SHA512 d09a1c4e2abe0ad47b1e7ddf7cf7b1334c57a2406f3884b56eb7460a13f2ce3b76a01f96217cdcfbb452e33bbab41dd6a1f37d7702920d44d522061448ff6831 WHIRLPOOL c29cb8fe1caebc97328156bb217002aeefee0e2415383b25b7bae7bbc08d8be9305fb1fd65c80f70fedeba68a5125007c6a2c961efd65e6bdd2e939bb46b39c1 MISC metadata.xml 237 SHA256 7b16ab35f387f952afdef31d1d5d20f82b69ec2e8a55bbe7215cf78ea322755d SHA512 52882e327ceb9391938e5b9fdfcb2f0d9c7380f71bed273c84357ecb0f1f0d4e704d9c53e4791dda1d7eed5df2c4c029281de182a5076849b26718fc83462cc6 WHIRLPOOL 1b5ae26efb6a0d0edd3e21494e52dbc7cfd1621316057dc8d876280444ceb302c94109b4e780982943a7837f19de8f11c85f49b137d31f41d7c79db6387dab90 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQEcBAEBCAAGBQJUhfXtAAoJEOeBhlrCAAWGwdYH/0VWHpGyXvdGy+W7gPDf5PnW +yM1vvZWbyXYfvNLKulBpbhz99gJnSTp45H63AfMKsBHCZBgKCj9N+jKfViBVqhWm +pb2GEqht48yKT4Ftbqmnf87VC9QNoulvTojFvpRazFdCOszrxdDkSe9Dt4Dk1w7D +NUbTUvm/0qBVMMLulRpcf2gHl95pMyNMsmDY5n/bMk2ddzpWIAR+wW0wRScrrntJ +Jx3/Am5KfIqX0t0r5WqYdIE/P/wW1yyABO0uduMsWt+FdZ1/20U5TkQugtFcsO3H +Ntn4bxPTWKZGp268vdJEQGBvfE6Rf8XM+ZD1Ku81Rid9Skcxehonl5LUgmrk7iw= +=FQ8q +-----END PGP SIGNATURE----- diff --git a/dev-cpp/icnc/icnc-1.0.100.ebuild b/dev-cpp/icnc/icnc-1.0.100.ebuild new file mode 100644 index 000000000000..7f6b4284797b --- /dev/null +++ b/dev-cpp/icnc/icnc-1.0.100.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/icnc/icnc-1.0.100.ebuild,v 1.1 2014/12/08 19:03:02 ottxor Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils multilib python-any-r1 + +DESCRIPTION="Intel Concurrent Collections for C++ - Parallelism without the Pain" +HOMEPAGE="https://software.intel.com/en-us/articles/intel-concurrent-collections-for-cc" + +if [[ $PV = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/icnc/icnc.git" + KEYWORDS= +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="doc examples mpi test" +RESTRICT="test" #currently tests only work if icnc is already installed + +RDEPEND=" + >=dev-cpp/tbb-4.2 + sys-libs/glibc + mpi? ( virtual/mpi ) + " +DEPEND=" + ${RDEPEND} + test? ( ${PYTHON_DEPS} ) + " + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use mpi BUILD_LIBS_FOR_MPI) + -DLIB=$(get_libdir) + ) + cmake-utils_src_configure + if use test ; then + mycmakeargs=( -DRUN_DIST=OFF ) + CMAKE_USE_DIR="${S}/tests" \ + BUILD_DIR="${WORKDIR}/${P}_tests_build" \ + cmake-utils_src_configure + fi +} + +src_compile() { + cmake-utils_src_compile + use test && BUILD_DIR="${WORKDIR}/${P}_tests_build" cmake-utils_src_compile +} + +src_test() { + BUILD_DIR="${WORKDIR}/${P}_tests_build" cmake-utils_src_test +} + +src_install() { + cmake-utils_src_install + if use doc ; then + insinto /usr/share/doc/${P}/html + doins -r "${ED}"/usr/doc/api/* + fi + rm -r "${ED}"/usr/doc/api || die + rmdir "${ED}"/usr/doc || die + if use examples ; then + insinto /usr/share/${PN}/examples + doins -r "${ED}"/usr/samples/* + fi + rm -r "${ED}"/usr/samples || die + insinto /usr/share/${PN}/ + doins -r "${ED}"/usr/misc/* + rm -r "${ED}"/usr/misc/ || die +} diff --git a/dev-cpp/icnc/metadata.xml b/dev-cpp/icnc/metadata.xml new file mode 100644 index 000000000000..745b9e1ce74b --- /dev/null +++ b/dev-cpp/icnc/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>ottxor@gentoo.org</email> + <name>Christoph Junghans</name> + </maintainer> +</pkgmetadata> |