Skip to content

Commit

Permalink
Add verible@0.0.3892 (#3516)
Browse files Browse the repository at this point in the history
@bazel-io skip_check unstable_url
  • Loading branch information
hzeller authored Jan 2, 2025
1 parent 4eac8fb commit ca6d44f
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 0 deletions.
38 changes: 38 additions & 0 deletions modules/verible/0.0.3892/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
module(
name = "verible",
version = "0.0.3892",
compatibility_level = 0
)

bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "nlohmann_json", version = "3.11.3.bcr.1")
bazel_dep(name = "re2", version = "2024-07-02.bcr.1")
bazel_dep(name = "zlib", version = "1.3.1.bcr.3")

# Parsing tools.
bazel_dep(name = "rules_m4", version = "0.2.3")
bazel_dep(name = "rules_flex", version = "0.3")
bazel_dep(name = "rules_bison", version = "0.3")

# abseil-cpp and googletest can not be updated beyond the following currently,
# as newer googletest is not compatible with bazel 6 anymore, and abseil-cpp
# depends on it :( -- to support all active bazel's, we're stuck till EOL bazel6
bazel_dep(name = "googletest", version = "1.14.0.bcr.1", dev_dependency = True)

bazel_dep(name = "abseil-cpp", version = "20240116.2")
single_version_override(
module_name = "abseil-cpp",
patch_strip = 1,
patches = ["//bazel:absl.patch"],
version = "20240116.2",
)

# Last protobuf version working with windows without strange linking errors.
# This also means that we unfortunately can't use the @protobuf//bazel rules
# but have to use rules_cc and rules_proto.
# TODO: figure out how we can make proto compile beyond 24.4 on Windows.
bazel_dep(name = "protobuf", version = "24.4")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_proto", version = "6.0.0-rc2")
10 changes: 10 additions & 0 deletions modules/verible/0.0.3892/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,5 +1,7 @@
module(
name = "verible",
+ version = "0.0.3892",
+ compatibility_level = 0
)

bazel_dep(name = "platforms", version = "0.0.10")
12 changes: 12 additions & 0 deletions modules/verible/0.0.3892/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
matrix:
platform: [ "debian11", "ubuntu2004", "macos", "macos_arm64" ]
bazel: [ "6.x", "7.x", "8.x" ]

tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags: [ "--cxxopt=-std=c++17", "--host_cxxopt=-std=c++17" ]
build_targets:
- "@verible//:install-binaries"
9 changes: 9 additions & 0 deletions modules/verible/0.0.3892/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-k6bJIAeGfuXD5lBSYKZ1jrQ84Ju6fwnXA4zVBEGQ0d8=",
"strip_prefix": "verible-0.0-3892-g99ba71d6",
"url": "https://github.com/chipsalliance/verible/archive/refs/tags/v0.0-3892-g99ba71d6.tar.gz",
"patches": {
"module_dot_bazel.patch": "sha256-TAp+rEXS0Ix43pI/ctVI35VB0z4WA5HFyMUi6Dmr66Y="
},
"patch_strip": 0
}
17 changes: 17 additions & 0 deletions modules/verible/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/chipsalliance/verible",
"maintainers": [
{
"email": "h.zeller@acm.org",
"github": "hzeller",
"name": "Henner Zeller"
}
],
"repository": [
"github:chipsalliance/verible"
],
"versions": [
"0.0.3892"
],
"yanked_versions": {}
}

0 comments on commit ca6d44f

Please sign in to comment.