Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a warning that shows up if someone wants to build AOMP for the untested targets aarch64 or ppc64le #1014

Open
wants to merge 2 commits into
base: aomp-dev
Choose a base branch
from

Conversation

ThorBl
Copy link
Contributor

@ThorBl ThorBl commented Jul 31, 2024

Since the targets are completely untested, I added a warning instead of a comment. The complete logic for these targets may be removed from the scripts in the long run.

…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.
@ThorBl ThorBl self-assigned this Jul 31, 2024
@ThorBl ThorBl requested a review from jplehr July 31, 2024 10:20
@ThorBl ThorBl changed the title I added a warning that shows up if someone wants to build AOMP for the untested targets aarch64 or ppc64le Added a warning that shows up if someone wants to build AOMP for the untested targets aarch64 or ppc64le Jul 31, 2024
@@ -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.

Copy link
Contributor

@jplehr jplehr left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants