-
Notifications
You must be signed in to change notification settings - Fork 1
Add support for optarch=GENERIC. #2
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
Conversation
EESSI-pilot-2020.09.sh
Outdated
|
|
||
| DETECTION_PARAMETERS='' | ||
| GENERIC=0 | ||
| EB='echo eb' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strip out the echo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./shame
EESSI-pilot-2020.09.sh
Outdated
| echo_yellow ">> GENERIC build requested, taking appropriate measures!" | ||
| DETECTION_PARAMETERS="$DESTINATION_PARAMETERS --generic" | ||
| GENERIC=1 | ||
| EB='echo eb --optarch=GENERIC' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo should also be removed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./more_shame
EESSI-pilot-2020.09.sh
Outdated
| EB='echo eb' | ||
| if [[ "$1" == "--generic" || "$EASYBUILD_OPTARCH" == "GENERIC" ]]; then | ||
| echo_yellow ">> GENERIC build requested, taking appropriate measures!" | ||
| DETECTION_PARAMETERS="$DESTINATION_PARAMETERS --generic" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/DESTINATION_PARAMETERS/DETECTION_PARAMETERS/?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what I get for using VIM on a remote host! :)
let build script also define $EESSI_SOFTWAREPATH, so it can be used by hooks to inject RPATH override path
move CPU arch specifications to separate spec files
Sync with EESSI/software-layer
Now against the correct branch...