Skip to content

Commit 209d1a3

Browse files
authored
Merge branch 'master' into jn/lazylib_support
2 parents eda5550 + 57d77fb commit 209d1a3

File tree

8 files changed

+23
-57
lines changed

8 files changed

+23
-57
lines changed

.cirrus.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@ task:
66
image_family: freebsd-13-1
77
env:
88
matrix:
9-
- JULIA_VERSION: 1.6
9+
- JULIA_VERSION: 1.10.0
1010
- JULIA_VERSION: 1
1111
- JULIA_VERSION: nightly
1212
- name: Linux ARMv8
1313
arm_container:
1414
image: ubuntu:latest
1515
env:
1616
matrix:
17-
- JULIA_VERSION: 1.6
17+
- JULIA_VERSION: 1.10.0
1818
- JULIA_VERSION: 1
1919
- JULIA_VERSION: nightly
2020
- name: musl Linux
2121
container:
2222
image: alpine:3.14
2323
env:
2424
matrix:
25-
- JULIA_VERSION: 1.6
25+
- JULIA_VERSION: 1.10.0
2626
- JULIA_VERSION: 1
2727
- JULIA_VERSION: nightly
2828
- name: MacOS M1
2929
macos_instance:
3030
image: ghcr.io/cirruslabs/macos-monterey-base:latest
3131
env:
3232
matrix:
33-
# - JULIA_VERSION: 1.6 # not available
33+
- JULIA_VERSION: 1.10.0
3434
- JULIA_VERSION: 1
3535
- JULIA_VERSION: nightly
3636

.github/set_ci_preferences.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env julia
22

3-
open(joinpath(dirname(@__DIR__), "test", "Project.toml"), "a") do io
3+
open(joinpath(dirname(@__DIR__), "Project.toml"), "a") do io
44
println(io, """
55
[preferences.FFTW]
66
provider = "$(ARGS[1])"

.github/workflows/CI.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- 'fftw'
2828
- 'mkl'
2929
version:
30-
- '1.6'
30+
- 'min'
3131
- '1'
3232
- 'nightly'
3333
os:
@@ -60,20 +60,15 @@ jobs:
6060
arch: x86
6161
- os: macOS-13
6262
arch: aarch64
63-
- os: macOS-13
64-
version: '1.6'
65-
provider: 'mkl'
6663
- os: macOS-latest
6764
arch: x86
6865
- os: macOS-latest
6966
arch: x64
70-
- os: macOS-latest
71-
version: '1.6'
7267
- os: macOS-latest
7368
provider: 'mkl'
7469

7570
steps:
76-
- uses: actions/checkout@v4
71+
- uses: actions/checkout@v5
7772
- uses: julia-actions/setup-julia@v2
7873
with:
7974
version: ${{ matrix.version }}
@@ -96,7 +91,7 @@ jobs:
9691
Documentation:
9792
runs-on: ubuntu-latest
9893
steps:
99-
- uses: actions/checkout@v4
94+
- uses: actions/checkout@v5
10095
- uses: julia-actions/setup-julia@latest
10196
with:
10297
version: 1

.github/workflows/Invalidations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
- uses: julia-actions/setup-julia@v2
2020
with:
2121
version: '1'
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
- uses: julia-actions/julia-buildpkg@v1
2424
- uses: julia-actions/julia-invalidations@v1
2525
id: invs_pr
2626

27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828
with:
2929
ref: ${{ github.event.repository.default_branch }}
3030
- uses: julia-actions/julia-buildpkg@v1

Project.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,19 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1313

1414
[compat]
1515
AbstractFFTs = "1.5"
16+
Aqua = "0.8"
1617
FFTW_jll = "3.3.9"
1718
Libdl = "1.6"
18-
LinearAlgebra = "<0.0.1, 1"
19+
LinearAlgebra = "1"
1920
MKL_jll = "2019.0.117, 2020, 2021, 2022, 2023, 2024, 2025"
2021
Preferences = "1.2"
2122
Reexport = "0.2, 1.0"
22-
julia = "1.6"
23+
Test = "1"
24+
julia = "1.10"
25+
26+
[extras]
27+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
28+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
29+
30+
[targets]
31+
test = ["Aqua", "Test"]

src/fft.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,7 @@ function destroy_deferred()
338338
# we'll do nothing (the other function will eventually run destroy_deferred).
339339
if !isempty(deferred_destroy_plans) && trylock(fftwlock)
340340
try
341-
@static if Base.VERSION >= v"1.9"
342-
@inline foreach(unsafe_destroy_plan, deferred_destroy_plans)
343-
else
344-
# call-site @inline isn't supported on old versions of Julia
345-
foreach(unsafe_destroy_plan, deferred_destroy_plans)
346-
end
341+
@inline foreach(unsafe_destroy_plan, deferred_destroy_plans)
347342
empty!(deferred_destroy_plans)
348343
finally
349344
unlock(fftwlock)

test/Project.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

test/runtests.jl

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -363,12 +363,7 @@ end
363363
@inferred rfft(x)
364364

365365
if ndims(x) == 2
366-
if VERSION >= v"1.6.7"
367-
@inferred brfft(x,18)
368-
else
369-
# See Julia issue #23063
370-
@test_broken @inferred brfft(x,18)
371-
end
366+
@inferred brfft(x,18)
372367
end
373368

374369
@inferred brfft(y,10)
@@ -382,21 +377,6 @@ end
382377
end
383378
for f in (plan_bfft, plan_fft, plan_ifft,
384379
plan_rfft, fft, bfft, fft_, ifft)
385-
# More of #23063 (why does plan_rfft work and the others don't)?
386-
if ndims(x) == 2 && f != plan_rfft
387-
if VERSION >= v"1.6.7"
388-
@inferred f(x)
389-
if isa(f, Plan)
390-
@inferred plan_inv(f(x))
391-
end
392-
else
393-
@test_broken @inferred f(x)
394-
if isa(f, Plan)
395-
@test_broken @inferred plan_inv(f(x))
396-
end
397-
continue
398-
end
399-
end
400380
p = @inferred f(x)
401381
if isa(p, Plan)
402382
@inferred plan_inv(p)

0 commit comments

Comments
 (0)