Skip to content

Commit

Permalink
Make: Extend compilation flags and classifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed May 25, 2023
1 parent 891e76e commit 55cec3f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import sys
import platform
from setuptools import setup

from pybind11.setup_helpers import Pybind11Extension


Expand All @@ -22,11 +22,6 @@
if sys.platform == 'win32':
compile_args = ['/std:c++14', '/O2']

if platform.machine() == 'arm64':
compile_args.append('-march=armv8.2-a+simd+fp16+fp16fml+dotprod')
elif platform.machine() in ('i386', 'AMD64', 'x86_64'):
compile_args.append('-march=haswell')

ext_modules = [
Pybind11Extension(
'usearch.index',
Expand Down Expand Up @@ -58,16 +53,21 @@
license='Apache-2.0',

classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',

'Natural Language :: English',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: Apache Software License',

'Programming Language :: C++',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: C++',
'Programming Language :: Java',
'Programming Language :: JavaScript',
'Programming Language :: Objective C',
'Programming Language :: Rust',
'Programming Language :: Other',

'Operating System :: MacOS',
'Operating System :: Unix',
Expand Down

0 comments on commit 55cec3f

Please sign in to comment.