Skip to content

Commit

Permalink
Add LLVM toolchain (#923)
Browse files Browse the repository at this point in the history
* Add LLVM toolchain

New module [email protected]

* Version 0.10.3
  • Loading branch information
siddharthab authored Sep 20, 2023
1 parent 05b3391 commit 5429173
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
23 changes: 23 additions & 0 deletions modules/toolchains_llvm/0.10.3/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
27 changes: 27 additions & 0 deletions modules/toolchains_llvm/0.10.3/presubmit.yml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions modules/toolchains_llvm/0.10.3/source.json
Original file line number Diff line number Diff line change
@@ -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"
}
17 changes: 17 additions & 0 deletions modules/toolchains_llvm/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/grailbio/bazel-toolchain",
"maintainers": [
{
"email": "[email protected]",
"github": "siddharthab",
"name": "Siddhartha Bagaria"
}
],
"repository": [
"github:grailbio/bazel-toolchain"
],
"versions": [
"0.10.3"
],
"yanked_versions": {}
}

0 comments on commit 5429173

Please sign in to comment.