Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Add tc-check-openmp() function

2016-10-22 Thread David Seifert
On Do, 2016-10-13 at 16:40 -0400, Michael Orlitzky wrote: > On 10/13/2016 04:35 PM, David Seifert wrote: > > > > + ewarn "Your current compiler does not support > > OpenMP" > > + > > + ... > > + > > + die "Active compiler does not have required > > support > > Hey,

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Add tc-check-openmp() function

2016-10-13 Thread M. J. Everitt
On 13/10/16 21:40, Michael Orlitzky wrote: > On 10/13/2016 04:35 PM, David Seifert wrote: >> +ewarn "Your current compiler does not support OpenMP" >> + >> +... >> + >> +die "Active compiler does not have required support > Hey, a message that isn't about

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Add tc-check-openmp() function

2016-10-13 Thread Michael Orlitzky
On 10/13/2016 04:35 PM, David Seifert wrote: > + ewarn "Your current compiler does not support OpenMP" > + > + ... > + > + die "Active compiler does not have required support Hey, a message that isn't about comrel. Since you're going to die(), isn't eerror more

[gentoo-dev] [PATCH] toolchain-funcs.eclass: Add tc-check-openmp() function

2016-10-13 Thread David Seifert
Hey all, I'd like to add a new function to toolchain-funcs, which presents a consist interface to users of packages somehow relying on OpenMP. Currently, (most) ebuilds relying on OpenMP test with tc-has-openmp and if OpenMP is not available, do something, like print a message and die, just print