Skip to content

Commit 6db5ddd

Browse files
committed
lzma: do not use immintrin on aarch64
1 parent 5ad76f5 commit 6db5ddd

File tree

1 file changed

+5
-1
lines changed
  • graalpython/com.oracle.graal.python.cext/lzma

1 file changed

+5
-1
lines changed

graalpython/com.oracle.graal.python.cext/lzma/config.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -70,7 +70,11 @@
7070
#define HAVE_FCNTL_H 1
7171
#define HAVE_FUTIMENS 1
7272
#define HAVE_GETTEXT 1
73+
#ifdef __aarch64__
74+
#define HAVE_IMMINTRIN_H 0
75+
#else
7376
#define HAVE_IMMINTRIN_H 1
77+
#endif
7478
#define HAVE_INTTYPES_H 1
7579
#define HAVE_LIMITS_H 1
7680
#define HAVE_MBRTOWC 1

0 commit comments

Comments
 (0)