From 1bffff75dc43db200f2fdf10609d3903a13c6777 Mon Sep 17 00:00:00 2001 From: Peter Sobot Date: Tue, 2 Jul 2024 10:15:31 -0400 Subject: [PATCH] Disable FFTW3 on musllinux. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 22c1ee29..1199391b 100644 --- a/setup.py +++ b/setup.py @@ -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":