sci-libs/composable-kernel: use rocm_add_sandbox in configure phase

During configuration we don't care if AMD device is present (contrarily
to test phase). New function rocm_add_sandbox does not die when AMD
device is missing.

Closes: https://bugs.gentoo.org/965198
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44355
Closes: https://github.com/gentoo/gentoo/pull/44355
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2025-10-28 03:09:43 +08:00
committed by Sam James
parent 276eb87f41
commit a033b27545

View File

@@ -125,7 +125,7 @@ src_configure() {
# rocminfo call during configuration; should not happen
# Bug: https://github.com/ROCm/composable_kernel/issues/2994
check_amdgpu
rocm_add_sandbox -w
addpredict /dev/random
cmake_src_configure