summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2019-01-17 12:34:28 +0000
committerAndrew Stubbs <ams@gcc.gnu.org>2019-01-17 12:34:28 +0000
commit7431c1a19641953d1d941b346b496c41711c9f0e (patch)
treeebf4c58ef5c9d46348fb5acae6db010302d1c17f /configure.ac
parentGCN back-end code (diff)
downloadgcc-7431c1a19641953d1d941b346b496c41711c9f0e.tar.gz
gcc-7431c1a19641953d1d941b346b496c41711c9f0e.tar.bz2
gcc-7431c1a19641953d1d941b346b496c41711c9f0e.tar.xz
GCN back-end config
This patch contains the configuration adjustments needed to enable the GCN back-end. The new configure check for dlopen is required to allow building the new gcn-run tool. This tool uses libdl to load the HSA runtime libraries, which are required to run programs on the GPU. The tool is disabled if libdl is not available. 2019-01-17 Andrew Stubbs <ams@codesourcery.com> Kwok Cheung Yeung <kcy@codesourcery.com> Julian Brown <julian@codesourcery.com> Tom de Vries <tom@codesourcery.com> Jan Hubicka <hubicka@ucw.cz> Martin Jambor <mjambor@suse.cz> * configure.ac: Likewise. * configure: Regenerate. * contrib/config-list.mk: Add amdgcn-amdhsa. gcc/ * config.gcc: Add amdgcn*-*-amdhsa configuration. * configure.ac: Check for dlopen. * configure: Regenerate. Co-Authored-By: Jan Hubicka <hubicka@ucw.cz> Co-Authored-By: Julian Brown <julian@codesourcery.com> Co-Authored-By: Kwok Cheung Yeung <kcy@codesourcery.com> Co-Authored-By: Martin Jambor <mjambor@suse.cz> Co-Authored-By: Tom de Vries <tom@codesourcery.com> From-SVN: r268024
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 05475105ffc..87f2aee0500 100644
--- a/configure.ac
+++ b/configure.ac
@@ -934,6 +934,8 @@ case "${target}" in
934 noconfigdirs="$noconfigdirs ld gas gdb gprof" 934 noconfigdirs="$noconfigdirs ld gas gdb gprof"
935 noconfigdirs="$noconfigdirs sim target-rda" 935 noconfigdirs="$noconfigdirs sim target-rda"
936 ;; 936 ;;
937 amdgcn*-*-*)
938 ;;
937 arm-*-darwin*) 939 arm-*-darwin*)
938 noconfigdirs="$noconfigdirs ld gas gdb gprof" 940 noconfigdirs="$noconfigdirs ld gas gdb gprof"
939 noconfigdirs="$noconfigdirs sim target-rda" 941 noconfigdirs="$noconfigdirs sim target-rda"