mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 12:34:44 +02:00
Dont use intel intrinsics switches on ARM
This commit is contained in:
8
setup.py
8
setup.py
@@ -497,8 +497,12 @@ def init_env(
|
||||
ldflags.append('-lprofiler')
|
||||
|
||||
# SIMD instructions
|
||||
cflags.append('-msse4.2')
|
||||
cflags.append('-mavx2')
|
||||
if is_arm:
|
||||
if not is_macos:
|
||||
cflags.append('-mfpu=neon')
|
||||
else:
|
||||
cflags.append('-msse4.2')
|
||||
cflags.append('-mavx2')
|
||||
library_paths: Dict[str, List[str]] = {}
|
||||
|
||||
def add_lpath(which: str, name: str, val: Optional[str]) -> None:
|
||||
|
||||
Reference in New Issue
Block a user