CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
dnl
|
|
dnl Check if the assembler used supports disabling generation of hardware
|
|
dnl capabilities. This is only supported by Solaris as at the moment.
|
|
dnl
|
|
dnl Defines:
|
|
dnl HWCAP_CFLAGS='-Wa,-nH' if possible.
|
|
dnl
|
|
AC_DEFUN([GCC_CHECK_ASSEMBLER_HWCAP], [
|
|
test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
|
|
AC_REQUIRE([AC_CANONICAL_TARGET])
|
|
|
|
# Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
|
|
# with a different meaning.
|
|
case ${target_os} in
|
|
solaris2*)
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
CFLAGS="$CFLAGS -Wa,-nH"
|
|
|
|
AC_MSG_CHECKING([for as that supports -Wa,-nH])
|
|
AC_TRY_COMPILE([], [return 0;], [ac_hwcap_flags=yes],[ac_hwcap_flags=no])
|
|
if test "$ac_hwcap_flags" = "yes"; then
|
|
HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
|
|
fi
|
|
AC_MSG_RESULT($ac_hwcap_flags)
|
|
|
|
CFLAGS="$ac_save_CFLAGS"
|
|
;;
|
|
esac
|
|
|
|
AC_SUBST(HWCAP_CFLAGS)
|
|
])
|
|
|
|
|
|
dnl
|
|
dnl Check if the linker used supports linker maps to clear hardware
|
|
dnl capabilities. This is only supported on Solaris at the moment.
|
|
dnl
|
|
dnl Defines:
|
|
dnl HWCAP_LDFLAGS=-mclear-hwcap if possible
|
|
dnl LD (as a side effect of testing)
|
|
dnl
|
|
AC_DEFUN([GCC_CHECK_LINKER_HWCAP], [
|
|
test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
|
|
AC_REQUIRE([AC_PROG_LD])
|
|
|
|
ac_save_LDFLAGS="$LDFLAGS"
|
|
LDFLAGS="$LFLAGS -mclear-hwcap"
|
|
|
|
AC_MSG_CHECKING([for -mclear-hwcap])
|
|
AC_TRY_LINK([], [return 0;], [ac_hwcap_ldflags=yes],[ac_hwcap_ldflags=no])
|
|
if test "$ac_hwcap_ldflags" = "yes"; then
|
|
HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
|
|
fi
|
|
AC_MSG_RESULT($ac_hwcap_ldflags)
|
|
|
|
LDFLAGS="$ac_save_LDFLAGS"
|
|
|
|
AC_SUBST(HWCAP_LDFLAGS)
|
|
|
|
AM_CONDITIONAL(HAVE_HWCAP, test $ac_hwcap_ldflags != no)
|
|
])
|