-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create build script to install nvhpc
- Loading branch information
Showing
3 changed files
with
314 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
set +x | ||
echo "Starting build.sh" | ||
|
||
# set environment variables for non-interactive nvhpc installation | ||
export NVHPC_SILENT="true" | ||
export NVHPC_INSTALL_DIR=$PREFIX | ||
export NVHPC_INSTALL_TYPE="auto" | ||
|
||
# run nvhpc installation script | ||
./install | ||
|
||
# allow user to troubleshoot build directories before they are cleaned up | ||
touch WORKING | ||
while [ -f "WORKING" ]; do | ||
sleep 1 | ||
done | ||
echo "File 'WORKING' no longer exists! Continuing execution..." |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters