Skip to content

Commit

Permalink
Update Project.toml
Browse files Browse the repository at this point in the history
Use Julia 1.10 and clang 0.14
Update to use SuiteSparse 7
  • Loading branch information
ViralBShah committed Aug 22, 2023
1 parent 9397ae9 commit f140b52
Show file tree
Hide file tree
Showing 5 changed files with 1,837 additions and 3,369 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Sundials"
uuid = "c3572dad-4567-51f8-b174-8c6c989267f4"
authors = ["Chris Rackauckas <[email protected]>"]
version = "4.19.4"
version = "4.20"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand All @@ -23,8 +23,8 @@ DiffEqBase = "6.122"
Reexport = "0.2, 1.0"
SciMLBase = "1.92"
PrecompileTools = "1"
Sundials_jll = "5.2"
julia = "1.6"
Sundials_jll = "6"
julia = "1.10"

[extras]
AlgebraicMultigrid = "2169fc97-5a83-5252-b627-83903c6c433c"
Expand Down
3 changes: 2 additions & 1 deletion gen/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[deps]
Clang = "40e3b903-d033-50b4-a0cc-940c62c95e31"
MLStyle = "d8e11817-5142-5d16-987a-aa16d5891078"
Sundials = "c3572dad-4567-51f8-b174-8c6c989267f4"
Sundials_jll = "fb77eaff-e24c-56d4-86b1-d163f2edb164"

[compat]
Clang = "0.14.0"
Clang = "0.17"
6 changes: 3 additions & 3 deletions gen/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,15 @@ include_dir = joinpath(Sundials_jll.artifact_dir, "include") |> normpath

artifact_toml = joinpath(dirname(pathof(Sundials_jll.SuiteSparse_jll)), "..",
"StdlibArtifacts.toml")
suitespase_dir = Pkg.Artifacts.ensure_artifact_installed("SuiteSparse", artifact_toml)
suitespase_include_sir = joinpath(suitespase_dir, "include")
suitesparse_dir = Pkg.Artifacts.ensure_artifact_installed("SuiteSparse", artifact_toml)
suitesparse_include_sir = joinpath(suitesparse_dir, "include")

# wrapper generator options
options = load_options(joinpath(@__DIR__, "generate.toml"))

# add compiler flags, e.g. "-DXXXXXXXXX"
args = get_default_args()
push!(args, "-I$include_dir", "-isystem$suitespase_include_sir")
push!(args, "-I$include_dir", "-isystem$suitesparse_include_sir")

library_names = Dict(raw"sundials[\\/].+" => "libsundials_sundials",
raw"sunnonlinsol[\\/].+" => "libsundials_sunnonlinsol",
Expand Down
Loading

0 comments on commit f140b52

Please sign in to comment.