Skip to content

Commit

Permalink
Add oneTBB (bazelbuild#866)
Browse files Browse the repository at this point in the history
* Add oneTBB

* Update modules/onetbb/2021.10.0/presubmit.yml

Co-authored-by: Fabian Meumertzheim <[email protected]>

* Add platform dependency

* Remove centos and debian form onetbb presubmit test

---------

Co-authored-by: Fabian Meumertzheim <[email protected]>
  • Loading branch information
Vertexwahn and fmeum authored Aug 31, 2023
1 parent 0f57c03 commit 05c46d8
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/onetbb/2021.10.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module(
name = "onetbb",
version = "2021.10.0",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.7")
10 changes: 10 additions & 0 deletions modules/onetbb/2021.10.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,7 @@
+module(
+ name = "onetbb",
+ version = "2021.10.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.7")
11 changes: 11 additions & 0 deletions modules/onetbb/2021.10.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
matrix:
platform:
- ubuntu2004
- macos
- windows
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
build_targets:
- '@onetbb//:tbb'
9 changes: 9 additions & 0 deletions modules/onetbb/2021.10.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-SHAjqVXlo8xtOg1fiRefm2wK5yImE6cYWwInugyDcAs=",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-QoPHqO/Y3ZsRFgxeoGw499dScYNd8b7yFfkdXgy65h4="
},
"strip_prefix": "oneTBB-2021.10.0",
"url": "https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.10.0.tar.gz"
}
17 changes: 17 additions & 0 deletions modules/onetbb/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/oneapi-src/oneTBB",
"maintainers": [
{
"email": "[email protected]",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:oneapi-src/oneTBB"
],
"versions": [
"2021.10.0"
],
"yanked_versions": {}
}

0 comments on commit 05c46d8

Please sign in to comment.