From e8e4b8bff3358af978f37481abd30e97f09cc3c9 Mon Sep 17 00:00:00 2001 From: GuoJiaLe <92572554+GISerGJL@users.noreply.github.com> Date: Thu, 19 May 2022 22:27:06 +0800 Subject: [PATCH] Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新自动安装脚本 --- configure | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 0a016c5..0c096c1 100755 --- a/configure +++ b/configure @@ -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" @@ -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