Skip to content

Commit 80ff207

Browse files
committed
ARM
1 parent 615c007 commit 80ff207

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

opteryx/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# THIS FILE IS AUTOMATICALLY UPDATED DURING THE BUILD PROCESS
22
# DO NOT EDIT THIS FILE DIRECTLY
33

4-
__build__ = 1941
4+
__build__ = 1942
55
__author__ = "@joocer"
6-
__version__ = "0.26.2-beta.1941"
6+
__version__ = "0.26.2-beta.1942"
77

88
# Store the version here so:
99
# 1) we don't load dependencies by storing it in __init__.py

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "opteryx"
3-
version = "0.26.2-beta.1941"
3+
version = "0.26.2-beta.1942"
44
description = "Query your data, where it lives"
55
requires-python = '>=3.11'
66
readme = {file = "README.md", content-type = "text/markdown"}

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ def is_linux(): return platform.system() == "Linux"
3636
# Architecture detection for SIMD
3737
def detect_architecture():
3838
machine = platform.machine().lower()
39-
if "arm" in machine or "aarch64" in machine:
39+
# Distinguish between 32-bit ARM (arm/armv7) and 64-bit ARM (aarch64/arm64)
40+
if "aarch64" in machine or "arm64" in machine:
41+
return "aarch64"
42+
if "arm" in machine:
4043
return "arm"
41-
elif "x86" in machine or "amd64" in machine:
44+
if "x86" in machine or "amd64" in machine:
4245
return "x86_64"
4346
return machine
4447

0 commit comments

Comments
 (0)