mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
check if git-lfs installed in travis
This commit is contained in:
parent
e4de659b12
commit
8a20f3cc0a
3 changed files with 120 additions and 113 deletions
|
|
@ -17,6 +17,13 @@ if [[ ! -d $ENDF/neutrons || ! -d $ENDF/photoat || ! -d $ENDF/atomic_relax ]]; t
|
|||
fi
|
||||
|
||||
# Download multipole library
|
||||
if [[ ! -d $HOME/WMP_Library ]]; then
|
||||
git lfs clone https://github.com/mit-crpg/WMP_Library.git
|
||||
if [[ ! -e $HOME/WMP_Library/092235.h5 ]]; then
|
||||
if [[ $(command -v git-lfs) ]]; then
|
||||
echo "Downloading WMP Library ..."
|
||||
git clone https://github.com/mit-crpg/WMP_Library.git wmp_repo
|
||||
mv wmp_repo/WMP_Library $HOME
|
||||
else
|
||||
echo "git lfs not found"
|
||||
unset OPENMC_MULTIPOLE_LIBRARY
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue