Skip to content

Commit

Permalink
pthreadpool@0.0.0-20230829-4fe0e1e (#1973)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 committed May 8, 2024
1 parent b16090d commit 828f4a0
Show file tree
Hide file tree
Showing 6 changed files with 117 additions and 0 deletions.
28 changes: 28 additions & 0 deletions modules/pthreadpool/0.0.0-20230829-4fe0e1e/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module(
name = "pthreadpool",
version = "0.0.0-20230829-4fe0e1e",
compatibility_level = 1,
)

bazel_dep(
name = "cpuinfo",
version = "0.0.0-20231104-d6860c4",
)
bazel_dep(
name = "fxdiv",
version = "0.0.0-20201209-63058ef",
)
bazel_dep(
name = "google_benchmark",
version = "1.8.3",
repo_name = "com_google_benchmark",
)
bazel_dep(
name = "googletest",
version = "1.14.0.bcr.1",
repo_name = "com_google_googletest",
)
bazel_dep(
name = "rules_cc",
version = "0.0.9",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
--- a/MODULE.bazel
+++ a/MODULE.bazel
@@ -0,0 +1,28 @@
+module(
+ name = "pthreadpool",
+ version = "0.0.0-20230829-4fe0e1e",
+ compatibility_level = 1,
+)
+
+bazel_dep(
+ name = "cpuinfo",
+ version = "0.0.0-20231104-d6860c4",
+)
+bazel_dep(
+ name = "fxdiv",
+ version = "0.0.0-20201209-63058ef",
+)
+bazel_dep(
+ name = "google_benchmark",
+ version = "1.8.3",
+ repo_name = "com_google_benchmark",
+)
+bazel_dep(
+ name = "googletest",
+ version = "1.14.0.bcr.1",
+ repo_name = "com_google_googletest",
+)
+bazel_dep(
+ name = "rules_cc",
+ version = "0.0.9",
+)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/BUILD.bazel b/BUILD.bazel
index f55a493..3713947 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -135,7 +135,7 @@ cc_library(
}),
strip_include_prefix = "include",
deps = [
- "@FXdiv",
+ "@fxdiv//:FXdiv",
] + select({
":linux_arm": ["@cpuinfo"],
":linux_armeabi": ["@cpuinfo"],
19 changes: 19 additions & 0 deletions modules/pthreadpool/0.0.0-20230829-4fe0e1e/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--cxxopt=-std=c++14'
build_targets:
- '@pthreadpool//...'
10 changes: 10 additions & 0 deletions modules/pthreadpool/0.0.0-20230829-4fe0e1e/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"url": "https://github.com/Maratyszcza/pthreadpool/archive/4fe0e1e183925bf8cfa6aae24237e724a96479b8.tar.gz",
"integrity": "sha256-no+2qM4DYWuE93PXtQ6+DqL+OvW332xvlvprPwSaMwM=",
"strip_prefix": "pthreadpool-4fe0e1e183925bf8cfa6aae24237e724a96479b8",
"patches": {
"pthreadpool.patch": "sha256-ccx7PWAXxHVD7Sc9fF0pGpt/k5Zfkejzt73UlEcjFuk=",
"module_dot_bazel.patch": "sha256-frGFcIQ/af7H09o35UXdOBnmoAJSyP9DnCwHPydP0aw="
},
"patch_strip": 1
}
16 changes: 16 additions & 0 deletions modules/pthreadpool/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"homepage": "https://github.com/Maratyszcza/pthreadpool",
"maintainers": [
{
"email": "bcr-maintainers@bazel.build",
"name": "No Maintainer Specified"
}
],
"repository": [
"github:Maratyszcza/pthreadpool"
],
"versions": [
"0.0.0-20230829-4fe0e1e"
],
"yanked_versions": {}
}

0 comments on commit 828f4a0

Please sign in to comment.