Skip to content

Commit

Permalink
Add support for XCode 13 in toolchain.m4
Browse files Browse the repository at this point in the history
  • Loading branch information
benty-amzn committed Oct 5, 2021
1 parent b36ea6e commit c391000
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/common/autoconf/generated-configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4417,7 +4417,7 @@ VS_SDK_PLATFORM_NAME_2017=
#CUSTOM_AUTOCONF_INCLUDE

# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=1624896904
DATE_WHEN_GENERATED=1633391466

###############################################################################
#
Expand Down Expand Up @@ -20032,7 +20032,6 @@ fi




# The vendor name, if any

# Check whether --with-vendor-name was given.
Expand Down Expand Up @@ -26949,8 +26948,8 @@ fi
fi

# Fail-fast: verify we're building on a supported Xcode version
if test "${XCODE_MAJOR_VERSION}" != "6" -a "${XCODE_MAJOR_VERSION}" != "9" -a "${XCODE_MAJOR_VERSION}" != "10" -a "${XCODE_MAJOR_VERSION}" != "11" -a "${XCODE_MAJOR_VERSION}" != "12" ; then
as_fn_error $? "Xcode 6, 9-12 is required to build JDK 8, the version found was $XCODE_VERSION. Use --with-xcode-path to specify the location of Xcode or make Xcode active by using xcode-select." "$LINENO" 5
if test "${XCODE_MAJOR_VERSION}" != "6" -o "${XCODE_MAJOR_VERSION}" < "9" ; then
as_fn_error $? "Xcode 6, or 9+ is required to build JDK 8, the version found was $XCODE_VERSION. Use --with-xcode-path to specify the location of Xcode or make Xcode active by using xcode-select." "$LINENO" 5
fi

# Some versions of Xcode command line tools install gcc and g++ as symlinks to
Expand Down
4 changes: 2 additions & 2 deletions src/common/autoconf/toolchain.m4
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_PRE_DETECTION],
fi
# Fail-fast: verify we're building on a supported Xcode version
if test "${XCODE_MAJOR_VERSION}" != "6" -a "${XCODE_MAJOR_VERSION}" != "9" -a "${XCODE_MAJOR_VERSION}" != "10" -a "${XCODE_MAJOR_VERSION}" != "11" -a "${XCODE_MAJOR_VERSION}" != "12" ; then
AC_MSG_ERROR([Xcode 6, 9-12 is required to build JDK 8, the version found was $XCODE_VERSION. Use --with-xcode-path to specify the location of Xcode or make Xcode active by using xcode-select.])
if test "${XCODE_MAJOR_VERSION}" != "6" -o "${XCODE_MAJOR_VERSION}" < "9" ; then
AC_MSG_ERROR([Xcode 6, or 9+ is required to build JDK 8, the version found was $XCODE_VERSION. Use --with-xcode-path to specify the location of Xcode or make Xcode active by using xcode-select.])
fi
# Some versions of Xcode command line tools install gcc and g++ as symlinks to
Expand Down

0 comments on commit c391000

Please sign in to comment.