Skip to content

Commit 6170d5d

Browse files
committed
[GR-37259] darwin-aarch64 build fixes
PullRequest: graalpython/2198
2 parents 5ad76f5 + b7e26fc commit 6170d5d

File tree

2 files changed

+6
-2
lines changed
  • graalpython
    • com.oracle.graal.python.cext/lzma
    • com.oracle.graal.python.parser.antlr

2 files changed

+6
-2
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

graalpython/com.oracle.graal.python.parser.antlr/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ${STAMP}: ${SOURCE} ${POSTPROCESSOR}
5656

5757
# postprocessing to make source compile without warnings
5858
${PARSER_PATH}/%.java: ${STAMP}
59-
python ${POSTPROCESSOR} $@
59+
python3 ${POSTPROCESSOR} $@
6060

6161
clean:
6262
ifeq ($(wildcard ${SOURCE}),)

0 commit comments

Comments
 (0)