correct the location of the openmp source within llvm-project
@@ -145,9 +145,8 @@ if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then
echo "Use ""$0 nocmake"" or ""$0 install"" to avoid FRESH START."
if [ $COPYSOURCE ] ; then
- mkdir -p $BUILD_DIR/openmp
- echo rsync -av --exclude ".git" --delete $AOMP_REPOS/$AOMP_PROJECT_REPO_NAME/openmp/ $BUILD_DIR/openmp/
- rsync -av --exclude ".git" --delete $AOMP_REPOS/$AOMP_PROJECT_REPO_NAME/openmp/ $BUILD_DIR/openmp/
+ echo rsync -av --exclude ".git" --delete $AOMP_REPOS/$AOMP_PROJECT_REPO_NAME/openmp/ $BUILD_DIR/$AOMP_PROJECT_REPO_NAME/openmp/
+ rsync -av --exclude ".git" --delete $AOMP_REPOS/$AOMP_PROJECT_REPO_NAME/openmp/ $BUILD_DIR/$AOMP_PROJECT_REPO_NAME/openmp/
fi
echo rm -rf $BUILD_DIR/build/openmp
@@ -156,8 +155,8 @@ if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then
mkdir -p $BUILD_DIR/build/openmp
cd $BUILD_DIR/build/openmp
echo " -----Running openmp cmake ---- "
- echo cmake $MYCMAKEOPTS $BUILD_DIR/openmp
- cmake $MYCMAKEOPTS $BUILD_DIR/openmp
+ echo cmake $MYCMAKEOPTS $BUILD_DIR/$AOMP_PROJECT_REPO_NAME/openmp
+ cmake $MYCMAKEOPTS $BUILD_DIR/$AOMP_PROJECT_REPO_NAME/openmp
if [ $? != 0 ] ; then
echo "ERROR openmp cmake failed. Cmake flags"
echo " $MYCMAKEOPTS"
@@ -171,8 +170,8 @@ if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then
cd $BUILD_DIR/build/openmp_debug
echo
echo " -----Running openmp cmake for debug ---- "
- echo cmake $MYCMAKEOPTS $BUILD_DIR/openmp
- cmake $MYCMAKEOPTS $BUILD_DIR/openmp
+ echo cmake $MYCMAKEOPTS $BUILD_DIR/$AOMP_PROJECT_REPO_NAME/openmp
+ cmake $MYCMAKEOPTS $BUILD_DIR/$AOMP_PROJECT_REPO_NAME/openmp
if [ $? != 0 ] ; then
echo "ERROR openmp debug cmake failed. Cmake flags"
echo " $MYCMAKEOPTS"
