From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-cpp/icnc/Manifest | 3 ++ dev-cpp/icnc/icnc-1.0.100.ebuild | 77 ++++++++++++++++++++++++++++++++++++++++ dev-cpp/icnc/metadata.xml | 11 ++++++ 3 files changed, 91 insertions(+) create mode 100644 dev-cpp/icnc/Manifest create mode 100644 dev-cpp/icnc/icnc-1.0.100.ebuild create mode 100644 dev-cpp/icnc/metadata.xml (limited to 'dev-cpp/icnc') diff --git a/dev-cpp/icnc/Manifest b/dev-cpp/icnc/Manifest new file mode 100644 index 000000000000..a5805890efa4 --- /dev/null +++ b/dev-cpp/icnc/Manifest @@ -0,0 +1,3 @@ +DIST icnc-1.0.100.tar.gz 27164070 BLAKE2B 74c9e79b3d8fa0f75ee924910bde79bf0ac1535ce0e7e5e74dcac33a8219f574aadf7382a8d73ae281858ee3ae8f186ca55d33c22dfce223d1bb84c28ca42ddf SHA512 b6c231504ed36676d5c4a9c651c7ce6bee078a415c8d365dbe66208a5226a71c62924ee7bc0b36f8c35bff20ed5f0baf2710f581595d08fe10a1d799b3982a8b +EBUILD icnc-1.0.100.ebuild 1765 BLAKE2B 575dcd97198ffb042f9e2c0a81a975314059571080bef1100fb7b09703aa6bac435e5288db3e2ad830a4d9833d966dd2a0d0730323f8379ab51fb078bedacf2a SHA512 8604fc5c7e9083a3bdb8ce1836125114ad16bfa813a6b0878b8ad4f51bed45390a4edb1014fc45468ceaae62bd0182f398960f77e0a3d433a3161f0ee7c091b0 +MISC metadata.xml 337 BLAKE2B 63b9db2b1be346292e3cdf58b658a95edb79a945624fac74bbd8b636cf2b766beb045735b3c3ae4299cb12008a0094445bfe315624e5ec2117f83dc10452da62 SHA512 50bfdd67e0a941f429e069d7c39815eba258d1f268c51d40ee38f63e44343dae130fe541ca5529eb19ea25f4e8a3619003db43477541ca5ece1b9639e086e5aa 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..85a28e528c1d --- /dev/null +++ b/dev-cpp/icnc/icnc-1.0.100.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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} + doc? ( app-doc/doxygen ) + test? ( ${PYTHON_DEPS} ) + " + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use mpi BUILD_LIBS_FOR_MPI) + -DLIB=$(get_libdir) + $(cmake-utils_use_find_package doc Doxygen) + ) + 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 -fr "${ED}"/usr/doc + 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..fa8784ee0534 --- /dev/null +++ b/dev-cpp/icnc/metadata.xml @@ -0,0 +1,11 @@ + + + + + junghans@gentoo.org + Christoph Junghans + + + icnc/icnc + + -- cgit v1.2.3