This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Testsuite / Cilk Plus: Include library path in compile flags in gcc.dg/cilk-plus/cilk-plus.exp
- From: Jeff Law <law at redhat dot com>
- To: "Iyer, Balaji V" <balaji dot v dot iyer at intel dot com>, Tobias Burnus <burnus at net-b dot de>, gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 30 Oct 2013 11:08:08 -0600
- Subject: Re: Testsuite / Cilk Plus: Include library path in compile flags in gcc.dg/cilk-plus/cilk-plus.exp
- Authentication-results: sourceware.org; auth=none
- References: <5270E0CD dot 9040600 at net-b dot de> <BF230D13CA30DD48930C31D4099330003A49500B at FMSMSX101 dot amr dot corp dot intel dot com>
On 10/30/13 09:09, Iyer, Balaji V wrote:
Hello Everyone, What I ideally wanted to do with my testsuite files
was that I want all the Cilk keywords test to compile no matter what
the architecture is, but it should only run in certain architectures
where the runtime is enabled (this is known statically and thus the
testsuite doesn't have to do anything to figure it out.). Can someone
please tell me how do I do this?
I can't recall a similar situation off the top of my head. Are you
using the dg framework? Can you have multiple dg-do directives?
ie,
/* { dg-do compile } */
/* { dg-do run { target i?86-*-* x86-64-*-* } } */
?
That'd be my best guess.
jeff