From da950ffc4755bd6e7eb3beac6059a7b495d15801 Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Mon, 15 Jul 2024 12:54:47 -0400 Subject: [PATCH] fix hipRAND build with newer rocRAND - needs to be build now separately while earlier the rocRAND build and installed also the hipRAND Signed-off-by: Mika Laitio --- binfo/026_01_rocrand_hiprand.binfo | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/binfo/026_01_rocrand_hiprand.binfo b/binfo/026_01_rocrand_hiprand.binfo index 64c66f4..842e2bf 100755 --- a/binfo/026_01_rocrand_hiprand.binfo +++ b/binfo/026_01_rocrand_hiprand.binfo @@ -6,7 +6,11 @@ BINFO_APP_UPSTREAM_REPO_URL=https://github.com/ROCm/hipRAND.git #use default git tag #BINFO_APP_UPSTREAM_REPO_VERSION_TAG=rocm-5.7.1 -BINFO_APP_NO_CONFIG=1 -BINFO_APP_NO_BUILD=1 -BINFO_APP_NO_INSTALL=1 -BINFO_APP_NO_POSTINSTALL=1 +CFG_TEMP1=-DAMDGPU_TARGETS="${SEMICOLON_SEPARATED_GPU_TARGET_LIST_DEFAULT}" + +BINFO_APP_CMAKE_CFG="-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR_PREFIX_SDK_ROOT}" +BINFO_APP_CMAKE_CFG="${BINFO_APP_CMAKE_CFG} -DCMAKE_PREFIX_PATH=${INSTALL_DIR_PREFIX_SDK_ROOT}/lib64/cmake;${INSTALL_DIR_PREFIX_SDK_ROOT}/lib/cmake" +BINFO_APP_CMAKE_CFG="${BINFO_APP_CMAKE_CFG} ${CFG_TEMP1}" +BINFO_APP_CMAKE_CFG="${BINFO_APP_CMAKE_CFG} -DCMAKE_C_COMPILER=${SDK_C_COMPILER_DEFAULT}" +BINFO_APP_CMAKE_CFG="${BINFO_APP_CMAKE_CFG} -DCMAKE_CXX_COMPILER=${SDK_CXX_COMPILER_DEFAULT}" +BINFO_APP_CMAKE_CFG="${BINFO_APP_CMAKE_CFG} ${BINFO_APP_SRC_DIR}"