File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 22
33METIS=metis-5.1.0
44
5- wget -nv http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METIS} .tar.gz
6- tar -xvzf ${METIS} .tar.gz
7- rm -f ${METIS} .tar.gz
8- cd ${METIS} || exit
5+ curl -k -L " http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METIS} .tar.gz" --output " ${METIS} .tar.gz "
6+ tar -xvzf " ${METIS} .tar.gz"
7+ rm -f " ${METIS} .tar.gz"
8+ cd " ${METIS} " || exit
99sed -i.bak -e ' s/IDXTYPEWIDTH 32/IDXTYPEWIDTH 64/g' include/metis.h
1010
1111# Fix GKlib on Windows: https://github.com/jlblancoc/suitesparse-metis-for-windows/issues/6
@@ -18,4 +18,4 @@ cmake --build . --config "Release" --target ALL_BUILD
1818cp libmetis/Release/metis.lib /c/Program\ Files\ \( x86\) /Microsoft\ Visual\ Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/lib/x64
1919cp ../include/metis.h /c/Program\ Files\ \( x86\) /Microsoft\ Visual\ Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/include
2020
21- rm -f ${METIS}
21+ rm -f " ${METIS} "
Original file line number Diff line number Diff line change 22
33METIS=metis-5.1.0
44
5- wget -nv http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METIS} .tar.gz
6- tar -xvzf ${METIS} .tar.gz
7- rm -f ${METIS} .tar.gz
8- cd ${METIS} || exit
5+ wget -nv " http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METIS} .tar.gz"
6+ tar -xvzf " ${METIS} .tar.gz"
7+ rm -f " ${METIS} .tar.gz"
8+ cd " ${METIS} " || exit
99sed -i.bak -e ' s/IDXTYPEWIDTH 32/IDXTYPEWIDTH 64/g' include/metis.h
1010
1111make config
1212make
1313sudo make install
1414
15- rm -f ${METIS}
15+ rm -f " ${METIS} "
You can’t perform that action at this time.
0 commit comments