Commit 5ab5d81b by Tobias Burnus

Skip plugin-{gcn,hsa} for (-m)x32 (PR bootstrap/93409)

        PR bootstrap/93409
        * plugin/configfrag.ac (enable_offload_targets): Skip
        HSA and GCN plugin besides -m32 also for -mx32.
        * configure: Regenerate.
parent b0e9b18e
2020-01-29 Tobias Burnus <tobias@codesourcery.com>
PR bootstrap/93409
* plugin/configfrag.ac (enable_offload_targets): Skip
HSA and GCN plugin besides -m32 also for -mx32.
* configure: Regenerate.
2020-01-29 Frederik Harwath <frederik@codesourcery.com> 2020-01-29 Frederik Harwath <frederik@codesourcery.com>
* oacc-init.c (name_of_acc_device_t): Handle acc_device_radeon. * oacc-init.c (name_of_acc_device_t): Handle acc_device_radeon.
......
...@@ -15018,7 +15018,7 @@ fi ...@@ -15018,7 +15018,7 @@ fi
# Plugins for offload execution, configure.ac fragment. -*- mode: autoconf -*- # Plugins for offload execution, configure.ac fragment. -*- mode: autoconf -*-
# #
# Copyright (C) 2014-2019 Free Software Foundation, Inc. # Copyright (C) 2014-2020 Free Software Foundation, Inc.
# #
# Contributed by Mentor Embedded. # Contributed by Mentor Embedded.
# #
...@@ -15347,7 +15347,7 @@ rm -f core conftest.err conftest.$ac_objext \ ...@@ -15347,7 +15347,7 @@ rm -f core conftest.err conftest.$ac_objext \
case "${target}" in case "${target}" in
x86_64-*-*) x86_64-*-*)
case " ${CC} ${CFLAGS} " in case " ${CC} ${CFLAGS} " in
*" -m32 "*) *" -m32 "*|*" -mx32 "*)
PLUGIN_HSA=0 PLUGIN_HSA=0
;; ;;
*) *)
...@@ -15387,7 +15387,7 @@ rm -f core conftest.err conftest.$ac_objext \ ...@@ -15387,7 +15387,7 @@ rm -f core conftest.err conftest.$ac_objext \
case "${target}" in case "${target}" in
x86_64-*-*) x86_64-*-*)
case " ${CC} ${CFLAGS} " in case " ${CC} ${CFLAGS} " in
*" -m32 "*) *" -m32 "*|*" -mx32 "*)
PLUGIN_GCN=0 PLUGIN_GCN=0
;; ;;
*) *)
......
...@@ -211,7 +211,7 @@ if test x"$enable_offload_targets" != x; then ...@@ -211,7 +211,7 @@ if test x"$enable_offload_targets" != x; then
case "${target}" in case "${target}" in
x86_64-*-*) x86_64-*-*)
case " ${CC} ${CFLAGS} " in case " ${CC} ${CFLAGS} " in
*" -m32 "*) *" -m32 "*|*" -mx32 "*)
PLUGIN_HSA=0 PLUGIN_HSA=0
;; ;;
*) *)
...@@ -251,7 +251,7 @@ if test x"$enable_offload_targets" != x; then ...@@ -251,7 +251,7 @@ if test x"$enable_offload_targets" != x; then
case "${target}" in case "${target}" in
x86_64-*-*) x86_64-*-*)
case " ${CC} ${CFLAGS} " in case " ${CC} ${CFLAGS} " in
*" -m32 "*) *" -m32 "*|*" -mx32 "*)
PLUGIN_GCN=0 PLUGIN_GCN=0
;; ;;
*) *)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment