Skip to content

Commit b0e92b1

Browse files
authored
Merge pull request #120 from driftregion/fix_119
Fix 119
2 parents 179c9e5 + 63664e7 commit b0e92b1

File tree

5,654 files changed

+96
-62
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,654 files changed

+96
-62
lines changed

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ common:hermetic-fuzz --@rules_fuzzing//fuzzing:cc_engine_sanitizer=asan
1616

1717
# Hermetic coverage configuration
1818
common:hermetic-coverage --config=hermetic-llvm
19+
common:hermetic-coverage --extra_execution_platforms=//platforms:x86_64_clang
1920
common:hermetic-coverage --@rules_fuzzing//fuzzing:cc_engine=@rules_fuzzing//fuzzing/engines:replay
2021
common:hermetic-coverage --@rules_fuzzing//fuzzing:cc_engine_instrumentation=none
2122
common:hermetic-coverage --@rules_fuzzing//fuzzing:cc_engine_sanitizer=none

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.1.1
1+
9.0.0

.githooks/pre-commit

Lines changed: 0 additions & 11 deletions
This file was deleted.

.githooks/pre-push

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
tools/run_clang_format.sh
5+
tools/update_srcs.sh
6+
7+
if ! git diff --exit-code; then
8+
echo "ERROR: There are unstaged changes after running clang-format and update_srcs.sh"
9+
git diff
10+
exit 1
11+
fi

BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
2+
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_binary")
3+
24
package(default_visibility = ["//visibility:public"])
35
exports_files([
46
"README.md",

MODULE.bazel

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
module(name = "iso14229")
2+
3+
bazel_dep(name = "platforms", version="1.0.0")
4+
bazel_dep(name = "rules_python", version = "1.8.2")
5+
bazel_dep(name = "rules_shell", version="0.6.1")
6+
bazel_dep(name = "rules_cc", version="0.2.16")
7+
bazel_dep(name = "toolchains_llvm", version = "1.4.0")
8+
29
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
310

411
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
512
git_override(
613
module_name = "hedron_compile_commands",
714
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
8-
commit = "4f28899228fb3ad0126897876f147ca15026151e",
15+
# https://github.com/hedronvision/bazel-compile-commands-extractor/pull/278
16+
commit = "7fe1eab26d2b8eeb5e1c6a2f38bddb001e3f9696",
917
)
1018

1119
http_archive(
@@ -32,17 +40,6 @@ http_archive(
3240
type = ".zip",
3341
)
3442

35-
# https://github.com/bazelbuild/bazel/issues/18616
36-
http_archive(
37-
name = "rules_cc",
38-
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.17/rules_cc-0.0.17.tar.gz"],
39-
sha256 = "abc605dd850f813bb37004b77db20106a19311a96b2da1c92b789da529d28fe1",
40-
strip_prefix = "rules_cc-0.0.17",
41-
)
42-
43-
bazel_dep(name = "platforms", version="1.0.0")
44-
45-
bazel_dep(name = "toolchains_llvm", version = "1.4.0")
4643

4744
# Chromium sysroot (Debian Bullseye) - includes isotp headers
4845
http_archive(
@@ -63,7 +60,7 @@ filegroup(
6360
# Configure and register the toolchain.
6461
git_override(
6562
module_name = "toolchains_llvm",
66-
commit = "d103be73bce9a804ebc4e57637fbaf9d6f23e682",
63+
commit = "ace6215bbfe8a76884646b2458b42380e2201607",
6764
remote = "https://github.com/bazel-contrib/toolchains_llvm",
6865
)
6966
llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm")
196 Bytes
Binary file not shown.
197 Bytes
Binary file not shown.
30 Bytes
Binary file not shown.
28 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)