Skip to content

Commit

Permalink
Add onetbb 2021.12.0 (bazelbuild#1814)
Browse files Browse the repository at this point in the history
Add onetbb 2021.12.0

---------

Co-authored-by: Matthieu MOREL <[email protected]>
  • Loading branch information
2 people authored and aiuto committed Jun 3, 2024
1 parent 0382fe1 commit a6d6fb8
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 1 deletion.
25 changes: 25 additions & 0 deletions modules/onetbb/2021.12.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2021-2024 Intel Corporation
#
# 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.

# DISCLAIMER: Bazel support is community-based. The maintainers do not
# use Bazel internally. The Bazel build can have security risks or
# optimization gaps.

module(
name = "onetbb",
version = "2021.12.0",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.8")
10 changes: 10 additions & 0 deletions modules/onetbb/2021.12.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -18,6 +18,7 @@

module(
name = "onetbb",
+ version = "2021.12.0",
compatibility_level = 1,
)

16 changes: 16 additions & 0 deletions modules/onetbb/2021.12.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
matrix:
platform:
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- windows
bazel: [6.x, 7.x, rolling]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@onetbb//:tbb'
9 changes: 9 additions & 0 deletions modules/onetbb/2021.12.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-x7t6ppwlTZG48AQaccW8w5Nqy2RAihcZrsCyt2Od2E8=",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-/Gbef45NZel1Bt14E7N4l55MbT+eRf47dAbj1oDAT80="
},
"strip_prefix": "oneTBB-2021.12.0",
"url": "https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.12.0.tar.gz"
}
3 changes: 2 additions & 1 deletion modules/onetbb/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
],
"versions": [
"2021.10.0",
"2021.11.0"
"2021.11.0",
"2021.12.0"
],
"yanked_versions": {}
}

0 comments on commit a6d6fb8

Please sign in to comment.