make the GFXLIST env variable work when building deviceRTLs for amdgcn
@@ -112,10 +112,12 @@ if [ "$GXXLOC" == "" ] ; then
exit 1
fi
+GFXSEMICOLONS=`echo $GFXLIST | tr ' ' ';' `
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++
+-DLIBOMPTARGET_AMDGCN_GFXLIST=$GFXSEMICOLONS
-DLIBOMP_COPY_EXPORTS=OFF "
if [ "$AOMP_BUILD_CUDA" == 1 ] ; then
