@@ -55,7 +55,7 @@ def download_extract_library(url, download_dir):
5555)
5656
5757# 1 --- Download SuiteSparse
58- suitesparse_version = "5. 6.0"
58+ suitesparse_version = "6.0.3 "
5959suitesparse_url = (
6060 "https://github.com/DrTimothyAldenDavis/"
6161 + "SuiteSparse/archive/v{}.tar.gz" .format (suitesparse_version )
@@ -70,12 +70,14 @@ def download_extract_library(url, download_dir):
7070suitesparse_dir = "SuiteSparse-{}" .format (suitesparse_version )
7171suitesparse_src = os .path .join (download_dir , suitesparse_dir )
7272print ("-" * 10 , "Building SuiteSparse_config" , "-" * 40 )
73- make_cmd = ["make" , "library" ]
73+ make_cmd = [
74+ "make" ,
75+ "library" ,
76+ "CMAKE_OPTIONS=\" -DCMAKE_INSTALL_PREFIX={}\" " .format (install_dir ),
77+ ]
7478install_cmd = [
7579 "make" ,
7680 "install" ,
77- "INSTALL={}" .format (install_dir ),
78- "INSTALL_DOC=/tmp/doc" ,
7981]
8082print ("-" * 10 , "Building SuiteSparse" , "-" * 40 )
8183for libdir in ["SuiteSparse_config" , "AMD" , "COLAMD" , "BTF" , "KLU" ]:
@@ -84,7 +86,7 @@ def download_extract_library(url, download_dir):
8486 subprocess .run (install_cmd , cwd = build_dir )
8587
8688# 2 --- Download SUNDIALS
87- sundials_version = "5.1 .0"
89+ sundials_version = "6.5 .0"
8890sundials_url = (
8991 "https://github.com/LLNL/sundials/"
9092 + f"releases/download/v{ sundials_version } /sundials-{ sundials_version } .tar.gz"
0 commit comments