Skip to content

Commit

Permalink
bump highs to 1.9.0 (#3509)
Browse files Browse the repository at this point in the history
Bump highs to the latest version (1.9.0).

Please add 

@bazel-io skip_check unstable_url
  • Loading branch information
lperron authored Dec 31, 2024
1 parent 382afb1 commit 7994b4d
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 1 deletion.
21 changes: 21 additions & 0 deletions modules/highs/1.9.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
"""highs module
"""
module(
name = "highs",
version = "1.9.0",
)

bazel_dep(
name = "bazel_skylib",
version = "1.7.1",
)

bazel_dep(
name = "rules_cc",
version = "0.0.16",
)

bazel_dep(
name = "zlib",
version = "1.3.1.bcr.3",
)
7 changes: 7 additions & 0 deletions modules/highs/1.9.0/patches/dot_bazelrc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
diff --git a/.bazelrc b/.bazelrc
index 710c4d81a..4980d66e3 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -1,1 +1,1 @@
-common --noenable_bzlmod
+# common --noenable_bzlmod
22 changes: 22 additions & 0 deletions modules/highs/1.9.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
bazel:
- 8.x
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--cxxopt=-std=c++17'
- '--cxxopt=-Wno-sign-compare'
- '--host_cxxopt=-std=c++17'
- '--host_cxxopt=-Wno-sign-compare'
build_targets:
- '@highs//...'
9 changes: 9 additions & 0 deletions modules/highs/1.9.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/ERGO-Code/HiGHS/archive/refs/tags/v1.9.0.tar.gz",
"integrity": "sha256-3/V13wjYhYPBCXAsfFx1/25RYR5urMqLWz/fuo7MLLQ=",
"strip_prefix": "HiGHS-1.9.0",
"patches": {
"dot_bazelrc.patch": "sha256-9DkONOfirjcFZf+o7npe3Uc7D6eYrjy/t6eQ0PVdFKw="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/highs/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"1.7.0",
"1.8.0",
"1.8.1",
"1.8.1.bcr.1"
"1.8.1.bcr.1",
"1.9.0"
],
"yanked_versions": {}
}

0 comments on commit 7994b4d

Please sign in to comment.