Skip to content

Commit

Permalink
Make __init__ compatible with sysimage builds
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel Baraldi <[email protected]>
  • Loading branch information
topolarity and gbaraldi committed Oct 9, 2024
1 parent 35afff8 commit a8f34ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ end
# If we're using fftw_jll, load it in
@static if fftw_provider == "fftw"
import FFTW_jll
if FFTW_jll.libfftw3_path === nothing
FFTW_jll.__init__()
end
libfftw3[] = FFTW_jll.libfftw3_path
libfftw3f[] = FFTW_jll.libfftw3f_path

Expand Down

0 comments on commit a8f34ae

Please sign in to comment.