diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-03 21:01:46 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-04 10:37:24 +0100 |
commit | 31e21551da418ddc7a177c7c869070e9acca817c (patch) | |
tree | 0ad1bfcfc7068989bcb92c3f4499f5a84cfd8c95 /dev-libs/rocm-opencl-driver | |
parent | */*: Switch games proj to cmake.eclass (diff) | |
download | gentoo-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-opencl-driver')
-rw-r--r-- | dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.10.0.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.10.0.ebuild b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.10.0.ebuild index 7d1b111fda23..1afe25e122a5 100644 --- a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.10.0.ebuild +++ b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.10.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-OpenCL-Driver/" @@ -30,13 +30,12 @@ src_prepare() { # remove unittest, because it downloads additional file from github.com sed -e "s:add_subdirectory(src/unittest):#add_subdirectory(src/unittest):" -i CMakeLists.txt || die - cmake-utils_src_prepare + cmake_src_prepare } src_configure() { local mycmakeargs=( -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/" ) - cmake-utils_src_configure + cmake_src_configure } |