Skip to content

Commit

Permalink
Add support for v9.5.2 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Apr 26, 2024
1 parent ef1ade2 commit 3bed71a
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
24 changes: 12 additions & 12 deletions Artifacts.toml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
[[Gurobi]]
git-tree-sha1 = "e5a1709f11c0316906d4c29c91fe948e31eca4d8"
git-tree-sha1 = "f111a64802226b52a1124a893037f3b709ac9550"
arch = "x86_64"
os = "linux"

[[Gurobi.download]]
sha256 = "cf2c31557f2097f046b77279fca84469c2552df99d182edc29b4eed2bfb7c623"
url = "https://anaconda.org/Gurobi/gurobi/11.0.1/download/linux-64/gurobi-11.0.1-py311_0.tar.bz2"
sha256 = "8f16c42c08283075f89c82504977b84c600d0a03fdca24d34c79c9900ea33bb2"
url = "https://anaconda.org/Gurobi/gurobi/9.5.2/download/linux-64/gurobi-9.5.2-py310_0.tar.bz2"
[[Gurobi]]
git-tree-sha1 = "48494ffef82cbb1907e4dc8974431fe60a12ef06"
git-tree-sha1 = "2bce4e25b58ea60d00ac672bd7d117f5f26bd395"
arch = "x86_64"
os = "macos"

[[Gurobi.download]]
sha256 = "9149b4978b2a38c800f88f7739fc2e7f7c7a3c3879d9a6128ad0b2e394f75971"
url = "https://anaconda.org/Gurobi/gurobi/11.0.1/download/osx-64/gurobi-11.0.1-py311_0.tar.bz2"
sha256 = "0d1500d86a7775c7fdb377bd5a12096f78779d9741abcc567acda17c0b45796e"
url = "https://anaconda.org/Gurobi/gurobi/9.5.2/download/osx-64/gurobi-9.5.2-py310_0.tar.bz2"
[[Gurobi]]
git-tree-sha1 = "e31ba8cbc0b98c106fd94967853e6f9f7125c57b"
git-tree-sha1 = "57d2291e8380da4a9dbcd3df4e8db8b6dd6bc332"
arch = "aarch64"
os = "macos"

[[Gurobi.download]]
sha256 = "8a2e240d58c363e054a20ccdc36c871a7f9cf997e0c67b6af6885a513478a407"
url = "https://anaconda.org/Gurobi/gurobi/11.0.1/download/osx-arm64/gurobi-11.0.1-py311_0.tar.bz2"
sha256 = "f51a746369772498172bda0f6d2ea60d8cc801f50d93e286aa5f2f52a9bc2663"
url = "https://anaconda.org/Gurobi/gurobi/9.5.2/download/osx-arm64/gurobi-9.5.2-py310_0.tar.bz2"
[[Gurobi]]
git-tree-sha1 = "e7c39e382225079b8ca4049fbb89d693431e5693"
git-tree-sha1 = "05576aae0d17e7b421b1da86ba63eb78812429d7"
arch = "x86_64"
os = "windows"

[[Gurobi.download]]
sha256 = "6971d450b28938575e60456662e4ee7951002d64d935b7d04a9fd8f5cb0d134d"
url = "https://anaconda.org/Gurobi/gurobi/11.0.1/download/win-64/gurobi-11.0.1-py311_0.tar.bz2"
sha256 = "bde8be67dfc25a61deffb2aaa6b9138ec95e7405c5ebac205ae990b5179013fe"
url = "https://anaconda.org/Gurobi/gurobi/9.5.2/download/win-64/gurobi-9.5.2-py310_0.tar.bz2"
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Gurobi_jll"
uuid = "c018c7e6-a5b0-4aea-8f80-9c1ef9991411"
authors = ["odow <[email protected]>"]
version = "11.0.1"
version = "9.5.2"

[deps]
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_artifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function get_artifact(data; version::String, pyversion::String)
return ret
end

