Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ echo "Installing examples to $path/example"
echo ""

rm -rf $installPath
rm -rf sundials-master
rm -rf sundials-5.8.0

echo "download from github: \n wget https://codeload.github.com/LLNL/sundials/zip/master"
wget -c https://codeload.github.com/LLNL/sundials/zip/master -O sundials-master.zip
#echo "download from github: \n wget https://codeload.github.com/LLNL/sundials/zip/master"
#wget -c https://codeload.github.com/LLNL/sundials/zip/master -O sundials-master.zip

echo "unzip sundials-master.zip"
unzip sundials-master.zip
echo "tar -zxvf sundials-5.8.0.tar.gz" #直接在文件里提供sundial-5.8.0安装包
tar -zxvf sundials-5.8.0.tar.gz

mkdir $installPath
echo "cd $installPath"
Expand All @@ -42,7 +42,7 @@ cmake -DCMAKE_INSTALL_PREFIX=$path \
-DBUILD_IDAS=OFF \
-DBUILD_KINSOL=OFF \
-DOPENMP_ENABLE=OFF \
../../sundials-master
../../sundials-5.8.0

echo "make"
make
Expand Down