public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-physics/opticks-okconf/
@ 2019-12-03 15:42 Benda XU
  0 siblings, 0 replies; 2+ messages in thread
From: Benda XU @ 2019-12-03 15:42 UTC (permalink / raw
  To: gentoo-commits

commit:     b97d89544bcb14286919f9bed4d498b1202da646
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  3 15:39:44 2019 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> 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 <heroxbd <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>heroxbd@gentoo.org</email>
+	</maintainer>
+</pkgmetadata>

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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/opticks-okconf/
@ 2021-01-30 14:49 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-01-30 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     cb2d8c43cb9048963f71fc3df9f2c1d00bee41d1
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Jan 30 14:49:02 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jan 30 14:49:02 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=cb2d8c43

sci-physics/opticks-okconf: cmake-utils --> cmake

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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
index 1b67f2751..c880f4f8b 100644
--- a/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild
+++ b/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit mercurial cmake-utils cuda
+inherit mercurial cmake cuda
 
 EHG_REPO_URI="https://bitbucket.org/simoncblyth/${PN//-*}"
 EHG_REVISION="a580e704afe9d2c138072835e986542c835c29fc"
@@ -28,7 +28,7 @@ PATCHES=(
 )
 
 src_prepare() {
-	cmake-utils_src_prepare
+	cmake_src_prepare
 	cuda_src_prepare
 
 	rm -f CMakeLists.txt* || die
@@ -42,5 +42,5 @@ src_configure() {
 		-DCOMPUTE_CAPABILITY=61
 		-DCUDA_NVCC_FLAGS="${NVCCFLAGS}"
 	)
-	CMAKE_USE_DIR=${S}/${PN##*-} cmake-utils_src_configure
+	CMAKE_USE_DIR=${S}/${PN##*-} cmake_src_configure
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-30 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-30 14:49 [gentoo-commits] proj/sci:master commit in: sci-physics/opticks-okconf/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2019-12-03 15:42 Benda XU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox