Skip to content

Commit

Permalink
create build script to install nvhpc
Browse files Browse the repository at this point in the history
  • Loading branch information
joshkamm committed Jan 27, 2025
1 parent b102a3b commit 7c1fa8b
Show file tree
Hide file tree
Showing 3 changed files with 314 additions and 3 deletions.
17 changes: 17 additions & 0 deletions build.sh
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..."
297 changes: 295 additions & 2 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ channels = [
[tasks]

[dependencies]
pixi-nvhpc-recipe = {path = "."}
cxx-compiler = ">=1.9.0,<2"
pixi-nvhpc-recipe = {path = "."}

0 comments on commit 7c1fa8b

Please sign in to comment.