diff --git a/.bazelrc b/.bazelrc index cdc7cf69..4b9229ca 100644 --- a/.bazelrc +++ b/.bazelrc @@ -51,5 +51,4 @@ build:rbe_local --experimental_docker_verbose try-import %workspace%/.bazelrc.user # Workaround to build docs. Only required in rules_ll project root. -build:docs --noexperimental_enable_bzlmod build:docs --noremote_accept_cached diff --git a/MODULE.bazel b/MODULE.bazel index e464791a..d6533e21 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -19,7 +19,8 @@ bazel_dep(name = "rules_cc", version = "0.0.6") bazel_dep(name = "bazel_skylib", version = "1.4.1") # Documentation. -bazel_dep(name = "stardoc", version = "0.5.3") +bazel_dep(name = "rules_java", version = "6.1.0", dev_dependency = True) +bazel_dep(name = "stardoc", version = "0.5.6", dev_dependency = True) # The LLVM project. We override the specific commit below. bazel_dep(name = "llvm-project-overlay", version = "17-init-bcr.3") diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 046c7e74..996cee9a 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -1,35 +1 @@ -# TODO: Remove all of this after https://github.com/bazelbuild/stardoc/pull/141. -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - -http_archive( - name = "rules_license", - sha256 = "6157e1e68378532d0241ecd15d3c45f6e5cfd98fc10846045509fb2a7cc9e381", - urls = [ - "https://github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz", - "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz", - ], -) - -http_archive( - name = "stardoc", - sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz", - "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz", - ], -) - -load("@stardoc//:setup.bzl", "stardoc_repositories") - -stardoc_repositories() - -load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") - -bazel_skylib_workspace() - -register_execution_platforms("//rbe/default/config:platform") - -register_toolchains( - "//rbe/default/config:cc-toolchain", - "//rbe/default/java:all", -) +# Empty. diff --git a/styles/Vocab/eomii/accept.txt b/styles/Vocab/eomii/accept.txt index 234efbe3..542e5932 100644 --- a/styles/Vocab/eomii/accept.txt +++ b/styles/Vocab/eomii/accept.txt @@ -9,6 +9,7 @@ HIP LLVM NVPTX Nvidia +OSSF ROCm Stardoc Starlark