Skip to content

Commit

Permalink
Disable FFTW3 on musllinux.
Browse files Browse the repository at this point in the history
  • Loading branch information
psobot authored Jul 2, 2024
1 parent 8712428 commit 1bffff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def ignore_files_matching(files, *matches):


# Platform-specific FFT speedup flags:
if platform.system() == "Windows":
if platform.system() == "Windows" or "musllinux" in os.getenv("CIBW_BUILD", ""):
ALL_CPPFLAGS.append("-DUSE_BUILTIN_FFT")
ALL_CPPFLAGS.append("-DNO_THREADING")
elif platform.system() == "Darwin":
Expand Down

0 comments on commit 1bffff7

Please sign in to comment.