fix cmake warnings when building openmp by removing unused cmake vars
@@ -63,7 +63,6 @@ export LLVM_DIR=$AOMP_INSTALL_DIR
GFXSEMICOLONS=`echo $GFXLIST | tr ' ' ';' `
ALTAOMP=${ALTAOMP:-$AOMP}
COMMON_CMAKE_OPTS="-DOPENMP_ENABLE_LIBOMPTARGET=1
--DOPENMP_ENABLE_LIBOMPTARGET_HSA=1
-DCMAKE_INSTALL_PREFIX=$INSTALL_OPENMP
-DOPENMP_TEST_C_COMPILER=$AOMP/bin/clang
-DOPENMP_TEST_CXX_COMPILER=$AOMP/bin/clang++
@@ -73,7 +72,6 @@ COMMON_CMAKE_OPTS="-DOPENMP_ENABLE_LIBOMPTARGET=1
-DDEVICELIBS_ROOT=$DEVICELIBS_ROOT
-DLIBOMP_COPY_EXPORTS=OFF
-DLIBOMPTARGET_ENABLE_DEBUG=ON
--DAOMP_STANDALONE_BUILD=$AOMP_STANDALONE_BUILD
-DLLVM_DIR=$LLVM_DIR"
@@ -114,7 +112,7 @@ if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then
echo "Use ""$0 nocmake"" or ""$0 install"" to avoid FRESH START."
echo rm -rf $BUILD_DIR/build/openmp
rm -rf $BUILD_DIR/build/openmp
- MYCMAKEOPTS="$COMMON_CMAKE_OPTS -DCMAKE_BUILD_TYPE=Release $AOMP_ORIGIN_RPATH -DROCM_DIR=$ROCM_DIR"
+ MYCMAKEOPTS="$COMMON_CMAKE_OPTS -DCMAKE_BUILD_TYPE=Release $AOMP_ORIGIN_RPATH"
mkdir -p $BUILD_DIR/build/openmp
cd $BUILD_DIR/build/openmp
echo " -----Running openmp cmake ---- "
