From 30957304ca3be10bb9928c4c7e68572b63e639ef Mon Sep 17 00:00:00 2001 From: Thorsten Blass Date: Wed, 31 Jul 2024 06:14:01 -0400 Subject: [PATCH 1/2] Added a warning that shows up if someone wants to build AOMP for the untestet targets aarch64 or ppc64le. Since the targets are completly untested I added a warning instead of a comment. Even if the probability that these targets will be built is vanishingly small. In the long run maybe the complete logic for these targets can be removed from the scripts. --- bin/build_project.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/build_project.sh b/bin/build_project.sh index 932b7b868..a5bd3517e 100755 --- a/bin/build_project.sh +++ b/bin/build_project.sh @@ -37,6 +37,10 @@ REPO_DIR=$AOMP_REPOS/$AOMP_PROJECT_REPO_NAME patchrepo $REPO_DIR # End check-openmp prep +if [ "$AOMP_PROC" == "ppc64le" ] || [ "$AOMP_PROC" == "aarch64" ] ; then + echo "WARNING: You are about to build AOMP for the *untested* target $AOMP_PROC. Press enter to continue." + read +fi if [ "$AOMP_PROC" == "ppc64le" ] ; then COMPILERS="-DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7" From 7ac5c04d446ac86336c0df444f82a4a88b109e6e Mon Sep 17 00:00:00 2001 From: Thorsten Blass Date: Wed, 31 Jul 2024 07:02:22 -0400 Subject: [PATCH 2/2] removed "read" and added "sleep" instead. Script will wait for 6 seconds. --- bin/build_project.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/build_project.sh b/bin/build_project.sh index a5bd3517e..a8e57e63a 100755 --- a/bin/build_project.sh +++ b/bin/build_project.sh @@ -38,8 +38,8 @@ patchrepo $REPO_DIR # End check-openmp prep if [ "$AOMP_PROC" == "ppc64le" ] || [ "$AOMP_PROC" == "aarch64" ] ; then - echo "WARNING: You are about to build AOMP for the *untested* target $AOMP_PROC. Press enter to continue." - read + echo "WARNING: You are about to build AOMP for the *untested* target $AOMP_PROC." + sleep 6 fi if [ "$AOMP_PROC" == "ppc64le" ] ; then