Skip to content

Commit

Permalink
Merge pull request #24 from kapilrampalli/main
Browse files Browse the repository at this point in the history
Exclude "-mfpu" flag for 64-bit ARM architectures
  • Loading branch information
222464 authored Sep 16, 2023
2 parents f6704f9 + acdaeaa commit 02f383f
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 @@ -8,7 +8,7 @@
if platform.system() == "Windows": # Windows
ext_modules = [Extension("tinyscaler", ["src/*.pyx"])]
else: # Not Windows
if platform.machine() == "x86_64": # Detect x86_64 platform
if platform.machine() in ["x86_64", "arm64", "aarch64"]: # Detect 64-bit platforms
ext_modules = [Extension("tinyscaler", ["src/*.pyx"])]
else: # Arm assumed
ext_modules = [
Expand Down

0 comments on commit 02f383f

Please sign in to comment.