Skip to content
Snippets Groups Projects
Unverified Commit 6d901fc8 authored by Howard Pritchard's avatar Howard Pritchard Committed by GitHub
Browse files

Merge pull request #8844 from hppritcha/topic/swat_issue_8840

configury: do not use _Float16 to avoid noisy build on aarch64
parents 38f5a358 9e2d9bd3
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@ dnl -*- shell-script -*-
dnl
dnl Copyright (c) 2018-2020 FUJITSU LIMITED. All rights reserved.
dnl Copyright (c) 2020 Cisco Systems, Inc. All rights reserved.
dnl Copyright (c) 2021 Triad National Security, LLC. All rights
dnl reserved.
dnl $COPYRIGHT$
dnl
dnl Additional copyrights may follow
......@@ -14,7 +16,16 @@ dnl Check whether the user wants to use an alternate type of C 'short float'.
dnl OPAL_CHECK_ALT_SHORT_FLOAT
dnl ------------------------------------------------------------
AC_DEFUN([OPAL_CHECK_ALT_SHORT_FLOAT], [
dnl
dnl Testing for this without checking if compiler generates warnings makes for a messy build.
dnl Hence the twiddling of the CFLAGS
dnl
OPAL_VAR_SCOPE_PUSH([CFLAGS_save])
CFLAGS_save=$CFLAGS
CFLAGS="-Werror $CFLAGS"
AC_CHECK_TYPES(_Float16)
CFLAGS=$CFLAGS_save
OPAL_VAR_SCOPE_POP
AC_MSG_CHECKING([if want alternate C type of short float])
AC_ARG_ENABLE([alt-short-float],
[AS_HELP_STRING([--enable-alt-short-float=TYPE],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment