Skip to content

Commit 5141a0b

Browse files
authored
pocketfft: fix source url (#6592)
Cf. #6580 (comment) Co-authored-by: Jeremy Kun <[email protected]>
1 parent 069abd4 commit 5141a0b

File tree

6 files changed

+67
-2
lines changed

6 files changed

+67
-2
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.2",
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.2",
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/bb5bdb776c64819f66cb2205f78bef1581448628/pocketfft-bb5bdb776c64819f66cb2205f78bef1581448628.tar.gz",
3+
"strip_prefix": "pocketfft-bb5bdb776c64819f66cb2205f78bef1581448628",
4+
"integrity": "sha256-E+GjYxIOqf2fMZ9EVak+LqhgXpmGspUbJ01ypypYkJA=",
5+
"overlay": {
6+
"BUILD.bazel": "sha256-3gdgzX/c0+TcumAidQsW1d870AI6MLuPlyrlCLS+Tq4=",
7+
"MODULE.bazel": "sha256-FI97LXvYKpCPfONpQJiLHN+f5OeGgP8pJytVMTrmcsE="
8+
}
9+
}

modules/pocketfft/metadata.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
"https://gitlab.mpcdf.mpg.de/mtr/pocketfft"
1313
],
1414
"versions": [
15-
"0.0.1"
15+
"0.0.1",
16+
"0.0.2"
1617
],
17-
"yanked_versions": {}
18+
"yanked_versions": {
19+
"0.0.1": "Please use 0.0.2 or later"
20+
}
1821
}

0 commit comments

Comments
 (0)