Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move minimum supported version to Bazel 7.0.0 #229

Merged
merged 4 commits into from
Mar 12, 2024

Conversation

siddharthab
Copy link
Contributor

@siddharthab siddharthab commented Oct 6, 2023

This removes the need to provide flags like:

  • --incompatible_enable_cc_toolchain_resolution
  • --features=-libtool on macOS.
  • --features=-supports_dynamic_linker on macOS.

As part of the update, test dep versions have also been updated.

@siddharthab siddharthab mentioned this pull request Oct 6, 2023
@keith
Copy link
Member

keith commented Oct 23, 2023

Note that I removed -s from newer bazel versions since we don't really care bazelbuild/bazel#17489

I would add this flag to llvm but it's a bit more work that I really wanted to put into it since the difference isn't really important

@siddharthab
Copy link
Contributor Author

Thanks @keith. I will merge this when our minimum supported version becomes 6.4.0.

@garymm garymm mentioned this pull request Nov 3, 2023
@gferon
Copy link
Contributor

gferon commented Jan 4, 2024

Could we maybe add a check for the Bazel version and merge this fix? Thanks 😄

@pdeva
Copy link

pdeva commented Feb 19, 2024

bump. this is affecting us too.

@siddharthab siddharthab force-pushed the libtool branch 2 times, most recently from 1c6e45c to f570530 Compare March 11, 2024 06:20
This removes the need to provide `--features=-libtool` on macOS.
@siddharthab siddharthab changed the title Use llvm-libtool-darwin instead of llvm-ar Move minimum supported version to Bazel 7.0.0. Mar 11, 2024
@siddharthab siddharthab marked this pull request as ready for review March 11, 2024 06:27
@siddharthab siddharthab changed the title Move minimum supported version to Bazel 7.0.0. Move minimum supported version to Bazel 7.0.0 Mar 11, 2024
@siddharthab siddharthab requested a review from fmeum as a code owner March 12, 2024 04:01
@siddharthab siddharthab merged commit f9666ff into bazel-contrib:master Mar 12, 2024
24 checks passed
@siddharthab siddharthab deleted the libtool branch March 12, 2024 04:53
helly25 added a commit to helly25/mbo that referenced this pull request Mar 25, 2024
* Drop `-fuse-ld=lld`.
* Pin `toolchains_llvm` to bazel-contrib/toolchains_llvm#229.
* Manually specify clang 17.0.6 files (required by the above).
helly25 added a commit to helly25/mbo that referenced this pull request Mar 25, 2024
* Add LLVM/Clang via foreign_rules at version 17.0.6.

* Fix clang-format detection for the external repo.
* Support version 19 in auto-detection.

* No bzlmod.
* Add foreign_rules_cc.
* Add 3rd config to CI (GCC).
* Show clang-format binary on failure

* Working combination:
* Drop `-fuse-ld=lld`.
* Pin `toolchains_llvm` to bazel-contrib/toolchains_llvm#229.
* Manually specify clang 17.0.6 files (required by the above).
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.

5 participants