Detect availability of intrinsics on intel macs just in case

This commit is contained in:
Kovid Goyal
2023-11-16 21:35:02 +05:30
parent 0bd67620c6
commit 8742fb8cce
2 changed files with 7 additions and 1 deletions

View File

@@ -298,6 +298,8 @@ def env_for_python_tests(report_env: bool = False) -> Iterator[None]:
if os.environ.get('CI') == 'true' or report_env:
print('Using PATH in test environment:', path)
print('Python:', python_for_type_check())
from kitty.fast_data_types import has_avx2, has_sse4_2
print(f'Intrinsics: {has_avx2=} {has_sse4_2=}')
with TemporaryDirectory() as tdir, env_vars(
HOME=tdir,