From e85b833d4670d3c48e44f2a8ec5b3343d0e4e993 Mon Sep 17 00:00:00 2001 From: Siddhartha Bagaria Date: Thu, 14 Sep 2023 07:23:52 +0000 Subject: [PATCH 1/2] Add LLVM toolchain New module toolchains_llvm@0.10.1 --- modules/toolchains_llvm/0.10.2/MODULE.bazel | 23 +++++++++++++++++ modules/toolchains_llvm/0.10.2/presubmit.yml | 27 ++++++++++++++++++++ modules/toolchains_llvm/0.10.2/source.json | 5 ++++ modules/toolchains_llvm/metadata.json | 17 ++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 modules/toolchains_llvm/0.10.2/MODULE.bazel create mode 100644 modules/toolchains_llvm/0.10.2/presubmit.yml create mode 100644 modules/toolchains_llvm/0.10.2/source.json create mode 100644 modules/toolchains_llvm/metadata.json diff --git a/modules/toolchains_llvm/0.10.2/MODULE.bazel b/modules/toolchains_llvm/0.10.2/MODULE.bazel new file mode 100644 index 00000000000..ca087cf7083 --- /dev/null +++ b/modules/toolchains_llvm/0.10.2/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.2", + 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.2/presubmit.yml b/modules/toolchains_llvm/0.10.2/presubmit.yml new file mode 100644 index 00000000000..4e824c4feef --- /dev/null +++ b/modules/toolchains_llvm/0.10.2/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.2/source.json b/modules/toolchains_llvm/0.10.2/source.json new file mode 100644 index 00000000000..c9fa7491a4a --- /dev/null +++ b/modules/toolchains_llvm/0.10.2/source.json @@ -0,0 +1,5 @@ +{ + "url": "https://github.com/grailbio/bazel-toolchain/releases/download/0.10.2/toolchains_llvm-0.10.2.tar.gz", + "integrity": "sha256-1WwEQqaU38xHseVhA5wvlKnLD5Ekio6+3j3CvBJHxI8=", + "strip_prefix": "toolchains_llvm-0.10.2" +} diff --git a/modules/toolchains_llvm/metadata.json b/modules/toolchains_llvm/metadata.json new file mode 100644 index 00000000000..7c687e9e088 --- /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.2" + ], + "yanked_versions": {} +} From aa090937ec857e9cfbcb4dbd92784e2932a73436 Mon Sep 17 00:00:00 2001 From: Siddhartha Bagaria Date: Tue, 19 Sep 2023 19:45:14 +0000 Subject: [PATCH 2/2] Version 0.10.3 --- modules/toolchains_llvm/0.10.2/source.json | 5 ----- modules/toolchains_llvm/{0.10.2 => 0.10.3}/MODULE.bazel | 2 +- modules/toolchains_llvm/{0.10.2 => 0.10.3}/presubmit.yml | 0 modules/toolchains_llvm/0.10.3/source.json | 5 +++++ modules/toolchains_llvm/metadata.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 modules/toolchains_llvm/0.10.2/source.json rename modules/toolchains_llvm/{0.10.2 => 0.10.3}/MODULE.bazel (97%) rename modules/toolchains_llvm/{0.10.2 => 0.10.3}/presubmit.yml (100%) create mode 100644 modules/toolchains_llvm/0.10.3/source.json diff --git a/modules/toolchains_llvm/0.10.2/source.json b/modules/toolchains_llvm/0.10.2/source.json deleted file mode 100644 index c9fa7491a4a..00000000000 --- a/modules/toolchains_llvm/0.10.2/source.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "url": "https://github.com/grailbio/bazel-toolchain/releases/download/0.10.2/toolchains_llvm-0.10.2.tar.gz", - "integrity": "sha256-1WwEQqaU38xHseVhA5wvlKnLD5Ekio6+3j3CvBJHxI8=", - "strip_prefix": "toolchains_llvm-0.10.2" -} diff --git a/modules/toolchains_llvm/0.10.2/MODULE.bazel b/modules/toolchains_llvm/0.10.3/MODULE.bazel similarity index 97% rename from modules/toolchains_llvm/0.10.2/MODULE.bazel rename to modules/toolchains_llvm/0.10.3/MODULE.bazel index ca087cf7083..4e833fa7de3 100644 --- a/modules/toolchains_llvm/0.10.2/MODULE.bazel +++ b/modules/toolchains_llvm/0.10.3/MODULE.bazel @@ -14,7 +14,7 @@ module( name = "toolchains_llvm", - version = "0.10.2", + version = "0.10.3", compatibility_level = 0, ) diff --git a/modules/toolchains_llvm/0.10.2/presubmit.yml b/modules/toolchains_llvm/0.10.3/presubmit.yml similarity index 100% rename from modules/toolchains_llvm/0.10.2/presubmit.yml rename to modules/toolchains_llvm/0.10.3/presubmit.yml 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 index 7c687e9e088..2240ff4d93f 100644 --- a/modules/toolchains_llvm/metadata.json +++ b/modules/toolchains_llvm/metadata.json @@ -11,7 +11,7 @@ "github:grailbio/bazel-toolchain" ], "versions": [ - "0.10.2" + "0.10.3" ], "yanked_versions": {} }