build_hipvdi.sh - Removed old cmake options for VDI and replaced them with ROCclr notation.
@@ -100,18 +100,16 @@ if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then
rm -rf $BUILD_DIR/build/hipvdi
fi
ROCclr_BUILD_DIR=$AOMP_REPOS/build/vdi
- VDI_ROOT=$AOMP_REPOS/$AOMP_VDI_REPO_NAME
+ ROCclr_ROOT=$AOMP_REPOS/$AOMP_VDI_REPO_NAME
MYCMAKEOPTS="$AOMP_ORIGIN_RPATH -DCMAKE_BUILD_TYPE=$BUILDTYPE \
-DCMAKE_INSTALL_PREFIX=$AOMP_INSTALL_DIR \
- -DLIBVDI_STATIC_DIR=$BUILD_DIR/build/vdi \
-DHIP_COMPILER=clang \
-DHIP_PLATFORM=rocclr \
- -DVDI_DIR=$VDI_ROOT \
-DROCM_PATH=$ROCM_DIR \
-DHSA_PATH=$ROCM_DIR/hsa \
-DCMAKE_MODULE_PATH=$ROCM_DIR/cmake \
- -DROCclr_DIR=$VDI_ROOT \
- -DLIBROCclr_STATIC_DIR="$ROCclr_BUILD_DIR" \
+ -DROCclr_DIR=$ROCclr_ROOT \
+ -DLIBROCclr_STATIC_DIR=$ROCclr_BUILD_DIR \
-DCMAKE_PREFIX_PATH=$ROCclr_BUILD_DIR;$ROCM_DIR/include;$ROCM_DIR;$ROCM_DIR/lib \
-DCMAKE_CXX_FLAGS=-Wno-ignored-attributes "
# -DLLVM_INCLUDES=$ROCM_DIR/include "
