diff --git a/modules/toolchains_llvm/0.10.3/MODULE.bazel b/modules/toolchains_llvm/0.10.3/MODULE.bazel new file mode 100644 index 00000000000..4e833fa7de3 --- /dev/null +++ b/modules/toolchains_llvm/0.10.3/MODULE.bazel @@ -0,0 +1,23 @@ +# Copyright 2023 The Bazel Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +module( + name = "toolchains_llvm", + version = "0.10.3", + compatibility_level = 0, +) + +bazel_dep(name = "bazel_skylib", version = "1.4.2") +bazel_dep(name = "rules_cc", version = "0.0.8") +bazel_dep(name = "platforms", version = "0.0.7") diff --git a/modules/toolchains_llvm/0.10.3/presubmit.yml b/modules/toolchains_llvm/0.10.3/presubmit.yml new file mode 100644 index 00000000000..4e824c4feef --- /dev/null +++ b/modules/toolchains_llvm/0.10.3/presubmit.yml @@ -0,0 +1,27 @@ +matrix: + platform: + - ubuntu2004 + - macos + - macos_arm64 +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + build_targets: + - '@toolchains_llvm//toolchain:all' + - '@toolchains_llvm//platforms:all' +bcr_test_module: + module_path: tests + matrix: + platform: + - ubuntu2004 + - macos + - macos_arm64 + tasks: + run_test_module: + name: Run test module + platform: ${{ platform }} + build_targets: + - //:all + test_targets: + - //:all diff --git a/modules/toolchains_llvm/0.10.3/source.json b/modules/toolchains_llvm/0.10.3/source.json new file mode 100644 index 00000000000..1132e40e3e1 --- /dev/null +++ b/modules/toolchains_llvm/0.10.3/source.json @@ -0,0 +1,5 @@ +{ + "url": "https://github.com/grailbio/bazel-toolchain/releases/download/0.10.3/toolchains_llvm-0.10.3.tar.gz", + "integrity": "sha256-t80wHvew7OKNINPneGl6XjuBgoOTFQvtBIOMDFKWOgE=", + "strip_prefix": "toolchains_llvm-0.10.3" +} diff --git a/modules/toolchains_llvm/metadata.json b/modules/toolchains_llvm/metadata.json new file mode 100644 index 00000000000..2240ff4d93f --- /dev/null +++ b/modules/toolchains_llvm/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/grailbio/bazel-toolchain", + "maintainers": [ + { + "email": "starsid@gmail.com", + "github": "siddharthab", + "name": "Siddhartha Bagaria" + } + ], + "repository": [ + "github:grailbio/bazel-toolchain" + ], + "versions": [ + "0.10.3" + ], + "yanked_versions": {} +}