Skip to content

Conversation

@Mizux
Copy link
Contributor

@Mizux Mizux commented Nov 28, 2025

@galabovaa friendly ping ;)

note: I've disabled bazel 6.x presubmit since rules_cuda seems to not support macos x bazel 6.

@bazel-io
Copy link
Member

Hello @galabovaa, modules you maintain (highs) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds version 1.12.0 of the highs module. The changes are generally well-structured, but there are a couple of critical issues in the MODULE.bazel file. Specifically, the rules_cuda dependency should be a development dependency, and there's an incorrect local CUDA toolchain configuration that will likely cause presubmit failures. I have provided suggestions to fix these issues.

@Mizux Mizux force-pushed the mizux/highs branch 2 times, most recently from 6df5e37 to d19aca5 Compare November 28, 2025 12:33
Mizux added 7 commits December 3, 2025 16:25
note: rules_cude seems not supported on macos x bazel6

trace:
```
(13:39:21) ERROR: /private/var/tmp/_bazel_buildkite/97e8b85d2d22add465857d2e1fde5a5a/external/highs~1.12.0/BUILD.bazel:34:13: While resolving toolchains for target @highs~1.12.0//:cupdlp: No matching toolchains found for types @rules_cuda~0.2.5//cuda:toolchain_type.
To debug, rerun with --toolchain_resolution_debug='@rules_cuda~0.2.5//cuda:toolchain_type'
If platforms or toolchains are a new concept for you, we'd encourage reading https://bazel.build/concepts/platforms-intro.
(13:39:21) ERROR: Analysis of target '@highs~1.12.0//:cupdlp' failed; build aborted:
```
@galabovaa
Copy link
Contributor

Great, thank you @Mizux!

I tried to do this but was not sure what to do about dev_dependency. LGTM!

For the next release, should I update the HiGHS MODULE.bazel so this patch is not needed? Testing locally is fine, at least on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants