Skip to content

Commit

Permalink
fix hipRAND build with newer rocRAND
Browse files Browse the repository at this point in the history
- needs to be build now separately while
  earlier the rocRAND build and installed
  also the hipRAND

Signed-off-by: Mika Laitio <[email protected]>
  • Loading branch information
lamikr committed Jul 15, 2024
1 parent a2c755d commit da950ff
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions binfo/026_01_rocrand_hiprand.binfo
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit da950ff

Please sign in to comment.