diff --git a/Project.toml b/Project.toml index 9e9b9b3e..21cba784 100644 --- a/Project.toml +++ b/Project.toml @@ -19,7 +19,7 @@ Pkg = "<0.0.1, 1" Printf = "<0.0.1, 1" Random = "<0.0.1, 1" Serialization = "<0.0.1, 1" -SuiteSparse_jll = "7.8.0" +SuiteSparse_jll = "7.10.1" Test = "<0.0.1, 1" julia = "1.11" diff --git a/gen/.gitignore b/gen/.gitignore new file mode 100644 index 00000000..35369f87 --- /dev/null +++ b/gen/.gitignore @@ -0,0 +1 @@ +SuiteSparse* \ No newline at end of file diff --git a/gen/Makefile b/gen/Makefile new file mode 100755 index 00000000..e19103fc --- /dev/null +++ b/gen/Makefile @@ -0,0 +1,13 @@ +VER=7.10.1 + +all: clean download + mkdir -p SuiteSparse-$(VER) + cd SuiteSparse-$(VER) && tar -zxvf ../SuiteSparse.v$(VER).x86_64-linux-gnu.tar.gz + julia --project -e "using Pkg; Pkg.instantiate()" + julia --project generator.jl ./SuiteSparse-$(VER) + +clean: + rm -fr *.tar.gz SuiteSparse* + +download: + curl -L -O https://github.com/JuliaBinaryWrappers/SuiteSparse_jll.jl/releases/download/SuiteSparse-v$(VER)%2B0/SuiteSparse.v$(VER).x86_64-linux-gnu.tar.gz diff --git a/gen/README.md b/gen/README.md index f0c3bd5c..c98d87a4 100644 --- a/gen/README.md +++ b/gen/README.md @@ -1,15 +1,10 @@ # How to auto-generate the wrappers 1. `cd` to this directory -2. run `julia --project generator.jl`, then you could find the updated wrappers in the `lib` folder +2. Update the SuiteSparse version in `Makefile` +3. run `make`, then you could find the updated wrappers in the `lib` folder -## How to upgrade SuiteSparse_jll - -1. update `SuiteSparse_jll` in Yggdrasil to the desired version -2. `cd` to this directory -3. run `julia --project generator.jl ` - -## How to upgrade Clang.jl +# How to upgrade Clang.jl 1. `cd` to this directory 2. if you want to change major version, change the compat bound in `Project.toml`. diff --git a/src/solvers/wrappers.jl b/src/solvers/wrappers.jl index 20c4e0ec..c528976e 100644 --- a/src/solvers/wrappers.jl +++ b/src/solvers/wrappers.jl @@ -3364,13 +3364,13 @@ const CHOLMOD_INT = 0 const CHOLMOD_LONG = 2 -const CHOLMOD_DATE = "June 20, 2024" +const CHOLMOD_DATE = "Feb 20, 2025" const CHOLMOD_MAIN_VERSION = 5 const CHOLMOD_SUB_VERSION = 3 -const CHOLMOD_SUBSUB_VERSION = 0 +const CHOLMOD_SUBSUB_VERSION = 1 SUITESPARSE_VER_CODE(main, sub) = main * 1000 + sub @@ -3404,23 +3404,23 @@ const SUITESPARSE_COMPILER_XLC = 0 const SUITESPARSE_TIME = SuiteSparse_time() -const SUITESPARSE_DATE = "Oct 10, 2024" +const SUITESPARSE_DATE = "Mar 6, 2025" const SUITESPARSE_MAIN_VERSION = 7 -const SUITESPARSE_SUB_VERSION = 8 +const SUITESPARSE_SUB_VERSION = 10 -const SUITESPARSE_SUBSUB_VERSION = 3 +const SUITESPARSE_SUBSUB_VERSION = 1 -const SUITESPARSE_VERSION = SUITESPARSE_VER_CODE(7, 8) +const SUITESPARSE_VERSION = SUITESPARSE_VER_CODE(7, 10) function SUITESPARSE__VERCODE(main, sub, patch) return (main * Culonglong(1000) + sub) * Culonglong(1000) + patch end -const SUITESPARSE__VERSION = SUITESPARSE__VERCODE(7, 8, 3) +const SUITESPARSE__VERSION = SUITESPARSE__VERCODE(7, 10, 1) -const CHOLMOD__VERSION = SUITESPARSE__VERCODE(5, 3, 0) +const CHOLMOD__VERSION = SUITESPARSE__VERCODE(5, 3, 1) const CHOLMOD_DEVICE_SUPERNODE_BUFFERS = 6