stop writing to source exports directory and remove unused CMAKE_BUILD_CUDA variable
@@ -115,7 +115,8 @@ fi
COMMON_CMAKE_OPTS="-DOPENMP_ENABLE_LIBOMPTARGET=1
-DCMAKE_INSTALL_PREFIX=$INSTALL_OPENMP
-DOPENMP_TEST_C_COMPILER=$AOMP/bin/clang
--DOPENMP_TEST_CXX_COMPILER=$AOMP/bin/clang++ "
+-DOPENMP_TEST_CXX_COMPILER=$AOMP/bin/clang++
+-DLIBOMP_COPY_EXPORTS=OFF "
if [ "$AOMP_BUILD_CUDA" == 1 ] ; then
COMMON_CMAKE_OPTS="$COMMON_CMAKE_OPTS
@@ -123,8 +124,7 @@ if [ "$AOMP_BUILD_CUDA" == 1 ] ; then
-DLIBOMPTARGET_NVPTX_CUDA_COMPILER=$AOMP/bin/clang++
-DLIBOMPTARGET_NVPTX_ALTERNATE_HOST_COMPILER=$GCCLOC
-DLIBOMPTARGET_NVPTX_BC_LINKER=$AOMP/bin/llvm-link
--DLIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES=$NVPTXGPUS
--DCMAKE_BUILD_CUDA=1"
+-DLIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES=$NVPTXGPUS"
fi
# This is how we tell the hsa plugin where to find hsa
