Skip to content

Commit

Permalink
Add init_spack script to be used by subsection scripts (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgamblin committed Jul 27, 2020
1 parent 425ab82 commit 732a8c1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions outputs/init_spack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

if [ ! -d spack ]; then
git clone https://github.com/spack/spack
cd spack
git checkout releases/v0.15
else
cd spack
fi

. share/spack/setup-env.sh

spack mirror add tutorial /mirror
spack gpg trust /mirror/public.key
spack config add 'config:suppress_gpg_warnings:true'

0 comments on commit 732a8c1

Please sign in to comment.