From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 717CE138334 for ; Tue, 3 Dec 2019 15:42:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE84AE0817; Tue, 3 Dec 2019 15:42:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 80020E0817 for ; Tue, 3 Dec 2019 15:42:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8517F34D740 for ; Tue, 3 Dec 2019 15:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 293748AD for ; Tue, 3 Dec 2019 15:42:02 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1575387650.b97d89544bcb14286919f9bed4d498b1202da646.heroxbd@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/opticks-okconf/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/opticks-okconf/metadata.xml sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild X-VCS-Directories: sci-physics/opticks-okconf/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: b97d89544bcb14286919f9bed4d498b1202da646 X-VCS-Branch: master Date: Tue, 3 Dec 2019 15:42:02 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 24781edb-9321-4b98-bd90-d77673a1e547 X-Archives-Hash: 1deb6a0522a35b9fc1868450b1490f88 commit: b97d89544bcb14286919f9bed4d498b1202da646 Author: Benda Xu gentoo org> AuthorDate: Tue Dec 3 15:39:44 2019 +0000 Commit: Benda XU gentoo org> CommitDate: Tue Dec 3 15:40:50 2019 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b97d8954 sci-physics/opticks-okconf: initial commit of 0.0.1_p20191110. This is included as a dependency of sci-physics/opticks. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Benda Xu gentoo.org> sci-physics/opticks-okconf/metadata.xml | 7 ++++ .../opticks-okconf-0.0.1_p20191110.ebuild | 42 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/sci-physics/opticks-okconf/metadata.xml b/sci-physics/opticks-okconf/metadata.xml new file mode 100644 index 000000000..7203fb853 --- /dev/null +++ b/sci-physics/opticks-okconf/metadata.xml @@ -0,0 +1,7 @@ + + + + + heroxbd@gentoo.org + + diff --git a/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild b/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild new file mode 100644 index 000000000..fa0a5e70c --- /dev/null +++ b/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit mercurial cmake-utils + +EHG_REPO_URI="https://bitbucket.org/simoncblyth/${PN//-*}" +EHG_REVISION="a580e704afe9d2c138072835e986542c835c29fc" + +DESCRIPTION="GPU Optical Photon Simulation for Particle Physics" +HOMEPAGE="https://simoncblyth.bitbucket.io" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-util/nvidia-cuda-toolkit:= + dev-libs/optix" +DEPEND="dev-util/cmake + dev-libs/boost + dev-util/bcm + dev-util/plog + ${RDEPEND}" + +src_prepare() { + cmake-utils_src_prepare + cuda_src_prepare + + rm -f CMakeLists.txt* || die +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_MODULE_PATH="${S}"/cmake/Modules + -DOptiX_INSTALL_DIR="${EPREFIX}/opt/optix" + -DCUDA_SDK_ROOT_DIR="${EPREFIX}/opt/cuda/sdk" + -DCOMPUTE_CAPABILITY=61 + -DCUDA_NVCC_FLAGS="${NVCCFLAGS}" + ) + CMAKE_USE_DIR=${S}/${PN##*-} cmake-utils_src_configure +}