Gentoo Archives: gentoo-dev

From: David Seifert <soap@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Add tc-check-openmp() function
Date: Sat, 22 Oct 2016 09:30:26
Message-Id: 1477128600.32021.2.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Add tc-check-openmp() function by Michael Orlitzky
1 On Do, 2016-10-13 at 16:40 -0400, Michael Orlitzky wrote:
2 > On 10/13/2016 04:35 PM, David Seifert wrote:
3 > >
4 > > + ewarn "Your current compiler does not support
5 > > OpenMP"
6 > > +
7 > > + ...
8 > > +
9 > > + die "Active compiler does not have required
10 > > support
11 >
12 > Hey, a message that isn't about comrel. Since you're going to die(),
13 > isn't eerror more accurate than ewarn?
14 >
15 >
16 >
17
18 Merged, with ewarn replaced by eerror as requested. Please use this
19 function in future if you need to assert a working OpenMP toolchain,
20 and not check for OpenMP yourself and print some self-built error
21 message (think of the clang users!).