libgomp: Also consider --with-cuda-driver flags for build-tree testing.
commit5610fabf13dd18705b0b715582a051b8be984cb2
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Oct 2014 09:11:49 +0000 (31 09:11 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Oct 2014 09:11:49 +0000 (31 09:11 +0000)
treea966aaff0269186c9688036837e206e13147c1a8
parent4db98e2649c8612c9abc0b58e28be5b9808f6f47
libgomp: Also consider --with-cuda-driver flags for build-tree testing.

For installed testing, we assume all that to be provided in the sysroot.

libgomp/
* configure.ac (CUDA_DRIVER_INCLUDE, CUDA_DRIVER_LIB): New
substituted variables.
(testsuite/libgomp-test-support.exp): Instantiate file.
* Makefile.in: Regenerate.
* configure: Likewise.
* testsuite/Makefile.in: Likewise.
* testsuite/libgomp-test-support.exp.in: New file.
* testsuite/lib/libgomp.exp: Load it.
(libgomp_init): For build-tree testing, add the CUDA paths to
ALWAYS_CFLAGS and always_ld_library_path.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@216951 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog.gomp
libgomp/Makefile.in
libgomp/configure
libgomp/configure.ac
libgomp/testsuite/Makefile.in
libgomp/testsuite/lib/libgomp.exp
libgomp/testsuite/libgomp-test-support.exp.in [new file with mode: 0644]