Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
c8ef authored Nov 6, 2024
1 parent 2bae274 commit 9a11823
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 1 deletion.
25 changes: 25 additions & 0 deletions modules/onetbb/2022.0.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 = "2022.0.0",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.10")
10 changes: 10 additions & 0 deletions modules/onetbb/2022.0.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 = "2022.0.0",
compatibility_level = 1,
)

17 changes: 17 additions & 0 deletions modules/onetbb/2022.0.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
matrix:
platform:
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- ubuntu2404
- 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/2022.0.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2022.0.0.tar.gz",
"integrity": "sha256-6OicnDRUFbF7MKLbMJW6nUdkdhFmIHP3+/VK1It/PCo=",
"strip_prefix": "oneTBB-2022.0.0",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-sIOsjKbHLlIIMM/rXBQmz6G0UXht/20lc1GUEG98++M="
}
}
8 changes: 7 additions & 1 deletion modules/onetbb/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"email": "[email protected]",
"github": "Vertexwahn",
"name": "Julian Amann"
},
{
"email": "[email protected]",
"github": "c8ef",
"name": "c8ef"
}
],
"repository": [
Expand All @@ -14,7 +19,8 @@
"2021.10.0",
"2021.11.0",
"2021.12.0",
"2021.13.0"
"2021.13.0",
"2022.0.0"
],
"yanked_versions": {}
}

0 comments on commit 9a11823

Please sign in to comment.