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-runtime | |
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-runtime')
-rw-r--r-- | dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.0.0.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.0.0.ebuild b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.0.0.ebuild index b57b49b69659..74ef3eeac923 100644 --- a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.0.0.ebuild +++ b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.0.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake-utils +inherit cmake OPENCL_ICD_COMMIT="6c03f8b58fafd9dd693eaac826749a5cfad515f8" SRC_URI="https://github.com/KhronosGroup/OpenCL-ICD-Loader/archive/${OPENCL_ICD_COMMIT}.tar.gz -> OpenCL-ICD-Loader-${OPENCL_ICD_COMMIT}.tar.gz" @@ -44,7 +44,7 @@ src_prepare() { mkdir -p "${S}"/api/opencl/khronos/ || die mv "${WORKDIR}/OpenCL-ICD-Loader-${OPENCL_ICD_COMMIT}" "${S}"/api/opencl/khronos/icd || die [ -d tools/clinfo ] && rm -rf tools/clinfo || die - cmake-utils_src_prepare + cmake_src_prepare } src_configure() { @@ -52,7 +52,6 @@ src_configure() { -DUSE_COMGR_LIBRARY=yes -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/" -DClang_DIR="${EPREFIX}/usr/lib/llvm/roc/lib/cmake/clang/" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/" ) - cmake-utils_src_configure + cmake_src_configure } |