diff options
author | Benda Xu <heroxbd@gentoo.org> | 2023-07-29 10:36:44 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2023-07-29 10:54:56 +0800 |
commit | 781f83d7790d50472c14e9baee71d89f83679dfc (patch) | |
tree | 8f5fab74409df9a24ec678841d8c778e4d1038e8 /sci-libs | |
parent | sci-libs/hipBLAS: add 5.4.2 to stick to FHS header locations. (diff) | |
download | gentoo-781f83d7790d50472c14e9baee71d89f83679dfc.tar.gz gentoo-781f83d7790d50472c14e9baee71d89f83679dfc.tar.bz2 gentoo-781f83d7790d50472c14e9baee71d89f83679dfc.zip |
sci-libs/rocSOLVER: disable all the non-FHS symlinks.
Bug: https://bugs.gentoo.org/911400
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild b/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild index dce60e072b37..8088b8523a68 100644 --- a/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild +++ b/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild @@ -33,14 +33,6 @@ RESTRICT="!test? ( test )" S=${WORKDIR}/${PN}-rocm-${PV} -src_prepare() { - sed -e "s: PREFIX rocsolver:# PREFIX rocsolver:" -i library/src/CMakeLists.txt - sed -e "s:\$<INSTALL_INTERFACE\:include>:\$<INSTALL_INTERFACE\:include/rocsolver>:" -i library/src/CMakeLists.txt - sed -e "s:rocm_install_symlink_subdir( rocsolver ):#rocm_install_symlink_subdir( rocsolver ):" -i library/src/CMakeLists.txt - - cmake_src_prepare -} - src_configure() { # avoid sandbox violation addpredict /dev/kfd @@ -50,7 +42,8 @@ src_configure() { -DCMAKE_SKIP_RPATH=On -DAMDGPU_TARGETS="$(get_amdgpu_flags)" -Wno-dev - -DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include/rocsolver" + -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF + -DROCM_SYMLINK_LIBS=OFF -DBUILD_CLIENTS_SAMPLES=NO -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) |