File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22#
3- # Copyright (c) 2012, 2023 , Oracle and/or its affiliates. All rights reserved.
3+ # Copyright (c) 2012, 2025 , Oracle and/or its affiliates. All rights reserved.
44# Copyright (c) 2021, Azul Systems, Inc. All rights reserved.
55# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
66#
@@ -53,17 +53,21 @@ if [ "x$OUT" = x ]; then
5353 fi
5454fi
5555
56- # Test and fix cygwin on x86_64
57- echo $OUT | grep 86- pc-cygwin > /dev/null 2> /dev/null
56+ # Test and fix cygwin/msys CPUs
57+ echo $OUT | grep -e " - pc-cygwin" > /dev/null 2> /dev/null
5858if test $? ! = 0; then
59- echo $OUT | grep 86- pc-mingw > /dev/null 2> /dev/null
59+ echo $OUT | grep -e " - pc-mingw" > /dev/null 2> /dev/null
6060fi
6161if test $? = 0; then
6262 case ` echo $PROCESSOR_IDENTIFIER | cut -f1 -d' ' ` in
6363 intel64|Intel64|INTEL64|em64t|EM64T|amd64|AMD64|8664|x86_64)
6464 REAL_CPU=x86_64
6565 OUT=$REAL_CPU ` echo $OUT | sed -e ' s/[^-]*//' `
6666 ;;
67+ ARMv8)
68+ REAL_CPU=aarch64
69+ OUT=$REAL_CPU ` echo $OUT | sed -e ' s/[^-]*//' `
70+ ;;
6771 esac
6872fi
6973
Original file line number Diff line number Diff line change 11#
2- # Copyright (c) 2011, 2024 , Oracle and/or its affiliates. All rights reserved.
2+ # Copyright (c) 2011, 2025 , Oracle and/or its affiliates. All rights reserved.
33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44#
55# This code is free software; you can redistribute it and/or modify it
@@ -87,7 +87,7 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT],
8787 elif test "x$TARGET_CPU" = xaarch64; then
8888 # for host x86-64, target aarch64
8989 # aarch64 requires Visual Studio 16.8 or higher
90- VCVARSFILES="vcvarsamd64_arm64.bat vcvarsx86_arm64.bat"
90+ VCVARSFILES="vcvarsarm64.bat vcvarsamd64_arm64.bat vcvarsx86_arm64.bat"
9191 fi
9292
9393 for VCVARSFILE in $VCVARSFILES; do
You can’t perform that action at this time.
0 commit comments