summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-03 21:01:46 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-04 10:37:24 +0100
commit31e21551da418ddc7a177c7c869070e9acca817c (patch)
tree0ad1bfcfc7068989bcb92c3f4499f5a84cfd8c95 /dev-libs/rocm-device-libs
parent*/*: Switch games proj to cmake.eclass (diff)
downloadgentoo-31e21551da418ddc7a177c7c869070e9acca817c.tar.gz
gentoo-31e21551da418ddc7a177c7c869070e9acca817c.tar.bz2
gentoo-31e21551da418ddc7a177c7c869070e9acca817c.zip
*/*: Switch candrews' packages to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/rocm-device-libs')
-rw-r--r--dev-libs/rocm-device-libs/rocm-device-libs-3.0.0.ebuild5
-rw-r--r--dev-libs/rocm-device-libs/rocm-device-libs-9999.ebuild5
2 files changed, 4 insertions, 6 deletions
diff --git a/dev-libs/rocm-device-libs/rocm-device-libs-3.0.0.ebuild b/dev-libs/rocm-device-libs/rocm-device-libs-3.0.0.ebuild
index e0264de7479c..92ef9a203b00 100644
--- a/dev-libs/rocm-device-libs/rocm-device-libs-3.0.0.ebuild
+++ b/dev-libs/rocm-device-libs/rocm-device-libs-3.0.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils
+inherit cmake
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-Device-Libs/"
@@ -28,7 +28,6 @@ DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
diff --git a/dev-libs/rocm-device-libs/rocm-device-libs-9999.ebuild b/dev-libs/rocm-device-libs/rocm-device-libs-9999.ebuild
index 91d53a41976d..6a15eba4feea 100644
--- a/dev-libs/rocm-device-libs/rocm-device-libs-9999.ebuild
+++ b/dev-libs/rocm-device-libs/rocm-device-libs-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils
+inherit cmake
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-Device-Libs/"
@@ -28,7 +28,6 @@ DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/"
)
- cmake-utils_src_configure
+ cmake_src_configure
}