Skip to content

Commit

Permalink
Update headron and pin Bazel version (#48)
Browse files Browse the repository at this point in the history
* Update Hedron Compile Commands
Pin Bazel version

* Update changelog
  • Loading branch information
helly25 authored Aug 18, 2024
1 parent aeeb611 commit c6c104a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.2.1
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Added diff tooling options `ignore_all_space` and `ignore_consecutive_space`.
* Changed diff tooling options `ignore_space_change` to only ignore trailing space to match `git diff`.
* Added `mbo::log::LogTiming` a simple timing logger.
* Pinned Bazel version to 7.2.1.
* Updated hedron compile commands to include a patch for pre-processed headers.

# 0.2.27

Expand Down
2 changes: 1 addition & 1 deletion compile_commands-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

set -e

bazel run @hedron_compile_commands//:refresh_all && echo "OK" || echo "FAIL"
bazel run @hedron_compile_commands//:refresh_all --config=clang && echo "OK" || echo "FAIL"
4 changes: 2 additions & 2 deletions workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ def mbo_workspace_load_modules():

github_archive(
name = "hedron_compile_commands",
commit = "daae6f40adfa5fdb7c89684cbe4d88b691c63b2d",
commit = "6dd21b47db481a70c61698742438230e2399b639",
repo = "https://github.com/helly25/bazel-compile-commands-extractor",
sha256 = "43451a32bf271e7ba4635a07f7996d535501f066c0fe8feab04fb0c91dd5986e",
sha256 = "348a643defa9ab34ed9cb2ed1dc54b1c4ffef1282240aa24c457ebd8385ff2d5",
)

# Cannot yet support toolchains_llvm 1.0.0. It enables C++20 modules in a broken way.
Expand Down

0 comments on commit c6c104a

Please sign in to comment.