From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 954E91389E2 for ; Tue, 9 Dec 2014 17:58:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0792AE0B00; Tue, 9 Dec 2014 17:58:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A41F9E0B00 for ; Tue, 9 Dec 2014 17:58:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CBFCE340597 for ; Tue, 9 Dec 2014 17:58:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00B68BFE5 for ; Tue, 9 Dec 2014 17:58:31 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1418147903.9e2a159222788527db8ae706731918f872842e4b.ottxor@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-cpp/icnc/ X-VCS-Repository: proj/sci X-VCS-Files: dev-cpp/icnc/ChangeLog dev-cpp/icnc/icnc-9999.ebuild X-VCS-Directories: dev-cpp/icnc/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 9e2a159222788527db8ae706731918f872842e4b X-VCS-Branch: master Date: Tue, 9 Dec 2014 17:58:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 396b8983-7c46-42df-a818-7e7d258a9c05 X-Archives-Hash: 8a262ffebffe7b88101173e62ac3baf1 commit: 9e2a159222788527db8ae706731918f872842e4b Author: Christoph Junghans gentoo org> AuthorDate: Mon Dec 8 19:03:46 2014 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Tue Dec 9 17:58:23 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9e2a1592 sync with gx86 Package-Manager: portage-2.2.14 --- dev-cpp/icnc/ChangeLog | 3 +++ dev-cpp/icnc/icnc-9999.ebuild | 29 +++++++++++++++++++++++++---- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/dev-cpp/icnc/ChangeLog b/dev-cpp/icnc/ChangeLog index 93bd943..133507f 100644 --- a/dev-cpp/icnc/ChangeLog +++ b/dev-cpp/icnc/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 08 Dec 2014; Christoph Junghans icnc-9999.ebuild: + sync with gx86 + 21 Nov 2014; Christoph Junghans icnc-9999.ebuild: fixed install location diff --git a/dev-cpp/icnc/icnc-9999.ebuild b/dev-cpp/icnc/icnc-9999.ebuild index 68a3a29..8d4f5dd 100644 --- a/dev-cpp/icnc/icnc-9999.ebuild +++ b/dev-cpp/icnc/icnc-9999.ebuild @@ -4,7 +4,9 @@ EAPI=5 -inherit cmake-utils multilib +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" @@ -20,14 +22,18 @@ fi LICENSE="BSD" SLOT="0" -IUSE="doc examples mpi" +IUSE="doc examples mpi test" +RESTRICT="test" #currently tests only work if icnc is already installed -DEPEND=" +RDEPEND=" >=dev-cpp/tbb-4.2 sys-libs/glibc mpi? ( virtual/mpi ) " -RDEPEND="${DEPEND}" +DEPEND=" + ${RDEPEND} + test? ( ${PYTHON_DEPS} ) + " src_configure() { local mycmakeargs=( @@ -35,6 +41,21 @@ src_configure() { -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() {