This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Is testing libgomp outside of the build tree supported?
- From: Ian Lance Taylor <iant at google dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Brooks Moses <bmoses at google dot com>, Diego Novillo <dnovillo at google dot com>
- Date: Mon, 3 Feb 2014 11:11:31 -0800
- Subject: Re: Is testing libgomp outside of the build tree supported?
- Authentication-results: sourceware.org; auth=none
- References: <ye6qzjm8gjkb dot fsf at elbrus2 dot mtv dot corp dot google dot com>
On Mon, Feb 3, 2014 at 10:03 AM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
>
> We test GCC without access to the build tree (we only have convenient access to
> install and source trees).
>
> Building libgomp.c/affinity-1.c and libgomp.c++/affinity-1.C fails in
> such testing, because of '#include "config.h"' which is nowhere to be
> found.
>
> Is that a bug?
> Should I open a bugzilla issue for it?
If it's easy to fix then I think it should be fixed.
But I don't think there should be a hard and fast rule that all GCC
tests can be run without the build tree. If the presence of the build
tree makes writing some tests significantly simpler, I think that is
OK.
Ian