From 6e3a8782c9c38a168c1683cbc13807034a669c4e Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 31 Oct 2024 10:54:07 +0100 Subject: [PATCH] Add highs 1.8.0 (#3075) --- modules/highs/1.8.0/MODULE.bazel | 17 +++++++++++++++++ modules/highs/1.8.0/presubmit.yml | 21 +++++++++++++++++++++ modules/highs/1.8.0/source.json | 5 +++++ modules/highs/metadata.json | 3 ++- 4 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 modules/highs/1.8.0/MODULE.bazel create mode 100644 modules/highs/1.8.0/presubmit.yml create mode 100644 modules/highs/1.8.0/source.json diff --git a/modules/highs/1.8.0/MODULE.bazel b/modules/highs/1.8.0/MODULE.bazel new file mode 100644 index 00000000000..218bba07fda --- /dev/null +++ b/modules/highs/1.8.0/MODULE.bazel @@ -0,0 +1,17 @@ +module( + name = "highs", + version = "1.8.0", +) + +bazel_dep( + name = "bazel_skylib", + version = "1.6.1", +) +bazel_dep( + name = "rules_cc", + version = "0.0.9", +) +bazel_dep( + name = "zlib", + version = "1.3.1.bcr.1", +) \ No newline at end of file diff --git a/modules/highs/1.8.0/presubmit.yml b/modules/highs/1.8.0/presubmit.yml new file mode 100644 index 00000000000..2591051d7d3 --- /dev/null +++ b/modules/highs/1.8.0/presubmit.yml @@ -0,0 +1,21 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + bazel: + - 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//...' diff --git a/modules/highs/1.8.0/source.json b/modules/highs/1.8.0/source.json new file mode 100644 index 00000000000..dd35b1f04aa --- /dev/null +++ b/modules/highs/1.8.0/source.json @@ -0,0 +1,5 @@ +{ + "url": "https://github.com/ERGO-Code/HiGHS/archive/refs/tags/v1.8.0.tar.gz", + "integrity": "sha256-4YTmMQHPGWiKAhAvWER6zHwCHXfu8NNHXOrOth8DVTk=", + "strip_prefix": "HiGHS-1.8.0" +} diff --git a/modules/highs/metadata.json b/modules/highs/metadata.json index 4d6667cdbef..2a3b1f7ff4a 100644 --- a/modules/highs/metadata.json +++ b/modules/highs/metadata.json @@ -10,7 +10,8 @@ "github:ERGO-Code/HiGHS" ], "versions": [ - "1.7.0" + "1.7.0", + "1.8.0" ], "yanked_versions": {} }