Skip to content

Commit

Permalink
[build_openmp] - Add ROCM_CMAKECONFIG_PATH to CMAKE_PREFIX_PATH. (#490)
Browse files Browse the repository at this point in the history
This is done to accomodate an additional search
path for asan builds.
  • Loading branch information
estewart08 authored Feb 21, 2023
1 parent 03864d8 commit 27804e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build_openmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ if [ "$AOMP_STANDALONE_BUILD" == 0 ]; then
fi

if [[ "$ROCM_DIR" =~ "/opt/rocm" ]]; then
COMMON_CMAKE_OPTS="$COMMON_CMAKE_OPTS -DCMAKE_PREFIX_PATH=$OUT_DIR/build/devicelibs;$INSTALL_PREFIX;$ROCM_DIR;$ROCM_DIR/include/hsa;$OUT_DIR"
COMMON_CMAKE_OPTS="$COMMON_CMAKE_OPTS -DCMAKE_PREFIX_PATH=$OUT_DIR/build/devicelibs;$INSTALL_PREFIX;$ROCM_DIR;$ROCM_DIR/include/hsa;$OUT_DIR;$ROCM_CMAKECONFIG_PATH"
else
COMMON_CMAKE_OPTS="$COMMON_CMAKE_OPTS -DCMAKE_PREFIX_PATH=$OUT_DIR/build/devicelibs;$ROCM_DIR;$ROCM_DIR/include/hsa"
fi
Expand Down

0 comments on commit 27804e3

Please sign in to comment.