This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: top-level configure.ac: factor the libgomp check for posix-like OS
- From: Gary Funck <gary at intrepid dot com>
- To: Thomas Schwinge <thomas at codesourcery dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>, Nenad Vukicevic <nenad at intrepid dot com>, Gcc Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 18 Aug 2015 06:45:53 -0700
- Subject: Re: top-level configure.ac: factor the libgomp check for posix-like OS
- Authentication-results: sourceware.org; auth=none
- References: <20150817134632 dot GI9735 at intrepid dot com> <877fothyvk dot fsf at kepler dot schwinge dot homeip dot net>
On 08/18/15 08:52:31, Thomas Schwinge wrote:
> Even if applicable regarding the libgomp configuration (because
> nvptx-none has its own libgomp "port": libgomp/config/nvptx/), it seems a
> bit strange to qualify nvptx-none as a POSIX-like system.
Hmm...
> > +
> > +# Enable libgomp by default on POSIX hosted systems.
> > +if test x$enable_libgomp = x && test $posix_like_os = "no" ; then
> > + # Disable libgomp on non POSIX hosted systems.
> > + noconfigdirs="$noconfigdirs target-libgomp"
> > fi
>
> So, we'll have to see whether that applies to libgupc for nvptx-none, too.
http://www.phoronix.com/scan.php?page=news_item&px=MTgzNTM
At the moment, I'd say nvptx is out-of-scope for GUPC.
I guess it is more complicated than I thought. It just seems a bit
odd to replicate that case statement, sans nvptx, for libgupc.
thanks,
- Gary