Skip to content

Commit 10409a6

Browse files
authored
Add pocketfft 0.0.1 (#6580)
This adds the pocketfft library (the FFT implementation used by Numpy) to BCR. --------- Co-authored-by: Jeremy Kun <[email protected]>
1 parent 21ed5dd commit 10409a6

File tree

6 files changed

+80
-0
lines changed

6 files changed

+80
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module(
2+
name = "pocketfft",
3+
version = "0.0.1",
4+
bazel_compatibility = [">=7.2.1"],
5+
)
6+
7+
bazel_dep(name = "rules_cc", version = "0.1.4")
8+
bazel_dep(name = "rules_license", version = "1.0.0")
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
load("@rules_cc//cc:defs.bzl", "cc_library")
2+
3+
package(
4+
default_visibility = ["//visibility:public"],
5+
)
6+
7+
licenses(["notice"])
8+
9+
cc_library(
10+
name = "pocketfft",
11+
hdrs = [
12+
"pocketfft_hdronly.h",
13+
],
14+
copts = [
15+
"-fexceptions",
16+
],
17+
features = [
18+
"-use_header_modules",
19+
],
20+
)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module(
2+
name = "pocketfft",
3+
version = "0.0.1",
4+
bazel_compatibility = [">=7.2.1"],
5+
)
6+
7+
bazel_dep(name = "rules_cc", version = "0.1.4")
8+
bazel_dep(name = "rules_license", version = "1.0.0")
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
matrix:
2+
platform:
3+
- debian11
4+
- ubuntu2204
5+
- macos
6+
- macos_arm64
7+
# - windows
8+
bazel:
9+
- 8.x
10+
- 7.x
11+
tasks:
12+
verify_targets:
13+
name: Verify build targets
14+
platform: ${{ platform }}
15+
bazel: ${{ bazel }}
16+
build_targets:
17+
- '@pocketfft//:pocketfft'
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"url": "https://gitlab.mpcdf.mpg.de/mtr/pocketfft/-/archive/81d171a6d5562e3aaa2c73489b70f564c633ff81/pocketfft-81d171a6d5562e3aaa2c73489b70f564c633ff81.tar.gz",
3+
"strip_prefix": "pocketfft-81d171a6d5562e3aaa2c73489b70f564c633ff81",
4+
"integrity": "sha256-cNGshbJxo1ow6b1wmSMXDVCYQTVTsjgOM8tBkoK4o10=",
5+
"overlay": {
6+
"BUILD.bazel": "sha256-3gdgzX/c0+TcumAidQsW1d870AI6MLuPlyrlCLS+Tq4=",
7+
"MODULE.bazel": "sha256-KU4A8uaE/fBDTe/f9a+eEP56TF+QlRcckF3QfudvILk="
8+
}
9+
}

modules/pocketfft/metadata.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"homepage": "https://gitlab.mpcdf.mpg.de/mtr/pocketfft",
3+
"maintainers": [
4+
{
5+
"email": "[email protected]",
6+
"github": "j2kun",
7+
"name": "Jeremy Kun",
8+
"github_user_id": 2467754
9+
}
10+
],
11+
"repository": [
12+
"https://gitlab.mpcdf.mpg.de/mtr/pocketfft"
13+
],
14+
"versions": [
15+
"0.0.1"
16+
],
17+
"yanked_versions": {}
18+
}

0 commit comments

Comments
 (0)