File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class VersionStatus(Enum):
2525
2626__major_version__ = 0
2727__minor_version__ = 26
28- __revision_version__ = 4
28+ __revision_version__ = 5
2929__author__ = "@joocer"
3030__status__ = VersionStatus .RELEASE
3131
Original file line number Diff line number Diff line change 11# THIS FILE IS AUTOMATICALLY UPDATED DURING THE BUILD PROCESS
22# DO NOT EDIT THIS FILE DIRECTLY
33
4- __build__ = 1980
4+ __build__ = 1981
55__author__ = "@joocer"
6- __version__ = "0.26.4 "
6+ __version__ = "0.26.5 "
77
88# Store the version here so:
99# 1) we don't load dependencies by storing it in __init__.py
Original file line number Diff line number Diff line change 11[project ]
22name = " opteryx"
3- version = " 0.26.4 "
3+ version = " 0.26.5 "
44description = " Query your data, where it lives"
55requires-python = ' >=3.11'
66readme = {file = " README.md" , content-type = " text/markdown" }
Original file line number Diff line number Diff line change @@ -70,12 +70,15 @@ def detect_architecture():
7070 CPP_FLAGS = ["/O2" , "/std:c++17" ]
7171 C_FLAGS = ["/O2" ]
7272elif is_linux ():
73- CPP_FLAGS .extend (["-march=native" , "-fvisibility=default" ])
74- C_FLAGS .extend (["-march=native" , "-fvisibility=default" ])
73+ # Don't use -march=native as it can cause "Illegal Instruction" errors
74+ # when the binary is run on a different CPU than it was built on.
75+ # The SIMD code has runtime dispatch guards, so we don't need -march=native.
76+ CPP_FLAGS .extend (["-fvisibility=default" ])
77+ C_FLAGS .extend (["-fvisibility=default" ])
7578
76- # SIMD-specific flags
79+ # SIMD-specific flags for conditional compilation (guarded by runtime checks)
7780if arch == "x86_64" :
78- # Add SIMD support
81+ # Enable AVX2 codegen for SIMD sections (runtime dispatch will select appropriate impl)
7982 CPP_FLAGS .extend (["-msse4.2" , "-mavx2" ])
8083elif arch == "arm" and not is_mac ():
8184 CPP_FLAGS .append ("-mfpu=neon" )
You can’t perform that action at this time.
0 commit comments