This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
simplifying the gcc configure script to allow building of compilers that supports offloading to multiple accelerator in one go
- From: Mark Farnell <mark dot farnell at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 22 Dec 2014 09:24:36 +0800
- Subject: simplifying the gcc configure script to allow building of compilers that supports offloading to multiple accelerator in one go
- Authentication-results: sourceware.org; auth=none
As in the offloading documentation at gcc.gnu.org, currently one must
run ./configure and make for each accelerator and the host itself.
This is very inconvenient and prone to error.
Would it be possible to change the configure script so that all the
user needs to do is to:
* specify the target host architecture (if different from the build
machine architecture)
* list all accelerator architectures (such as KNL and PTX)
* specify the prefix
Then the compiler should build for the host, and all accelerator
architectures, and install binaries for both host and offload supoorts
into the prefix, taking care of relative positions between the host
and accelerator binaries.
Would this be feasible?