From 9a11823edb0a94a64ae12f93c77b05a05d89b431 Mon Sep 17 00:00:00 2001 From: c8ef Date: Thu, 7 Nov 2024 02:24:10 +0800 Subject: [PATCH] onetbb@2022.0.0 (#3107) --- modules/onetbb/2022.0.0/MODULE.bazel | 25 +++++++++++++++++++ .../2022.0.0/patches/module_dot_bazel.patch | 10 ++++++++ modules/onetbb/2022.0.0/presubmit.yml | 17 +++++++++++++ modules/onetbb/2022.0.0/source.json | 9 +++++++ modules/onetbb/metadata.json | 8 +++++- 5 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 modules/onetbb/2022.0.0/MODULE.bazel create mode 100644 modules/onetbb/2022.0.0/patches/module_dot_bazel.patch create mode 100644 modules/onetbb/2022.0.0/presubmit.yml create mode 100644 modules/onetbb/2022.0.0/source.json diff --git a/modules/onetbb/2022.0.0/MODULE.bazel b/modules/onetbb/2022.0.0/MODULE.bazel new file mode 100644 index 00000000000..ed14145b5eb --- /dev/null +++ b/modules/onetbb/2022.0.0/MODULE.bazel @@ -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") diff --git a/modules/onetbb/2022.0.0/patches/module_dot_bazel.patch b/modules/onetbb/2022.0.0/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..b15c78796ef --- /dev/null +++ b/modules/onetbb/2022.0.0/patches/module_dot_bazel.patch @@ -0,0 +1,10 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -18,6 +18,7 @@ + + module( + name = "onetbb", ++ version = "2022.0.0", + compatibility_level = 1, + ) + diff --git a/modules/onetbb/2022.0.0/presubmit.yml b/modules/onetbb/2022.0.0/presubmit.yml new file mode 100644 index 00000000000..36dcbddc122 --- /dev/null +++ b/modules/onetbb/2022.0.0/presubmit.yml @@ -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' diff --git a/modules/onetbb/2022.0.0/source.json b/modules/onetbb/2022.0.0/source.json new file mode 100644 index 00000000000..db4277572a1 --- /dev/null +++ b/modules/onetbb/2022.0.0/source.json @@ -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=" + } +} diff --git a/modules/onetbb/metadata.json b/modules/onetbb/metadata.json index 71691102fc4..cc35f4270cf 100644 --- a/modules/onetbb/metadata.json +++ b/modules/onetbb/metadata.json @@ -5,6 +5,11 @@ "email": "julian.amann@tum.de", "github": "Vertexwahn", "name": "Julian Amann" + }, + { + "email": "c8ef@outlook.com", + "github": "c8ef", + "name": "c8ef" } ], "repository": [ @@ -14,7 +19,8 @@ "2021.10.0", "2021.11.0", "2021.12.0", - "2021.13.0" + "2021.13.0", + "2022.0.0" ], "yanked_versions": {} }