function main(; version = "11.0.1", pyversion = "py311_0")
function main(; version = "9.5.2", pyversion = "py310_0")
platforms = [
(os = "linux", arch = "x86_64", conda = "linux-64"),
(os = "macos", arch = "x86_64", conda = "osx-64"),
Expand Down
4 changes: 2 additions & 2 deletions src/wrappers/aarch64-apple-darwin.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export gurobi_cl, grbgetkey, libgurobi

JLLWrappers.@generate_wrapper_header("Gurobi")

JLLWrappers.@declare_library_product(libgurobi, "@rpath/libgurobi110.dylib")
JLLWrappers.@declare_library_product(libgurobi, "@rpath/libgurobi95.dylib")

JLLWrappers.@declare_executable_product(gurobi_cl)

Expand All @@ -17,7 +17,7 @@ function __init__()
JLLWrappers.@generate_init_header()
JLLWrappers.@init_library_product(
libgurobi,
"lib/libgurobi110.dylib",
"lib/libgurobi95.dylib",
RTLD_LAZY | RTLD_DEEPBIND,
)
JLLWrappers.@init_executable_product(gurobi_cl, "bin/gurobi_cl")
Expand Down
4 changes: 2 additions & 2 deletions src/wrappers/x86_64-apple-darwin.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export gurobi_cl, grbgetkey, libgurobi

JLLWrappers.@generate_wrapper_header("Gurobi")

JLLWrappers.@declare_library_product(libgurobi, "@rpath/libgurobi110.dylib")
JLLWrappers.@declare_library_product(libgurobi, "@rpath/libgurobi95.dylib")

JLLWrappers.@declare_executable_product(gurobi_cl)

Expand All @@ -17,7 +17,7 @@ function __init__()
JLLWrappers.@generate_init_header()
JLLWrappers.@init_library_product(
libgurobi,
"lib/libgurobi110.dylib",
"lib/libgurobi95.dylib",
RTLD_LAZY | RTLD_DEEPBIND,
)
JLLWrappers.@init_executable_product(gurobi_cl, "bin/gurobi_cl")
Expand Down
4 changes: 2 additions & 2 deletions src/wrappers/x86_64-linux-gnu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export gurobi_cl, grbgetkey, libgurobi

JLLWrappers.@generate_wrapper_header("Gurobi")

JLLWrappers.@declare_library_product(libgurobi, "libgurobi110.so")
JLLWrappers.@declare_library_product(libgurobi, "libgurobi95.so")

JLLWrappers.@declare_executable_product(gurobi_cl)

Expand All @@ -17,7 +17,7 @@ function __init__()
JLLWrappers.@generate_init_header()
JLLWrappers.@init_library_product(
libgurobi,
"lib/libgurobi110.so",
"lib/libgurobi95.so",
RTLD_LAZY | RTLD_DEEPBIND,
)
JLLWrappers.@init_executable_product(gurobi_cl, "bin/gurobi_cl")
Expand Down
4 changes: 2 additions & 2 deletions src/wrappers/x86_64-w64-mingw32.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export gurobi_cl, grbgetkey, libgurobi

JLLWrappers.@generate_wrapper_header("Gurobi")

JLLWrappers.@declare_library_product(libgurobi, "gurobi110.dll")
JLLWrappers.@declare_library_product(libgurobi, "gurobi95.dll")

JLLWrappers.@declare_executable_product(gurobi_cl)

Expand All @@ -19,7 +19,7 @@ function __init__()
chmod(dirname(dirname(artifact_dir)), 0o755; recursive = true)
JLLWrappers.@init_library_product(
libgurobi,
"gurobi110.dll",
"gurobi95.dll",
RTLD_LAZY | RTLD_DEEPBIND,
)
JLLWrappers.@init_executable_product(gurobi_cl, "gurobi_cl.exe")
Expand Down
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ end
technicalP::Ptr{Cint},
)::Cvoid
# Update these values when you update Artifacts.toml
@test majorP[] == 11
@test minorP[] == 0
@test technicalP[] == 1
@test majorP[] == 9
@test minorP[] == 5
@test technicalP[] == 2
end

@testset "gurobi_cl" begin
Expand Down

2 comments on commit 3bed71a

@odow
Copy link
Member Author

@odow odow commented on 3bed71a Apr 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/105698

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v9.5.2 -m "<description of version>" 3bed71ad79b0311a6cc6fdc27d2067fe56339ca8
git push origin v9.5.2

Also, note the warning: This looks like a new registration that registers version 9.5.2.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

Please sign in to comment.