Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bin/build_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if someone runs the build and redirects all output to a log file, will this hang waiting for a keyboard response ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it will hang. I only tested it with "|& tee". I will use sleep instead.

fi

if [ "$AOMP_PROC" == "ppc64le" ] ; then
COMPILERS="-DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7"
Expand Down