From e5914f44e066666c3c18cc6fd992c3e8e76fb2d9 Mon Sep 17 00:00:00 2001 From: Siddhartha Bagaria Date: Thu, 14 Mar 2024 16:47:37 -0700 Subject: [PATCH] toolchains_llvm@1.0.0 (#1626) Release: https://github.com/bazel-contrib/toolchains_llvm/releases/tag/1.0.0 --- modules/toolchains_llvm/1.0.0/MODULE.bazel | 24 ++++++++++++++++++++ modules/toolchains_llvm/1.0.0/presubmit.yml | 25 +++++++++++++++++++++ modules/toolchains_llvm/1.0.0/source.json | 5 +++++ modules/toolchains_llvm/metadata.json | 7 +++--- 4 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 modules/toolchains_llvm/1.0.0/MODULE.bazel create mode 100644 modules/toolchains_llvm/1.0.0/presubmit.yml create mode 100644 modules/toolchains_llvm/1.0.0/source.json diff --git a/modules/toolchains_llvm/1.0.0/MODULE.bazel b/modules/toolchains_llvm/1.0.0/MODULE.bazel new file mode 100644 index 00000000000..68edabcb599 --- /dev/null +++ b/modules/toolchains_llvm/1.0.0/MODULE.bazel @@ -0,0 +1,24 @@ +# 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 = "1.0.0", + compatibility_level = 0, + bazel_compatibility = [">=7.0.0"], +) + +bazel_dep(name = "bazel_skylib", version = "1.5.0") +bazel_dep(name = "rules_cc", version = "0.0.9") +bazel_dep(name = "platforms", version = "0.0.8") diff --git a/modules/toolchains_llvm/1.0.0/presubmit.yml b/modules/toolchains_llvm/1.0.0/presubmit.yml new file mode 100644 index 00000000000..f19f7865a37 --- /dev/null +++ b/modules/toolchains_llvm/1.0.0/presubmit.yml @@ -0,0 +1,25 @@ +matrix: + bazel: [7.x] + platform: [ubuntu2004, macos, macos_arm64] +tasks: + verify_targets: + name: Verify build targets + bazel: ${{ bazel }} + platform: ${{ platform }} + build_targets: + - '@toolchains_llvm//toolchain:all' + - '@toolchains_llvm//platforms:all' +bcr_test_module: + module_path: tests + matrix: + bazel: [7.x] + platform: [ubuntu2004, macos, macos_arm64] + tasks: + run_test_module: + name: Run test module + bazel: ${{ bazel }} + platform: ${{ platform }} + build_targets: + - //:all + test_targets: + - //:all diff --git a/modules/toolchains_llvm/1.0.0/source.json b/modules/toolchains_llvm/1.0.0/source.json new file mode 100644 index 00000000000..f73370a5814 --- /dev/null +++ b/modules/toolchains_llvm/1.0.0/source.json @@ -0,0 +1,5 @@ +{ + "url": "https://github.com/bazel-contrib/toolchains_llvm/releases/download/1.0.0/toolchains_llvm-1.0.0.tar.gz", + "integrity": "sha256-6RxDYfmQEaVIFOGvvlxDbg0ymHEUajzVjCOitK+1Bzc=", + "strip_prefix": "toolchains_llvm-1.0.0" +} diff --git a/modules/toolchains_llvm/metadata.json b/modules/toolchains_llvm/metadata.json index 2240ff4d93f..b6313c0380b 100644 --- a/modules/toolchains_llvm/metadata.json +++ b/modules/toolchains_llvm/metadata.json @@ -1,5 +1,5 @@ { - "homepage": "https://github.com/grailbio/bazel-toolchain", + "homepage": "https://github.com/bazel-contrib/toolchains_llvm", "maintainers": [ { "email": "starsid@gmail.com", @@ -8,10 +8,11 @@ } ], "repository": [ - "github:grailbio/bazel-toolchain" + "github:bazel-contrib/toolchains_llvm" ], "versions": [ - "0.10.3" + "0.10.3", + "1.0.0" ], "yanked_versions": {} }