Skip to content

Commit

Permalink
Fix: -mfloat-abi=hard for Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Oct 12, 2024
1 parent 1baa3a9 commit 1db702a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def darwin_settings() -> Tuple[List[str], List[str], List[Tuple[str]]]:
"-Wno-incompatible-pointer-types", # like: passing argument 4 of ‘sz_export_prefix_u32’ from incompatible pointer type
"-Wno-discarded-qualifiers", # like: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type
"-fPIC", # to enable dynamic dispatch
"-mfloat-abi=hard", # NEON intrinsics not available with the soft-float ABI
]
link_args = [
"-fPIC", # to enable dynamic dispatch
Expand Down

0 comments on commit 1db702a

Please sign in to comment.