public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-devel/libtool/files: libtool-2.4-openmp.patch
@ 2011-09-23  4:17 Mike Frysinger (vapier)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2011-09-23  4:17 UTC (permalink / raw
  To: gentoo-commits

vapier      11/09/23 04:17:36

  Added:                libtool-2.4-openmp.patch
  Log:
  Unify live/release ebuilds again.  Add patch from upstream for openmp when linking #349078 by Justin Lecher.  Add USE=static-libs support #379047 by Agostino Sarubbo.
  
  (Portage version: 2.2.0_alpha59/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-devel/libtool/files/libtool-2.4-openmp.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/files/libtool-2.4-openmp.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/files/libtool-2.4-openmp.patch?rev=1.1&content-type=text/plain

Index: libtool-2.4-openmp.patch
===================================================================
https://bugs.gentoo.org/349078

From 1b76054f4763a28ae1b01fbeee86ba0c524d1923 Mon Sep 17 00:00:00 2001
From: Justin Lecher <jlec@gentoo.org>
Date: Mon, 14 Mar 2011 08:40:50 +0100
Subject: [PATCH] Don't filter OPENMP flags (-openmp & -fopenmp) from linker lines.

If -fopenmp if passed to gcc during linking, it will take care to add all
necessary libs to link correctly for openmp support. Currently libtool filters
those flags, similar as it was the case with the threading flags. This change
handles the situation for the openmp support similar as before the thread
support was fixed.

http://lists.gnu.org/archive/html/bug-libtool/2010-12/msg00009.html
http://lists.gnu.org/archive/html/bug-libtool/2011-03/msg00014.html

* libltdl/config/ltmain.m4sh (func_mode_link): Treat OpenMP
flags like pthreads flags.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
---
 ChangeLog                  |    7 +++++++
 libltdl/config/ltmain.m4sh |    6 ++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

2011-03-22  Justin Lecher  <jlec@gentoo.org>  (tiny change)
	    Rhys Ulerich  <rhys.ulerich@gmail.com>  (tiny change)

	Don't filter OPENMP flags (-openmp & -fopenmp) from linker lines.
	* libltdl/config/ltmain.m4sh (func_mode_link): Treat OpenMP
	flags like pthreads flags.

diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 766777f..9358ec5 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -4865,7 +4865,8 @@ func_mode_link ()
 	continue
 	;;
 
-      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+      |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
 	func_append compiler_flags " $arg"
 	func_append compile_command " $arg"
 	func_append finalize_command " $arg"
@@ -5369,7 +5370,8 @@ func_mode_link ()
 	lib=
 	found=no
 	case $deplib in
-	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
 	  if test "$linkmode,$pass" = "prog,link"; then
 	    compile_deplibs="$deplib $compile_deplibs"
 	    finalize_deplibs="$deplib $finalize_deplibs"
-- 
1.7.6.1







^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-devel/libtool/files: libtool-2.4-openmp.patch
@ 2015-02-18  9:58 Lars Wendler (polynomial-c)
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Wendler (polynomial-c) @ 2015-02-18  9:58 UTC (permalink / raw
  To: gentoo-commits

polynomial-c    15/02/18 09:58:42

  Removed:              libtool-2.4-openmp.patch
  Log:
  Switch back to xz compressed tarball. Removed old versions
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-18  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-18  9:58 [gentoo-commits] gentoo-x86 commit in sys-devel/libtool/files: libtool-2.4-openmp.patch Lars Wendler (polynomial-c)
  -- strict thread matches above, loose matches on Subject: below --
2011-09-23  4:17 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox