public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2012-04-30 15:09 Fabian Groffen (grobian)
  0 siblings, 0 replies; 39+ messages in thread
From: Fabian Groffen (grobian) @ 2012-04-30 15:09 UTC (permalink / raw
  To: gentoo-commits

grobian     12/04/30 15:09:25

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Extract the version LLVM refers to internally so we can properly fix install_names on Darwin, bug #412137
  
  (Portage version: 2.2.01.20430-prefix/cvs/Darwin i386)

Revision  Changes    Path
1.24                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.24&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.24&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.23&r2=1.24

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- llvm-9999.ebuild	13 Apr 2012 14:16:55 -0000	1.23
+++ llvm-9999.ebuild	30 Apr 2012 15:09:25 -0000	1.24
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.23 2012/04/13 14:16:55 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.24 2012/04/30 15:09:25 grobian Exp $
 
 EAPI="4"
 PYTHON_DEPEND="2"
@@ -152,9 +152,11 @@
 
 	# Fix install_names on Darwin.  The build system is too complicated
 	# to just fix this, so we correct it post-install
-	local lib= f= odylib=
+	local lib= f= odylib= libpv=${PV}
 	if [[ ${CHOST} == *-darwin* ]] ; then
-		for lib in lib{EnhancedDisassembly,LLVM-${PV},LTO,profile_rt}.dylib {BugpointPasses,LLVMHello}.dylib ; do
+		eval $(grep PACKAGE_VERSION= configure)
+		[[ -n ${PACKAGE_VERSION} ]] && libpv=${PACKAGE_VERSION}
+		for lib in lib{EnhancedDisassembly,LLVM-${libpv},LTO,profile_rt}.dylib {BugpointPasses,LLVMHello}.dylib ; do
 			# libEnhancedDisassembly is Darwin10 only, so non-fatal
 			[[ -f ${ED}/usr/lib/${PN}/${lib} ]] || continue
 			ebegin "fixing install_name of $lib"
@@ -164,11 +166,11 @@
 			eend $?
 		done
 		for f in "${ED}"/usr/bin/* "${ED}"/usr/lib/${PN}/libLTO.dylib ; do
-			odylib=$(scanmacho -BF'%n#f' "${f}" | tr ',' '\n' | grep libLLVM-${PV}.dylib)
+			odylib=$(scanmacho -BF'%n#f' "${f}" | tr ',' '\n' | grep libLLVM-${libpv}.dylib)
 			ebegin "fixing install_name reference to ${odylib} of ${f##*/}"
 			install_name_tool \
 				-change "${odylib}" \
-					"${EPREFIX}"/usr/lib/${PN}/libLLVM-${PV}.dylib \
+					"${EPREFIX}"/usr/lib/${PN}/libLLVM-${libpv}.dylib \
 				"${f}"
 			eend $?
 		done



1.68                 sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.68&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.68&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.67&r2=1.68

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- ChangeLog	13 Apr 2012 14:16:55 -0000	1.67
+++ ChangeLog	30 Apr 2012 15:09:25 -0000	1.68
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.67 2012/04/13 14:16:55 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.68 2012/04/30 15:09:25 grobian Exp $
+
+  30 Apr 2012; Fabian Groffen <grobian@gentoo.org> llvm-9999.ebuild:
+  Extract the version LLVM refers to internally so we can properly fix
+  install_names on Darwin, bug #412137
 
   13 Apr 2012; Bernard Cafarelli <voyageur@gentoo.org> -llvm-3.0-r1.ebuild,
   llvm-3.0-r2.ebuild, llvm-9999.ebuild:






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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2012-04-30 15:19 Fabian Groffen (grobian)
  0 siblings, 0 replies; 39+ messages in thread
From: Fabian Groffen (grobian) @ 2012-04-30 15:19 UTC (permalink / raw
  To: gentoo-commits

grobian     12/04/30 15:19:44

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Fix nodoctargz patch for latest source, bug #413111
  
  (Portage version: 2.2.01.20430-prefix/cvs/Darwin i386)

Revision  Changes    Path
1.25                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.24&r2=1.25

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- llvm-9999.ebuild	30 Apr 2012 15:09:25 -0000	1.24
+++ llvm-9999.ebuild	30 Apr 2012 15:19:44 -0000	1.25
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.24 2012/04/30 15:09:25 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.25 2012/04/30 15:19:44 grobian Exp $
 
 EAPI="4"
 PYTHON_DEPEND="2"
@@ -94,7 +94,7 @@
 	python_convert_shebangs -r 2 test/Scripts
 
 	epatch "${FILESDIR}"/${PN}-2.6-commandguide-nops.patch
-	epatch "${FILESDIR}"/${PN}-2.9-nodoctargz.patch
+	epatch "${FILESDIR}"/${PN}-3.2-nodoctargz.patch
 	epatch "${FILESDIR}"/${PN}-3.0-PPC_macro.patch
 
 	# User patches



1.69                 sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.69&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.69&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.68&r2=1.69

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- ChangeLog	30 Apr 2012 15:09:25 -0000	1.68
+++ ChangeLog	30 Apr 2012 15:19:44 -0000	1.69
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.68 2012/04/30 15:09:25 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.69 2012/04/30 15:19:44 grobian Exp $
+
+  30 Apr 2012; Fabian Groffen <grobian@gentoo.org>
+  +files/llvm-3.2-nodoctargz.patch, llvm-9999.ebuild:
+  Fix nodoctargz patch for latest source, bug #413111
 
   30 Apr 2012; Fabian Groffen <grobian@gentoo.org> llvm-9999.ebuild:
   Extract the version LLVM refers to internally so we can properly fix






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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2012-05-10  6:03 Patrick Lauer (patrick)
  0 siblings, 0 replies; 39+ messages in thread
From: Patrick Lauer (patrick) @ 2012-05-10  6:03 UTC (permalink / raw
  To: gentoo-commits

patrick     12/05/10 06:03:23

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Upstream changed doc handling, removing obsolete patch from -9999 ebuild
  
  (Portage version: 2.2.0_alpha103/cvs/Linux x86_64)

Revision  Changes    Path
1.27                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.27&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.27&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.26&r2=1.27

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- llvm-9999.ebuild	4 May 2012 07:24:15 -0000	1.26
+++ llvm-9999.ebuild	10 May 2012 06:03:23 -0000	1.27
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.26 2012/05/04 07:24:15 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.27 2012/05/10 06:03:23 patrick Exp $
 
 EAPI="4"
 PYTHON_DEPEND="2"
@@ -93,7 +93,6 @@
 	# Specify python version
 	python_convert_shebangs -r 2 test/Scripts
 
-	epatch "${FILESDIR}"/${PN}-2.6-commandguide-nops.patch
 	epatch "${FILESDIR}"/${PN}-3.2-nodoctargz.patch
 	epatch "${FILESDIR}"/${PN}-3.0-PPC_macro.patch
 



1.72                 sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.72&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.72&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.71&r2=1.72

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- ChangeLog	4 May 2012 07:24:15 -0000	1.71
+++ ChangeLog	10 May 2012 06:03:23 -0000	1.72
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.71 2012/05/04 07:24:15 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.72 2012/05/10 06:03:23 patrick Exp $
+
+  10 May 2012; Patrick Lauer <patrick@gentoo.org> llvm-9999.ebuild:
+  Upstream changed doc handling, removing obsolete patch from -9999 ebuild
 
   04 May 2012; Jeff Horelick <jdhore@gentoo.org> llvm-2.9-r2.ebuild,
   llvm-3.0-r2.ebuild, llvm-9999.ebuild:






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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-03-19 12:42 Chi-Thanh Christopher Nguyen (chithanh)
  0 siblings, 0 replies; 39+ messages in thread
From: Chi-Thanh Christopher Nguyen (chithanh) @ 2013-03-19 12:42 UTC (permalink / raw
  To: gentoo-commits

chithanh    13/03/19 12:42:12

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Add video_cards_radeon flag for the r600 shader compiler.
  
  (Portage version: 2.1.11.52/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.40                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.40&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.40&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.39&r2=1.40

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- llvm-9999.ebuild	2 Feb 2013 23:41:54 -0000	1.39
+++ llvm-9999.ebuild	19 Mar 2013 12:42:12 -0000	1.40
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.39 2013/02/02 23:41:54 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.40 2013/03/19 12:42:12 chithanh Exp $
 
 EAPI=5
 
@@ -18,7 +18,7 @@
 LICENSE="UoI-NCSA"
 SLOT="0"
 KEYWORDS=""
-IUSE="debug doc gold +libffi multitarget ocaml test udis86 vim-syntax"
+IUSE="debug doc gold +libffi multitarget ocaml test udis86 vim-syntax video_cards_radeon"
 
 DEPEND="dev-lang/perl
 	dev-python/sphinx
@@ -135,6 +135,10 @@
 		CONF_FLAGS="${CONF_FLAGS} --with-udis86"
 	fi
 
+	if use video_cards_radeon; then
+		CONF_FLAGS="${CONF_FLAGS} --enable-experimental-targets=R600"
+	fi
+
 	if use libffi; then
 		append-cppflags "$(pkg-config --cflags libffi)"
 	fi



1.108                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.108&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.108&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.107&r2=1.108

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- ChangeLog	27 Feb 2013 06:02:15 -0000	1.107
+++ ChangeLog	19 Mar 2013 12:42:12 -0000	1.108
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.107 2013/02/27 06:02:15 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.108 2013/03/19 12:42:12 chithanh Exp $
+
+  19 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  llvm-9999.ebuild:
+  Add video_cards_radeon flag for the r600 shader compiler.
 
   27 Feb 2013; Zac Medico <zmedico@gentoo.org> llvm-3.2.ebuild:
   Add ~arm-linux keyword.





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-03-21  9:12 Chi-Thanh Christopher Nguyen (chithanh)
  0 siblings, 0 replies; 39+ messages in thread
From: Chi-Thanh Christopher Nguyen (chithanh) @ 2013-03-21  9:12 UTC (permalink / raw
  To: gentoo-commits

chithanh    13/03/21 09:12:55

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Disable failing patch, bug #462444.
  
  (Portage version: 2.1.11.52/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.41                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.40&r2=1.41

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- llvm-9999.ebuild	19 Mar 2013 12:42:12 -0000	1.40
+++ llvm-9999.ebuild	21 Mar 2013 09:12:55 -0000	1.41
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.40 2013/03/19 12:42:12 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.41 2013/03/21 09:12:55 chithanh Exp $
 
 EAPI=5
 
@@ -99,7 +99,8 @@
 		|| die "FileCheck Makefile sed failed"
 
 	epatch "${FILESDIR}"/${PN}-3.2-nodoctargz.patch
-	epatch "${FILESDIR}"/${PN}-3.0-PPC_macro.patch
+#	Patch fails to apply, bug #462444
+#	epatch "${FILESDIR}"/${PN}-3.0-PPC_macro.patch
 
 	# User patches
 	epatch_user



1.109                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.109&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.109&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.108&r2=1.109

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- ChangeLog	19 Mar 2013 12:42:12 -0000	1.108
+++ ChangeLog	21 Mar 2013 09:12:55 -0000	1.109
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.108 2013/03/19 12:42:12 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.109 2013/03/21 09:12:55 chithanh Exp $
+
+  21 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  llvm-9999.ebuild:
+  Disable failing patch, bug #462444.
 
   19 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
   llvm-9999.ebuild:





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-09-07 13:08 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-09-07 13:08 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/09/07 13:08:03

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Use official git mirror for the live ebuild since git-r3 is more space- and bandwidth-efficient than subversion.
  
  (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.52                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.52&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.52&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.51&r2=1.52

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- llvm-9999.ebuild	5 Sep 2013 19:08:49 -0000	1.51
+++ llvm-9999.ebuild	7 Sep 2013 13:08:03 -0000	1.52
@@ -1,18 +1,17 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.51 2013/09/05 19:08:49 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.52 2013/09/07 13:08:03 mgorny Exp $
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
+PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
 
-inherit subversion eutils flag-o-matic multilib multilib-minimal \
+inherit eutils flag-o-matic git-r3 multilib multilib-minimal \
 	python-r1 toolchain-funcs pax-utils check-reqs
 
 DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="http://llvm.org/"
 SRC_URI=""
-ESVN_REPO_URI="http://llvm.org/svn/llvm-project/llvm/trunk"
 
 LICENSE="UoI-NCSA"
 SLOT="0/${PV}"
@@ -130,18 +129,18 @@
 
 src_unpack() {
 	if use clang; then
-		ESVN_PROJECT=compiler-rt S="${S}"/projects/compiler-rt subversion_fetch "http://llvm.org/svn/llvm-project/compiler-rt/trunk"
-
-		# Force version match between LLVM, compiler-rt & clang
-		# but first work-around subversion.eclass smartness, bug #282486.
-		ESVN_PROJECT=compiler-rt subversion_wc_info "http://llvm.org/svn/llvm-project/compiler-rt/trunk"
-		local ESVN_REVISION=${ESVN_WC_REVISION}
-
-		ESVN_PROJECT=clang S="${S}"/tools/clang subversion_fetch "http://llvm.org/svn/llvm-project/cfe/trunk"
+		git-r3_fetch http://llvm.org/git/compiler-rt.git
+		git-r3_fetch http://llvm.org/git/clang.git
 	fi
+	git-r3_fetch http://llvm.org/git/llvm.git
 
-	# Do llvm last so that ESVN_WC_* is top-level.
-	subversion_src_unpack
+	if use clang; then
+		git-r3_checkout http://llvm.org/git/compiler-rt.git \
+			"${S}"/projects/compiler-rt
+		git-r3_checkout http://llvm.org/git/clang.git \
+			"${S}"/tools/clang
+	fi
+	git-r3_checkout http://llvm.org/git/llvm.git
 }
 
 src_prepare() {



1.135                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.135&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.135&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.134&r2=1.135

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -r1.134 -r1.135
--- ChangeLog	5 Sep 2013 19:08:49 -0000	1.134
+++ ChangeLog	7 Sep 2013 13:08:03 -0000	1.135
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.134 2013/09/05 19:08:49 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.135 2013/09/07 13:08:03 mgorny Exp $
+
+  07 Sep 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Use official git mirror for the live ebuild since git-r3 is more space- and
+  bandwidth-efficient than subversion.
 
   05 Sep 2013; Michał Górny <mgorny@gentoo.org> llvm-3.2.ebuild,
   llvm-3.3-r1.ebuild, llvm-3.3.ebuild, llvm-9999.ebuild:





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-09-10  8:22 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-09-10  8:22 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/09/10 08:22:20

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Declare EGIT_REPO_URI to make smart-live-rebuild a bit happier.
  
  (Portage version: 2.2.2/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.53                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.53&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.53&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.52&r2=1.53

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- llvm-9999.ebuild	7 Sep 2013 13:08:03 -0000	1.52
+++ llvm-9999.ebuild	10 Sep 2013 08:22:20 -0000	1.53
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.52 2013/09/07 13:08:03 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.53 2013/09/10 08:22:20 mgorny Exp $
 
 EAPI=5
 
@@ -12,6 +12,7 @@
 DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="http://llvm.org/"
 SRC_URI=""
+EGIT_REPO_URI="http://llvm.org/git/llvm.git"
 
 LICENSE="UoI-NCSA"
 SLOT="0/${PV}"
@@ -132,7 +133,7 @@
 		git-r3_fetch http://llvm.org/git/compiler-rt.git
 		git-r3_fetch http://llvm.org/git/clang.git
 	fi
-	git-r3_fetch http://llvm.org/git/llvm.git
+	git-r3_fetch
 
 	if use clang; then
 		git-r3_checkout http://llvm.org/git/compiler-rt.git \
@@ -140,7 +141,7 @@
 		git-r3_checkout http://llvm.org/git/clang.git \
 			"${S}"/tools/clang
 	fi
-	git-r3_checkout http://llvm.org/git/llvm.git
+	git-r3_checkout
 }
 
 src_prepare() {



1.136                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.136&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.136&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.135&r2=1.136

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -r1.135 -r1.136
--- ChangeLog	7 Sep 2013 13:08:03 -0000	1.135
+++ ChangeLog	10 Sep 2013 08:22:20 -0000	1.136
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.135 2013/09/07 13:08:03 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.136 2013/09/10 08:22:20 mgorny Exp $
+
+  10 Sep 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Declare EGIT_REPO_URI to make smart-live-rebuild a bit happier.
 
   07 Sep 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Use official git mirror for the live ebuild since git-r3 is more space- and





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-09-13 15:10 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-09-13 15:10 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/09/13 15:10:34

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Add github LLVM mirror as git backup URL. Requested in bug #484748.
  
  (Portage version: 2.2.4/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.54                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.54&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.54&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.53&r2=1.54

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- llvm-9999.ebuild	10 Sep 2013 08:22:20 -0000	1.53
+++ llvm-9999.ebuild	13 Sep 2013 15:10:34 -0000	1.54
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.53 2013/09/10 08:22:20 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.54 2013/09/13 15:10:34 mgorny Exp $
 
 EAPI=5
 
@@ -12,7 +12,8 @@
 DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="http://llvm.org/"
 SRC_URI=""
-EGIT_REPO_URI="http://llvm.org/git/llvm.git"
+EGIT_REPO_URI="http://llvm.org/git/llvm.git
+	https://github.com/llvm-mirror/llvm.git"
 
 LICENSE="UoI-NCSA"
 SLOT="0/${PV}"
@@ -130,8 +131,10 @@
 
 src_unpack() {
 	if use clang; then
-		git-r3_fetch http://llvm.org/git/compiler-rt.git
-		git-r3_fetch http://llvm.org/git/clang.git
+		git-r3_fetch "http://llvm.org/git/compiler-rt.git
+			https://github.com/llvm-mirror/compiler-rt.git"
+		git-r3_fetch "http://llvm.org/git/clang.git
+			https://github.com/llvm-mirror/clang.git"
 	fi
 	git-r3_fetch
 



1.137                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.137&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.137&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.136&r2=1.137

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -r1.136 -r1.137
--- ChangeLog	10 Sep 2013 08:22:20 -0000	1.136
+++ ChangeLog	13 Sep 2013 15:10:34 -0000	1.137
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.136 2013/09/10 08:22:20 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.137 2013/09/13 15:10:34 mgorny Exp $
+
+  13 Sep 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Add github LLVM mirror as git backup URL. Requested in bug #484748.
 
   10 Sep 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Declare EGIT_REPO_URI to make smart-live-rebuild a bit happier.





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-10-13  7:44 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-10-13  7:44 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/10/13 07:44:58

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Disable embedding timestamps to increase ccache hit rate.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.56                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.56&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.56&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.55&r2=1.56

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- llvm-9999.ebuild	4 Oct 2013 15:43:44 -0000	1.55
+++ llvm-9999.ebuild	13 Oct 2013 07:44:58 -0000	1.56
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.55 2013/10/04 15:43:44 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.56 2013/10/13 07:44:58 mgorny Exp $
 
 EAPI=5
 
@@ -178,7 +178,9 @@
 }
 
 multilib_src_configure() {
-	local CONF_FLAGS="--enable-keep-symbols
+	# disable timestamps since they confuse ccache
+	local CONF_FLAGS="--disable-timestamps
+		--enable-keep-symbols
 		--enable-shared
 		--with-optimize-option=
 		$(use_enable !debug optimized)



1.140                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.140&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.140&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.139&r2=1.140

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -r1.139 -r1.140
--- ChangeLog	13 Oct 2013 07:34:11 -0000	1.139
+++ ChangeLog	13 Oct 2013 07:44:58 -0000	1.140
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.139 2013/10/13 07:34:11 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.140 2013/10/13 07:44:58 mgorny Exp $
+
+  13 Oct 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Disable embedding timestamps to increase ccache hit rate.
 
   13 Oct 2013; Michał Górny <mgorny@gentoo.org>
   +files/clang-3.3-gcc-header-path.patch, llvm-3.3-r1.ebuild:





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-10-31 16:22 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-10-31 16:22 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/10/31 16:22:00

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Update the Gentoo patch. Use multilib_build_binaries per bug #489586.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.58                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.58&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.58&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.57&r2=1.58

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- llvm-9999.ebuild	14 Oct 2013 16:39:57 -0000	1.57
+++ llvm-9999.ebuild	31 Oct 2013 16:22:00 -0000	1.58
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.57 2013/10/14 16:39:57 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.58 2013/10/31 16:22:00 mgorny Exp $
 
 EAPI=5
 
@@ -204,7 +204,7 @@
 		fi
 	fi
 
-	if multilib_is_native_abi && use gold; then
+	if multilib_build_binaries && use gold; then
 		CONF_FLAGS="${CONF_FLAGS} --with-binutils-include=${EPREFIX}/usr/include/"
 	fi
 	if multilib_is_native_abi && use ocaml; then
@@ -282,7 +282,7 @@
 			"${ED}"/usr/bin/* || die
 	fi
 
-	if multilib_is_native_abi; then
+	if multilib_build_binaries; then
 		# Move files back.
 		if path_exists -o "${ED}"/tmp/llvm-config.*; then
 			mv "${ED}"/tmp/llvm-config.* "${ED}"/usr/bin || die



1.143                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.143&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.143&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.142&r2=1.143

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -r1.142 -r1.143
--- ChangeLog	14 Oct 2013 16:39:57 -0000	1.142
+++ ChangeLog	31 Oct 2013 16:22:00 -0000	1.143
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.142 2013/10/14 16:39:57 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.143 2013/10/31 16:22:00 mgorny Exp $
+
+  31 Oct 2013; Michał Górny <mgorny@gentoo.org>
+  files/llvm-3.4-gentoo-install.patch, llvm-9999.ebuild:
+  Update the Gentoo patch. Use multilib_build_binaries per bug #489586.
 
   14 Oct 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild, metadata.xml:
   Clean up the deps & configure call. Add USE=ncurses to control terminfo use.





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-11-12 18:30 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-11-12 18:30 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/11/12 18:30:46

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Bump make dep to 3.81 since 3.80 was reported non-working by okias.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.59                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.59&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.59&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.58&r2=1.59

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- llvm-9999.ebuild	31 Oct 2013 16:22:00 -0000	1.58
+++ llvm-9999.ebuild	12 Nov 2013 18:30:46 -0000	1.59
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.58 2013/10/31 16:22:00 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.59 2013/11/12 18:30:46 mgorny Exp $
 
 EAPI=5
 
@@ -38,7 +38,7 @@
 DEPEND="${COMMON_DEPEND}
 	dev-lang/perl
 	dev-python/sphinx
-	>=sys-devel/make-3.79
+	>=sys-devel/make-3.81
 	>=sys-devel/flex-2.5.4
 	>=sys-devel/bison-1.875d
 	|| ( >=sys-devel/gcc-3.0 >=sys-devel/gcc-apple-4.2.1



1.145                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.145&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.145&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.144&r2=1.145

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -r1.144 -r1.145
--- ChangeLog	10 Nov 2013 15:14:28 -0000	1.144
+++ ChangeLog	12 Nov 2013 18:30:46 -0000	1.145
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.144 2013/11/10 15:14:28 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.145 2013/11/12 18:30:46 mgorny Exp $
+
+  12 Nov 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Bump make dep to 3.81 since 3.80 was reported non-working by okias.
 
   10 Nov 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
   llvm-3.3-r1.ebuild:





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-11-27  5:32 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-11-27  5:32 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/11/27 05:32:16

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Bump clang version to 3.5, bug #491880. Thanks to Mike Lothian for finding out what is wrong.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.60                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.60&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.60&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.59&r2=1.60

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- llvm-9999.ebuild	12 Nov 2013 18:30:46 -0000	1.59
+++ llvm-9999.ebuild	27 Nov 2013 05:32:16 -0000	1.60
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.59 2013/11/12 18:30:46 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.60 2013/11/27 05:32:16 mgorny Exp $
 
 EAPI=5
 
@@ -192,7 +192,7 @@
 
 	if use clang; then
 		CONF_FLAGS+="
-			--with-clang-resource-dir=../lib/clang/3.4"
+			--with-clang-resource-dir=../lib/clang/3.5"
 	fi
 
 	if use multitarget; then



1.146                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.146&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.146&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.145&r2=1.146

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- ChangeLog	12 Nov 2013 18:30:46 -0000	1.145
+++ ChangeLog	27 Nov 2013 05:32:16 -0000	1.146
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.145 2013/11/12 18:30:46 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.146 2013/11/27 05:32:16 mgorny Exp $
+
+  27 Nov 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Bump clang version to 3.5, bug #491880. Thanks to Mike Lothian for finding out
+  what is wrong.
 
   12 Nov 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Bump make dep to 3.81 since 3.80 was reported non-working by okias.





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-11-30 10:33 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-11-30 10:33 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/11/30 10:33:59

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Drop the custom Gentoo "llvm" sub-dir that requires a lot of extra hacking, and causes bugs like #492554 and #488216.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.61                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.61&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.61&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.60&r2=1.61

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- llvm-9999.ebuild	27 Nov 2013 05:32:16 -0000	1.60
+++ llvm-9999.ebuild	30 Nov 2013 10:33:59 -0000	1.61
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.60 2013/11/27 05:32:16 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.61 2013/11/30 10:33:59 mgorny Exp $
 
 EAPI=5
 
@@ -151,7 +151,7 @@
 src_prepare() {
 	epatch "${FILESDIR}"/${PN}-3.2-nodoctargz.patch
 	epatch "${FILESDIR}"/${PN}-3.4-gentoo-install.patch
-	use clang && epatch "${FILESDIR}"/clang-3.3-gentoo-install.patch
+	use clang && epatch "${FILESDIR}"/clang-3.4-gentoo-install.patch
 
 	local sub_files=(
 		Makefile.config.in
@@ -276,12 +276,6 @@
 multilib_src_install() {
 	emake DESTDIR="${D}" GENTOO_LIBDIR=$(get_libdir) install
 
-	# Fix rpaths.
-	if use !kernel_Darwin ; then
-		chrpath -r "${EPREFIX}"/usr/$(get_libdir)/llvm \
-			"${ED}"/usr/bin/* || die
-	fi
-
 	if multilib_build_binaries; then
 		# Move files back.
 		if path_exists -o "${ED}"/tmp/llvm-config.*; then
@@ -305,27 +299,27 @@
 		for lib in lib{EnhancedDisassembly,LLVM-${libpv},LTO,profile_rt,clang}.dylib {BugpointPasses,LLVMHello}.dylib ; do
 			# libEnhancedDisassembly is Darwin10 only, so non-fatal
 			# + omit clang libs if not enabled
-			[[ -f ${ED}/usr/lib/${PN}/${lib} ]] || continue
+			[[ -f ${ED}/usr/lib/${lib} ]] || continue
 
 			ebegin "fixing install_name of $lib"
 			install_name_tool \
-				-id "${EPREFIX}"/usr/lib/${PN}/${lib} \
-				"${ED}"/usr/lib/${PN}/${lib}
+				-id "${EPREFIX}"/usr/lib/${lib} \
+				"${ED}"/usr/lib/${lib}
 			eend $?
 		done
-		for f in "${ED}"/usr/bin/* "${ED}"/usr/lib/${PN}/lib{LTO,clang}.dylib ; do
+		for f in "${ED}"/usr/bin/* "${ED}"/usr/lib/lib{LTO,clang}.dylib ; do
 			# omit clang libs if not enabled
-			[[ -f ${ED}/usr/lib/${PN}/${lib} ]] || continue
+			[[ -f ${ED}/usr/lib/${lib} ]] || continue
 
 			odylib=$(scanmacho -BF'%n#f' "${f}" | tr ',' '\n' | grep libLLVM-${libpv}.dylib)
 			ebegin "fixing install_name reference to ${odylib} of ${f##*/}"
 			install_name_tool \
 				-change "${odylib}" \
-					"${EPREFIX}"/usr/lib/${PN}/libLLVM-${libpv}.dylib \
+					"${EPREFIX}"/usr/lib/libLLVM-${libpv}.dylib \
 				-change "@rpath/libclang.dylib" \
-					"${EPREFIX}"/usr/lib/llvm/libclang.dylib \
+					"${EPREFIX}"/usr/lib/libclang.dylib \
 				-change "${S}"/Release/lib/libclang.dylib \
-					"${EPREFIX}"/usr/lib/llvm/libclang.dylib \
+					"${EPREFIX}"/usr/lib/libclang.dylib \
 				"${f}"
 			eend $?
 		done



1.147                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.147&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.147&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.146&r2=1.147

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- ChangeLog	27 Nov 2013 05:32:16 -0000	1.146
+++ ChangeLog	30 Nov 2013 10:33:59 -0000	1.147
@@ -1,6 +1,12 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.146 2013/11/27 05:32:16 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.147 2013/11/30 10:33:59 mgorny Exp $
+
+  30 Nov 2013; Michał Górny <mgorny@gentoo.org>
+  +files/clang-3.4-gentoo-install.patch, files/llvm-3.4-gentoo-install.patch,
+  llvm-9999.ebuild:
+  Drop the custom Gentoo "llvm" sub-dir that requires a lot of extra hacking,
+  and causes bugs like #492554 and #488216.
 
   27 Nov 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Bump clang version to 3.5, bug #491880. Thanks to Mike Lothian for finding out





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-03 14:02 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-03 14:02 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/03 14:02:42

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Update Gentoo patch for clang.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.62                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.62&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.62&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.61&r2=1.62

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- llvm-9999.ebuild	30 Nov 2013 10:33:59 -0000	1.61
+++ llvm-9999.ebuild	3 Dec 2013 14:02:42 -0000	1.62
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.61 2013/11/30 10:33:59 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.62 2013/12/03 14:02:42 mgorny Exp $
 
 EAPI=5
 
@@ -151,7 +151,7 @@
 src_prepare() {
 	epatch "${FILESDIR}"/${PN}-3.2-nodoctargz.patch
 	epatch "${FILESDIR}"/${PN}-3.4-gentoo-install.patch
-	use clang && epatch "${FILESDIR}"/clang-3.4-gentoo-install.patch
+	use clang && epatch "${FILESDIR}"/clang-3.5-gentoo-install.patch
 
 	local sub_files=(
 		Makefile.config.in



1.148                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.148&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.148&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.147&r2=1.148

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- ChangeLog	30 Nov 2013 10:33:59 -0000	1.147
+++ ChangeLog	3 Dec 2013 14:02:42 -0000	1.148
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.147 2013/11/30 10:33:59 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.148 2013/12/03 14:02:42 mgorny Exp $
+
+  03 Dec 2013; Michał Górny <mgorny@gentoo.org>
+  +files/clang-3.5-gentoo-install.patch, llvm-9999.ebuild:
+  Update Gentoo patch for clang.
 
   30 Nov 2013; Michał Górny <mgorny@gentoo.org>
   +files/clang-3.4-gentoo-install.patch, files/llvm-3.4-gentoo-install.patch,





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-19 11:08 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-19 11:08 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/19 11:08:15

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Clean up the build procedure a bit. Pass the same MAKEOPTS to all calls, and therefore make tests verbose as well. Avoid building unnecessary tools for non-native ABIs.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.63                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.63&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.63&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.62&r2=1.63

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- llvm-9999.ebuild	3 Dec 2013 14:02:42 -0000	1.62
+++ llvm-9999.ebuild	19 Dec 2013 11:08:15 -0000	1.63
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.62 2013/12/03 14:02:42 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.63 2013/12/19 11:08:15 mgorny Exp $
 
 EAPI=5
 
@@ -180,7 +180,8 @@
 
 multilib_src_configure() {
 	# disable timestamps since they confuse ccache
-	local CONF_FLAGS="--disable-timestamps
+	local conf_flags=(
+		--disable-timestamps
 		--enable-keep-symbols
 		--enable-shared
 		--with-optimize-option=
@@ -188,33 +189,33 @@
 		$(use_enable debug assertions)
 		$(use_enable debug expensive-checks)
 		$(use_enable ncurses terminfo)
-		$(use_enable libffi)"
+		$(use_enable libffi)
+	)
 
 	if use clang; then
-		CONF_FLAGS+="
-			--with-clang-resource-dir=../lib/clang/3.5"
+		conf_flags+=( --with-clang-resource-dir=../lib/clang/3.5 )
 	fi
 
+	local targets bindings
 	if use multitarget; then
-		CONF_FLAGS="${CONF_FLAGS} --enable-targets=all"
+		targets='all'
 	else
-		CONF_FLAGS="${CONF_FLAGS} --enable-targets=host,cpp"
-		if use video_cards_radeon; then
-			CONF_FLAGS="${CONF_FLAGS},r600"
-		fi
+		targets='host,cpp'
+		use video_cards_radeon && targets+=',r600'
 	fi
+	conf_flags+=( --enable-targets=${targets} )
 
-	if multilib_build_binaries && use gold; then
-		CONF_FLAGS="${CONF_FLAGS} --with-binutils-include=${EPREFIX}/usr/include/"
-	fi
-	if multilib_is_native_abi && use ocaml; then
-		CONF_FLAGS="${CONF_FLAGS} --enable-bindings=ocaml"
-	else
-		CONF_FLAGS="${CONF_FLAGS} --enable-bindings=none"
+	if multilib_build_binaries; then
+		use gold && conf_flags+=( --with-binutils-include="${EPREFIX}"/usr/include/ )
+		# extra commas don't hurt
+		use ocaml && bindings+=',ocaml'
 	fi
 
+	[[ ${bindings} ]] || bindings='none'
+	conf_flags+=( --enable-bindings=${bindings} )
+
 	if use udis86; then
-		CONF_FLAGS="${CONF_FLAGS} --with-udis86"
+		conf_flags+=( --with-udis86 )
 	fi
 
 	if use libffi; then
@@ -229,13 +230,39 @@
 	tc-export CC CXX
 
 	ECONF_SOURCE=${S} \
-	econf ${CONF_FLAGS}
+	econf "${conf_flags[@]}"
+}
+
+set_makeargs() {
+	MAKEARGS=(
+		VERBOSE=1
+		REQUIRES_RTTI=1
+		GENTOO_LIBDIR=$(get_libdir)
+	)
+
+	if ! multilib_build_binaries; then
+		local tools=( llvm-config )
+		use clang && tools+=( clang )
+		use test && tools+=(
+			llc llvm-objdump llvm-readobj llvm-dwarfdump llvm-rtdyld llvm-cov
+			yaml2obj obj2yaml opt llvm-mcmarkup bugpoint llvm-c-test bugpoint-passes
+			llvm-as llvm-dis llvm-nm llvm-bcanalyzer llvm-mc macho-dump llvm-ar
+			llvm-extract lli llvm-link llvm-lto
+		)
+
+		MAKEARGS+=(
+			ONLY_TOOLS="${tools[*]}"
+		)
+	fi
 }
 
 multilib_src_compile() {
-	emake VERBOSE=1 REQUIRES_RTTI=1 GENTOO_LIBDIR=$(get_libdir)
+	local MAKEARGS
+	set_makeargs
 
-	if multilib_is_native_abi; then
+	emake "${MAKEARGS[@]}"
+
+	if multilib_build_binaries; then
 		emake -C "${S}"/docs -f Makefile.sphinx man
 		use doc && emake -C "${S}"/docs -f Makefile.sphinx html
 	fi
@@ -255,9 +282,12 @@
 }
 
 multilib_src_test() {
-	default
+	local MAKEARGS
+	set_makeargs
 
-	use clang && emake -C tools/clang test
+	emake "${MAKEARGS[@]}" check
+
+	use clang && emake "${MAKEARGS[@]}" -C tools/clang test
 }
 
 src_install() {
@@ -274,7 +304,10 @@
 }
 
 multilib_src_install() {
-	emake DESTDIR="${D}" GENTOO_LIBDIR=$(get_libdir) install
+	local MAKEARGS
+	set_makeargs
+
+	emake "${MAKEARGS[@]}" DESTDIR="${D}" install
 
 	if multilib_build_binaries; then
 		# Move files back.



1.149                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.149&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.149&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.148&r2=1.149

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -r1.148 -r1.149
--- ChangeLog	3 Dec 2013 14:02:42 -0000	1.148
+++ ChangeLog	19 Dec 2013 11:08:15 -0000	1.149
@@ -1,6 +1,11 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.148 2013/12/03 14:02:42 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.149 2013/12/19 11:08:15 mgorny Exp $
+
+  19 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Clean up the build procedure a bit. Pass the same MAKEOPTS to all calls, and
+  therefore make tests verbose as well. Avoid building unnecessary tools for
+  non-native ABIs.
 
   03 Dec 2013; Michał Górny <mgorny@gentoo.org>
   +files/clang-3.5-gentoo-install.patch, llvm-9999.ebuild:





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-19 17:22 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-19 17:22 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/19 17:22:46

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Delay building unnecessary tools & unittests until src_test(). Do not install BugpointPasses.so (seems unused). Match man phase generation & install phases.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.64                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.64&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.64&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.63&r2=1.64

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- llvm-9999.ebuild	19 Dec 2013 11:08:15 -0000	1.63
+++ llvm-9999.ebuild	19 Dec 2013 17:22:46 -0000	1.64
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.63 2013/12/19 11:08:15 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.64 2013/12/19 17:22:46 mgorny Exp $
 
 EAPI=5
 
@@ -240,18 +240,29 @@
 		GENTOO_LIBDIR=$(get_libdir)
 	)
 
-	if ! multilib_build_binaries; then
+	# for tests, we want it all! otherwise, we may use a little filtering...
+	# adding ONLY_TOOLS also disables unittest building...
+	if [[ ${EBUILD_PHASE_FUNC} != src_test ]]; then
 		local tools=( llvm-config )
 		use clang && tools+=( clang )
-		use test && tools+=(
-			llc llvm-objdump llvm-readobj llvm-dwarfdump llvm-rtdyld llvm-cov
-			yaml2obj obj2yaml opt llvm-mcmarkup bugpoint llvm-c-test bugpoint-passes
-			llvm-as llvm-dis llvm-nm llvm-bcanalyzer llvm-mc macho-dump llvm-ar
-			llvm-extract lli llvm-link llvm-lto
-		)
+
+		if multilib_build_binaries; then
+			use gold && tools+=( gold )
+			tools+=(
+				opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link lli
+				llvm-extract llvm-mc llvm-bcanalyzer llvm-diff macho-dump
+				llvm-objdump llvm-readobj llvm-rtdyld llvm-dwarfdump llvm-cov
+				llvm-size llvm-stress llvm-mcmarkup llvm-symbolizer obj2yaml
+				yaml2obj lto llvm-lto
+			)
+		fi
 
 		MAKEARGS+=(
+			# filter tools + disable unittests implicitly
 			ONLY_TOOLS="${tools[*]}"
+
+			# this disables unittests & docs from clang
+			BUILD_CLANG_ONLY=YES
 		)
 	fi
 }
@@ -264,6 +275,8 @@
 
 	if multilib_build_binaries; then
 		emake -C "${S}"/docs -f Makefile.sphinx man
+		use clang && emake -C "${S}"/tools/clang/docs/tools \
+			BUILD_FOR_WEBSITE=1 DST_MAN_DIR="${T}"/ man
 		use doc && emake -C "${S}"/docs -f Makefile.sphinx html
 	fi
 
@@ -274,19 +287,20 @@
 		pax-mark m Release/bin/llvm-rtdyld
 		pax-mark m Release/bin/lli
 	fi
-	if use test; then
-		pax-mark m unittests/ExecutionEngine/JIT/Release/JITTests
-		pax-mark m unittests/ExecutionEngine/MCJIT/Release/MCJITTests
-		pax-mark m unittests/Support/Release/SupportTests
-	fi
 }
 
 multilib_src_test() {
 	local MAKEARGS
 	set_makeargs
 
-	emake "${MAKEARGS[@]}" check
+	# build the remaining tools & unittests
+	emake "${MAKEARGS[@]}"
+
+	pax-mark m unittests/ExecutionEngine/JIT/Release/JITTests
+	pax-mark m unittests/ExecutionEngine/MCJIT/Release/MCJITTests
+	pax-mark m unittests/Support/Release/SupportTests
 
+	emake "${MAKEARGS[@]}" check
 	use clang && emake "${MAKEARGS[@]}" -C tools/clang test
 }
 
@@ -314,6 +328,10 @@
 		if path_exists -o "${ED}"/tmp/llvm-config.*; then
 			mv "${ED}"/tmp/llvm-config.* "${ED}"/usr/bin || die
 		fi
+
+		doman "${S}"/docs/_build/man/*.1
+		use clang && doman "${T}"/clang.1
+		use doc && dohtml -r "${S}"/docs/_build/html/
 	else
 		# Preserve ABI-variant of llvm-config,
 		# then drop all the executables since LLVM doesn't like to
@@ -360,9 +378,6 @@
 }
 
 multilib_src_install_all() {
-	doman docs/_build/man/*.1
-	use doc && dohtml -r docs/_build/html/
-
 	insinto /usr/share/vim/vimfiles/syntax
 	doins utils/vim/*.vim
 



1.150                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.150&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.150&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.149&r2=1.150

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- ChangeLog	19 Dec 2013 11:08:15 -0000	1.149
+++ ChangeLog	19 Dec 2013 17:22:46 -0000	1.150
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.149 2013/12/19 11:08:15 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.150 2013/12/19 17:22:46 mgorny Exp $
+
+  19 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Delay building unnecessary tools & unittests until src_test(). Do not install
+  BugpointPasses.so (seems unused). Match man phase generation & install phases.
 
   19 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Clean up the build procedure a bit. Pass the same MAKEOPTS to all calls, and





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-19 17:26 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-19 17:26 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/19 17:26:35

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Remove traces of BugpointPasses in darwin branch.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.65                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.65&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.65&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.64&r2=1.65

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- llvm-9999.ebuild	19 Dec 2013 17:22:46 -0000	1.64
+++ llvm-9999.ebuild	19 Dec 2013 17:26:35 -0000	1.65
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.64 2013/12/19 17:22:46 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.65 2013/12/19 17:26:35 mgorny Exp $
 
 EAPI=5
 
@@ -347,7 +347,7 @@
 	if [[ ${CHOST} == *-darwin* ]] ; then
 		eval $(grep PACKAGE_VERSION= configure)
 		[[ -n ${PACKAGE_VERSION} ]] && libpv=${PACKAGE_VERSION}
-		for lib in lib{EnhancedDisassembly,LLVM-${libpv},LTO,profile_rt,clang}.dylib {BugpointPasses,LLVMHello}.dylib ; do
+		for lib in lib{EnhancedDisassembly,LLVM-${libpv},LTO,profile_rt,clang}.dylib LLVMHello.dylib ; do
 			# libEnhancedDisassembly is Darwin10 only, so non-fatal
 			# + omit clang libs if not enabled
 			[[ -f ${ED}/usr/lib/${lib} ]] || continue



1.151                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.151&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.151&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.150&r2=1.151

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- ChangeLog	19 Dec 2013 17:22:46 -0000	1.150
+++ ChangeLog	19 Dec 2013 17:26:35 -0000	1.151
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.150 2013/12/19 17:22:46 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.151 2013/12/19 17:26:35 mgorny Exp $
+
+  19 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Remove traces of BugpointPasses in darwin branch.
 
   19 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Delay building unnecessary tools & unittests until src_test(). Do not install





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-19 19:08 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-19 19:08 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/19 19:08:26

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Symlink the LLVM gold plugin to bfd-plugins directory to enable LLVM object support in various binutils tools, bug #462554.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.66                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.66&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.66&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.65&r2=1.66

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- llvm-9999.ebuild	19 Dec 2013 17:26:35 -0000	1.65
+++ llvm-9999.ebuild	19 Dec 2013 19:08:25 -0000	1.66
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.65 2013/12/19 17:26:35 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.66 2013/12/19 19:08:25 mgorny Exp $
 
 EAPI=5
 
@@ -329,9 +329,15 @@
 			mv "${ED}"/tmp/llvm-config.* "${ED}"/usr/bin || die
 		fi
 
+		# Install docs.
 		doman "${S}"/docs/_build/man/*.1
 		use clang && doman "${T}"/clang.1
 		use doc && dohtml -r "${S}"/docs/_build/html/
+
+		# Symlink the gold plugin.
+		dodir /usr/${CHOST}/binutils-bin/lib/bfd-plugins
+		dosym ../../../../$(get_libdir)/LLVMgold.so \
+			/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so
 	else
 		# Preserve ABI-variant of llvm-config,
 		# then drop all the executables since LLVM doesn't like to



1.152                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.152&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.152&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.151&r2=1.152

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -r1.151 -r1.152
--- ChangeLog	19 Dec 2013 17:26:35 -0000	1.151
+++ ChangeLog	19 Dec 2013 19:08:25 -0000	1.152
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.151 2013/12/19 17:26:35 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.152 2013/12/19 19:08:25 mgorny Exp $
+
+  19 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Symlink the LLVM gold plugin to bfd-plugins directory to enable LLVM object
+  support in various binutils tools, bug #462554.
 
   19 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Remove traces of BugpointPasses in darwin branch.





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-20 10:53 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-20 10:53 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/20 10:53:47

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Fix gcc version check. Add missing libxml2 dependency (for clang). Install CMake modules.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.67                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.67&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.67&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.66&r2=1.67

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- llvm-9999.ebuild	19 Dec 2013 19:08:25 -0000	1.66
+++ llvm-9999.ebuild	20 Dec 2013 10:53:46 -0000	1.67
@@ -1,12 +1,12 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.66 2013/12/19 19:08:25 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.67 2013/12/20 10:53:46 mgorny Exp $
 
 EAPI=5
 
 PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
 
-inherit eutils flag-o-matic git-r3 multilib multilib-minimal \
+inherit cmake-utils eutils flag-o-matic git-r3 multilib multilib-minimal \
 	python-r1 toolchain-funcs pax-utils check-reqs
 
 DESCRIPTION="Low Level Virtual Machine"
@@ -19,7 +19,9 @@
 SLOT="0/${PV}"
 KEYWORDS=""
 IUSE="clang debug doc gold +libffi multitarget ncurses ocaml python
-	+static-analyzer test udis86 video_cards_radeon kernel_Darwin"
+	+static-analyzer test udis86 xml video_cards_radeon kernel_Darwin"
+
+# TODO: update libxml2 to multilib, bug #480404
 
 COMMON_DEPEND="
 	sys-libs/zlib:0=
@@ -29,6 +31,7 @@
 			dev-lang/perl
 			${PYTHON_DEPS}
 		)
+		xml? ( dev-libs/libxml2:2= )
 	)
 	gold? ( >=sys-devel/binutils-2.22[cxx] )
 	libffi? ( virtual/libffi:0=[${MULTILIB_USEDEP}] )
@@ -99,20 +102,20 @@
 
 	# need to check if the active compiler is ok
 
-	broken_gcc=" 3.2.2 3.2.3 3.3.2 4.1.1 "
-	broken_gcc_x86=" 3.4.0 3.4.2 "
-	broken_gcc_amd64=" 3.4.6 "
+	broken_gcc=( 3.2.2 3.2.3 3.3.2 4.1.1 )
+	broken_gcc_x86=( 3.4.0 3.4.2 )
+	broken_gcc_amd64=( 3.4.6 )
 
 	gcc_vers=$(gcc-fullversion)
 
-	if [[ ${broken_gcc} == *" ${version} "* ]] ; then
+	if has "${gcc_vers}" "${broken_gcc[@]}"; then
 		elog "Your version of gcc is known to miscompile llvm."
 		elog "Check http://www.llvm.org/docs/GettingStarted.html for"
 		elog "possible solutions."
 		die "Your currently active version of gcc is known to miscompile llvm"
 	fi
 
-	if [[ ${CHOST} == i*86-* && ${broken_gcc_x86} == *" ${version} "* ]] ; then
+	if use abi_x86_32 && has "${gcc_vers}" "${broken_gcc_x86[@]}"; then
 		elog "Your version of gcc is known to miscompile llvm on x86"
 		elog "architectures.  Check"
 		elog "http://www.llvm.org/docs/GettingStarted.html for possible"
@@ -120,8 +123,7 @@
 		die "Your currently active version of gcc is known to miscompile llvm"
 	fi
 
-	if [[ ${CHOST} == x86_64-* && ${broken_gcc_amd64} == *" ${version} "* ]];
-	then
+	if use abi_x86_64 && has "${gcc_vers}" "${broken_gcc_amd64[@]}"; then
 		elog "Your version of gcc is known to miscompile llvm in amd64"
 		elog "architectures.  Check"
 		elog "http://www.llvm.org/docs/GettingStarted.html for possible"
@@ -195,6 +197,12 @@
 	if use clang; then
 		conf_flags+=( --with-clang-resource-dir=../lib/clang/3.5 )
 	fi
+	# well, it's used only by clang but easier to pass unconditionally
+	if use xml; then
+		conf_flags+=( XML2CONFIG="$(tc-getPKG_CONFIG) libxml-2.0" )
+	else
+		conf_flags+=( ac_cv_prog_XML2CONFIG="" )
+	fi
 
 	local targets bindings
 	if use multitarget; then
@@ -231,6 +239,25 @@
 
 	ECONF_SOURCE=${S} \
 	econf "${conf_flags[@]}"
+
+	multilib_build_binaries && cmake_configure
+}
+
+cmake_configure() {
+	# sadly, cmake doesn't seem to have host autodetection
+	# but it's fairly easy to steal this from configured autotools
+	local targets=$(sed -n -e 's/^TARGETS_TO_BUILD=//p' Makefile.config || die)
+	local libdir=$(get_libdir)
+	local mycmakeargs=(
+		# just the stuff needed to get correct cmake modules
+		$(cmake-utils_use ncurses LLVM_ENABLE_TERMINFO)
+
+		-DLLVM_TARGETS_TO_BUILD="${targets// /;}"
+		-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+	)
+
+	BUILD_DIR=${S%/}_cmake \
+	cmake-utils_src_configure
 }
 
 set_makeargs() {
@@ -338,6 +365,9 @@
 		dodir /usr/${CHOST}/binutils-bin/lib/bfd-plugins
 		dosym ../../../../$(get_libdir)/LLVMgold.so \
 			/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so
+
+		# install cmake modules
+		emake -C "${S%/}"_cmake/cmake/modules DESTDIR="${D}" install
 	else
 		# Preserve ABI-variant of llvm-config,
 		# then drop all the executables since LLVM doesn't like to



1.153                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.153&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.153&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.152&r2=1.153

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -r1.152 -r1.153
--- ChangeLog	19 Dec 2013 19:08:25 -0000	1.152
+++ ChangeLog	20 Dec 2013 10:53:47 -0000	1.153
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.152 2013/12/19 19:08:25 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.153 2013/12/20 10:53:47 mgorny Exp $
+
+  20 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Fix gcc version check. Add missing libxml2 dependency (for clang). Install
+  CMake modules.
 
   19 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Symlink the LLVM gold plugin to bfd-plugins directory to enable LLVM object





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-20 13:18 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-20 13:18 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/20 13:18:30

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Update LLVM build patch for -9999.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.68                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.68&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.68&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.67&r2=1.68

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- llvm-9999.ebuild	20 Dec 2013 10:53:46 -0000	1.67
+++ llvm-9999.ebuild	20 Dec 2013 13:18:30 -0000	1.68
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.67 2013/12/20 10:53:46 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.68 2013/12/20 13:18:30 mgorny Exp $
 
 EAPI=5
 
@@ -152,7 +152,7 @@
 
 src_prepare() {
 	epatch "${FILESDIR}"/${PN}-3.2-nodoctargz.patch
-	epatch "${FILESDIR}"/${PN}-3.4-gentoo-install.patch
+	epatch "${FILESDIR}"/${PN}-3.5-gentoo-install.patch
 	use clang && epatch "${FILESDIR}"/clang-3.5-gentoo-install.patch
 
 	local sub_files=(



1.154                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.154&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.154&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.153&r2=1.154

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- ChangeLog	20 Dec 2013 10:53:47 -0000	1.153
+++ ChangeLog	20 Dec 2013 13:18:30 -0000	1.154
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.153 2013/12/20 10:53:47 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.154 2013/12/20 13:18:30 mgorny Exp $
+
+  20 Dec 2013; Michał Górny <mgorny@gentoo.org>
+  +files/llvm-3.5-gentoo-install.patch, llvm-9999.ebuild:
+  Update LLVM build patch for -9999.
 
   20 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Fix gcc version check. Add missing libxml2 dependency (for clang). Install





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-20 21:50 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-20 21:50 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/20 21:50:34

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Disable libxml2 support in non-native ABIs since it is meaningful for installed c-index-test only.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.69                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.69&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.69&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.68&r2=1.69

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- llvm-9999.ebuild	20 Dec 2013 13:18:30 -0000	1.68
+++ llvm-9999.ebuild	20 Dec 2013 21:50:34 -0000	1.69
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.68 2013/12/20 13:18:30 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.69 2013/12/20 21:50:34 mgorny Exp $
 
 EAPI=5
 
@@ -21,8 +21,6 @@
 IUSE="clang debug doc gold +libffi multitarget ncurses ocaml python
 	+static-analyzer test udis86 xml video_cards_radeon kernel_Darwin"
 
-# TODO: update libxml2 to multilib, bug #480404
-
 COMMON_DEPEND="
 	sys-libs/zlib:0=
 	clang? (
@@ -197,8 +195,8 @@
 	if use clang; then
 		conf_flags+=( --with-clang-resource-dir=../lib/clang/3.5 )
 	fi
-	# well, it's used only by clang but easier to pass unconditionally
-	if use xml; then
+	# well, it's used only by clang executable c-index-test
+	if multilib_build_binaries && use xml; then
 		conf_flags+=( XML2CONFIG="$(tc-getPKG_CONFIG) libxml-2.0" )
 	else
 		conf_flags+=( ac_cv_prog_XML2CONFIG="" )



1.155                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.155&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.155&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.154&r2=1.155

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -r1.154 -r1.155
--- ChangeLog	20 Dec 2013 13:18:30 -0000	1.154
+++ ChangeLog	20 Dec 2013 21:50:34 -0000	1.155
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.154 2013/12/20 13:18:30 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.155 2013/12/20 21:50:34 mgorny Exp $
+
+  20 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Disable libxml2 support in non-native ABIs since it is meaningful for
+  installed c-index-test only.
 
   20 Dec 2013; Michał Górny <mgorny@gentoo.org>
   +files/llvm-3.5-gentoo-install.patch, llvm-9999.ebuild:





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-24 10:09 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-24 10:09 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/24 10:09:13

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Create the gold plugin symlink only with USE=gold.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.70                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.70&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.70&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.69&r2=1.70

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- llvm-9999.ebuild	20 Dec 2013 21:50:34 -0000	1.69
+++ llvm-9999.ebuild	24 Dec 2013 10:09:13 -0000	1.70
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.69 2013/12/20 21:50:34 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.70 2013/12/24 10:09:13 mgorny Exp $
 
 EAPI=5
 
@@ -360,9 +360,11 @@
 		use doc && dohtml -r "${S}"/docs/_build/html/
 
 		# Symlink the gold plugin.
-		dodir /usr/${CHOST}/binutils-bin/lib/bfd-plugins
-		dosym ../../../../$(get_libdir)/LLVMgold.so \
-			/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so
+		if use gold; then
+			dodir /usr/${CHOST}/binutils-bin/lib/bfd-plugins
+			dosym ../../../../$(get_libdir)/LLVMgold.so \
+				/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so
+		fi
 
 		# install cmake modules
 		emake -C "${S%/}"_cmake/cmake/modules DESTDIR="${D}" install



1.156                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.156&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.156&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.155&r2=1.156

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -r1.155 -r1.156
--- ChangeLog	20 Dec 2013 21:50:34 -0000	1.155
+++ ChangeLog	24 Dec 2013 10:09:13 -0000	1.156
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.155 2013/12/20 21:50:34 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.156 2013/12/24 10:09:13 mgorny Exp $
+
+  24 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Create the gold plugin symlink only with USE=gold.
 
   20 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Disable libxml2 support in non-native ABIs since it is meaningful for





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-24 20:07 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-24 20:07 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/24 20:07:03

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Fix libLTO linking parallel make issue, bug #494922.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.71                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.71&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.71&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.70&r2=1.71

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- llvm-9999.ebuild	24 Dec 2013 10:09:13 -0000	1.70
+++ llvm-9999.ebuild	24 Dec 2013 20:07:03 -0000	1.71
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.70 2013/12/24 10:09:13 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.71 2013/12/24 20:07:03 mgorny Exp $
 
 EAPI=5
 
@@ -272,14 +272,21 @@
 		use clang && tools+=( clang )
 
 		if multilib_build_binaries; then
-			use gold && tools+=( gold )
 			tools+=(
 				opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link lli
 				llvm-extract llvm-mc llvm-bcanalyzer llvm-diff macho-dump
 				llvm-objdump llvm-readobj llvm-rtdyld llvm-dwarfdump llvm-cov
 				llvm-size llvm-stress llvm-mcmarkup llvm-symbolizer obj2yaml
-				yaml2obj lto llvm-lto
+				yaml2obj lto
 			)
+
+			# those tools require 'lto' built first, so we need to delay
+			# building them to a second run
+			if [[ ${1} != -1 ]]; then
+				tools+=( llvm-lto )
+
+				use gold && tools+=( gold )
+			fi
 		fi
 
 		MAKEARGS+=(
@@ -294,11 +301,13 @@
 
 multilib_src_compile() {
 	local MAKEARGS
-	set_makeargs
-
+	set_makeargs -1
 	emake "${MAKEARGS[@]}"
 
 	if multilib_build_binaries; then
+		set_makeargs
+		emake -C tools "${MAKEARGS[@]}"
+
 		emake -C "${S}"/docs -f Makefile.sphinx man
 		use clang && emake -C "${S}"/tools/clang/docs/tools \
 			BUILD_FOR_WEBSITE=1 DST_MAN_DIR="${T}"/ man



1.157                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.157&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.157&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.156&r2=1.157

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -r1.156 -r1.157
--- ChangeLog	24 Dec 2013 10:09:13 -0000	1.156
+++ ChangeLog	24 Dec 2013 20:07:03 -0000	1.157
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.156 2013/12/24 10:09:13 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.157 2013/12/24 20:07:03 mgorny Exp $
+
+  24 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Fix libLTO linking parallel make issue, bug #494922.
 
   24 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Create the gold plugin symlink only with USE=gold.





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-27 14:43 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-27 14:43 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/27 14:43:50

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Update/fix dependencies.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.72                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.72&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.72&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.71&r2=1.72

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- llvm-9999.ebuild	24 Dec 2013 20:07:03 -0000	1.71
+++ llvm-9999.ebuild	27 Dec 2013 14:43:50 -0000	1.72
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.71 2013/12/24 20:07:03 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.72 2013/12/27 14:43:50 mgorny Exp $
 
 EAPI=5
 
@@ -26,15 +26,15 @@
 	clang? (
 		python? ( ${PYTHON_DEPS} )
 		static-analyzer? (
-			dev-lang/perl
+			dev-lang/perl:*
 			${PYTHON_DEPS}
 		)
 		xml? ( dev-libs/libxml2:2= )
 	)
-	gold? ( >=sys-devel/binutils-2.22[cxx] )
+	gold? ( >=sys-devel/binutils-2.22:*[cxx] )
 	libffi? ( virtual/libffi:0=[${MULTILIB_USEDEP}] )
 	ncurses? ( sys-libs/ncurses:5=[${MULTILIB_USEDEP}] )
-	ocaml? ( dev-lang/ocaml )
+	ocaml? ( dev-lang/ocaml:0= )
 	udis86? ( dev-libs/udis86:0=[pic(+),${MULTILIB_USEDEP}] )"
 DEPEND="${COMMON_DEPEND}
 	dev-lang/perl
@@ -46,7 +46,7 @@
 		( >=sys-freebsd/freebsd-lib-9.1-r10 sys-libs/libcxx )
 	)
 	|| ( >=sys-devel/binutils-2.18 >=sys-devel/binutils-apple-3.2.3 )
-	!kernel_Darwin? ( app-admin/chrpath )
+	clang? ( xml? ( virtual/pkgconfig ) )
 	libffi? ( virtual/pkgconfig )
 	${PYTHON_DEPS}"
 RDEPEND="${COMMON_DEPEND}
@@ -196,7 +196,7 @@
 		conf_flags+=( --with-clang-resource-dir=../lib/clang/3.5 )
 	fi
 	# well, it's used only by clang executable c-index-test
-	if multilib_build_binaries && use xml; then
+	if multilib_build_binaries && use clang && use xml; then
 		conf_flags+=( XML2CONFIG="$(tc-getPKG_CONFIG) libxml-2.0" )
 	else
 		conf_flags+=( ac_cv_prog_XML2CONFIG="" )



1.158                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.158&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.158&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.157&r2=1.158

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -r1.157 -r1.158
--- ChangeLog	24 Dec 2013 20:07:03 -0000	1.157
+++ ChangeLog	27 Dec 2013 14:43:50 -0000	1.158
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.157 2013/12/24 20:07:03 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.158 2013/12/27 14:43:50 mgorny Exp $
+
+  27 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Update/fix dependencies.
 
   24 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Fix libLTO linking parallel make issue, bug #494922.





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2013-12-28 14:02 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2013-12-28 14:02 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/12/28 14:02:19

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Add bugpoint to built tools. Switch llvm-config wrapping to use $CHOST-llvm-config.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.73                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.73&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.73&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.72&r2=1.73

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- llvm-9999.ebuild	27 Dec 2013 14:43:50 -0000	1.72
+++ llvm-9999.ebuild	28 Dec 2013 14:02:19 -0000	1.73
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.72 2013/12/27 14:43:50 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.73 2013/12/28 14:02:19 mgorny Exp $
 
 EAPI=5
 
@@ -277,7 +277,7 @@
 				llvm-extract llvm-mc llvm-bcanalyzer llvm-diff macho-dump
 				llvm-objdump llvm-readobj llvm-rtdyld llvm-dwarfdump llvm-cov
 				llvm-size llvm-stress llvm-mcmarkup llvm-symbolizer obj2yaml
-				yaml2obj lto
+				yaml2obj lto bugpoint
 			)
 
 			# those tools require 'lto' built first, so we need to delay
@@ -357,11 +357,22 @@
 
 	emake "${MAKEARGS[@]}" DESTDIR="${D}" install
 
-	if multilib_build_binaries; then
+	# Preserve ABI-variant of llvm-config.
+	dodir /tmp
+	mv "${ED}"/usr/bin/llvm-config "${ED}"/tmp/"${CHOST}"-llvm-config || die
+
+	if ! multilib_build_binaries; then
+		# Drop all the executables since LLVM doesn't like to
+		# clobber when installing.
+		rm -r "${ED}"/usr/bin || die
+
+		# Backwards compat, will be happily removed someday.
+		dosym "${CHOST}"-llvm-config /tmp/llvm-config.${ABI}
+	else
 		# Move files back.
-		if path_exists -o "${ED}"/tmp/llvm-config.*; then
-			mv "${ED}"/tmp/llvm-config.* "${ED}"/usr/bin || die
-		fi
+		mv "${ED}"/tmp/*llvm-config* "${ED}"/usr/bin || die
+		# Create a symlink for host's llvm-config.
+		dosym "${CHOST}"-llvm-config /usr/bin/llvm-config
 
 		# Install docs.
 		doman "${S}"/docs/_build/man/*.1
@@ -377,13 +388,6 @@
 
 		# install cmake modules
 		emake -C "${S%/}"_cmake/cmake/modules DESTDIR="${D}" install
-	else
-		# Preserve ABI-variant of llvm-config,
-		# then drop all the executables since LLVM doesn't like to
-		# clobber when installing.
-		mkdir -p "${ED}"/tmp || die
-		mv "${ED}"/usr/bin/llvm-config "${ED}"/tmp/llvm-config.${ABI} || die
-		rm -r "${ED}"/usr/bin || die
 	fi
 
 	# Fix install_names on Darwin.  The build system is too complicated



1.159                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.159&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.159&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.158&r2=1.159

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -r1.158 -r1.159
--- ChangeLog	27 Dec 2013 14:43:50 -0000	1.158
+++ ChangeLog	28 Dec 2013 14:02:19 -0000	1.159
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.158 2013/12/27 14:43:50 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.159 2013/12/28 14:02:19 mgorny Exp $
+
+  28 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Add bugpoint to built tools. Switch llvm-config wrapping to use $CHOST-llvm-
+  config.
 
   27 Dec 2013; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Update/fix dependencies.





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2014-01-06 21:16 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2014-01-06 21:16 UTC (permalink / raw
  To: gentoo-commits

mgorny      14/01/06 21:16:11

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Add a PDEP on sys-devel/clang to the live ebuild as well.
  
  (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.75                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.75&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.75&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.74&r2=1.75

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- llvm-9999.ebuild	29 Dec 2013 22:49:49 -0000	1.74
+++ llvm-9999.ebuild	6 Jan 2014 21:16:11 -0000	1.75
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.74 2013/12/29 22:49:49 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.75 2014/01/06 21:16:11 mgorny Exp $
 
 EAPI=5
 
@@ -53,6 +53,7 @@
 	clang? ( !<=sys-devel/clang-9999-r99 )
 	abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r2
 		!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
+PDEPEND="clang? ( =sys-devel/clang-9999-r100 )"
 
 # pypy gives me around 1700 unresolved tests due to open file limit
 # being exceeded. probably GC does not close them fast enough.



1.167                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.167&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.167&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.166&r2=1.167

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -r1.166 -r1.167
--- ChangeLog	6 Jan 2014 21:06:15 -0000	1.166
+++ ChangeLog	6 Jan 2014 21:16:11 -0000	1.167
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.166 2014/01/06 21:06:15 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.167 2014/01/06 21:16:11 mgorny Exp $
+
+  06 Jan 2014; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Add a PDEP on sys-devel/clang to the live ebuild as well.
 
 *llvm-3.4 (06 Jan 2014)
 





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2014-03-11 18:40 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2014-03-11 18:40 UTC (permalink / raw
  To: gentoo-commits

mgorny      14/03/11 18:40:17

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Remove unnecessary --with-clang-resource-dir that broke the build whenever the version number was bumped.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.79                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.79&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.79&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.78&r2=1.79

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- llvm-9999.ebuild	15 Jan 2014 18:08:11 -0000	1.78
+++ llvm-9999.ebuild	11 Mar 2014 18:40:17 -0000	1.79
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.78 2014/01/15 18:08:11 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.79 2014/03/11 18:40:17 mgorny Exp $
 
 EAPI=5
 
@@ -202,9 +202,6 @@
 		$(use_enable libffi)
 	)
 
-	if use clang; then
-		conf_flags+=( --with-clang-resource-dir=../lib/clang/3.5 )
-	fi
 	# well, it's used only by clang executable c-index-test
 	if multilib_build_binaries && use clang && use xml; then
 		conf_flags+=( XML2CONFIG="$(tc-getPKG_CONFIG) libxml-2.0" )



1.180                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.180&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.180&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.179&r2=1.180

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -r1.179 -r1.180
--- ChangeLog	5 Mar 2014 21:18:52 -0000	1.179
+++ ChangeLog	11 Mar 2014 18:40:17 -0000	1.180
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.179 2014/03/05 21:18:52 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.180 2014/03/11 18:40:17 mgorny Exp $
+
+  11 Mar 2014; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Remove unnecessary --with-clang-resource-dir that broke the build whenever the
+  version number was bumped.
 
   05 Mar 2014; Markus Meier <maekke@gentoo.org> llvm-3.3-r3.ebuild:
   arm stable, bug #491018





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2014-04-07 20:59 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2014-04-07 20:59 UTC (permalink / raw
  To: gentoo-commits

mgorny      14/04/07 20:59:49

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Update PYTHON_COMPAT in the live ebuild.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.82                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.82&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.82&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.81&r2=1.82

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- llvm-9999.ebuild	2 Apr 2014 23:24:29 -0000	1.81
+++ llvm-9999.ebuild	7 Apr 2014 20:59:49 -0000	1.82
@@ -1,10 +1,10 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.81 2014/04/02 23:24:29 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.82 2014/04/07 20:59:49 mgorny Exp $
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
+PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 )
 
 inherit cmake-utils eutils flag-o-matic git-r3 multilib multilib-minimal \
 	python-r1 toolchain-funcs pax-utils check-reqs



1.186                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.186&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.186&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.185&r2=1.186

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -r1.185 -r1.186
--- ChangeLog	2 Apr 2014 23:24:29 -0000	1.185
+++ ChangeLog	7 Apr 2014 20:59:49 -0000	1.186
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.185 2014/04/02 23:24:29 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.186 2014/04/07 20:59:49 mgorny Exp $
+
+  07 Apr 2014; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Update PYTHON_COMPAT in the live ebuild.
 
 *llvm-3.4-r1 (02 Apr 2014)
 





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2014-04-10 17:03 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2014-04-10 17:03 UTC (permalink / raw
  To: gentoo-commits

mgorny      14/04/10 17:03:24

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Re-apply the install phase fixes for multilib-portage (bug #506398) and /tmp ownership (bug #506472). For now, just the live ebuild.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.83                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.83&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.83&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.82&r2=1.83

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- llvm-9999.ebuild	7 Apr 2014 20:59:49 -0000	1.82
+++ llvm-9999.ebuild	10 Apr 2014 17:03:23 -0000	1.83
@@ -1,13 +1,13 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.82 2014/04/07 20:59:49 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.83 2014/04/10 17:03:23 mgorny Exp $
 
 EAPI=5
 
 PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 )
 
-inherit cmake-utils eutils flag-o-matic git-r3 multilib multilib-minimal \
-	python-r1 toolchain-funcs pax-utils check-reqs
+inherit cmake-utils eutils flag-o-matic git-r3 multibuild multilib \
+	multilib-minimal python-r1 toolchain-funcs pax-utils check-reqs
 
 DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="http://llvm.org/"
@@ -65,6 +65,10 @@
 # so why did it call itself ninja in the first place?
 CMAKE_MAKEFILE_GENERATOR=emake
 
+MULTILIB_CHOST_TOOLS=(
+	/usr/bin/llvm-config
+)
+
 pkg_pretend() {
 	# in megs
 	# !clang !debug !multitarget -O2       400
@@ -371,25 +375,15 @@
 	local MAKEARGS
 	set_makeargs
 
-	emake "${MAKEARGS[@]}" DESTDIR="${D}" install
+	local root=${D}/_${ABI}
 
-	# Preserve ABI-variant of llvm-config.
-	dodir /tmp
-	mv "${ED}"/usr/bin/llvm-config "${ED}"/tmp/"${CHOST}"-llvm-config || die
+	emake "${MAKEARGS[@]}" DESTDIR="${root}" install
+	multibuild_merge_root "${root}" "${D}"
 
 	if ! multilib_build_binaries; then
-		# Drop all the executables since LLVM doesn't like to
-		# clobber when installing.
-		rm -r "${ED}"/usr/bin || die
-
 		# Backwards compat, will be happily removed someday.
-		dosym "${CHOST}"-llvm-config /tmp/llvm-config.${ABI}
+		dosym "${CHOST}"-llvm-config /usr/bin/llvm-config.${ABI}
 	else
-		# Move files back.
-		mv "${ED}"/tmp/*llvm-config* "${ED}"/usr/bin || die
-		# Create a symlink for host's llvm-config.
-		dosym "${CHOST}"-llvm-config /usr/bin/llvm-config
-
 		# Install docs.
 		doman "${S}"/docs/_build/man/*.1
 		use clang && doman "${T}"/clang.1



1.187                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.187&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.187&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.186&r2=1.187

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -r1.186 -r1.187
--- ChangeLog	7 Apr 2014 20:59:49 -0000	1.186
+++ ChangeLog	10 Apr 2014 17:03:23 -0000	1.187
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.186 2014/04/07 20:59:49 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.187 2014/04/10 17:03:23 mgorny Exp $
+
+  10 Apr 2014; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Re-apply the install phase fixes for multilib-portage (bug #506398) and /tmp
+  ownership (bug #506472). For now, just the live ebuild.
 
   07 Apr 2014; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Update PYTHON_COMPAT in the live ebuild.





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2014-04-12  9:44 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2014-04-12  9:44 UTC (permalink / raw
  To: gentoo-commits

mgorny      14/04/12 09:44:01

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Remove the cmake hack since upstream started installing cmake files from Makefiles.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.84                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.84&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.84&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.83&r2=1.84

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- llvm-9999.ebuild	10 Apr 2014 17:03:23 -0000	1.83
+++ llvm-9999.ebuild	12 Apr 2014 09:44:01 -0000	1.84
@@ -1,12 +1,12 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.83 2014/04/10 17:03:23 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.84 2014/04/12 09:44:01 mgorny Exp $
 
 EAPI=5
 
 PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 )
 
-inherit cmake-utils eutils flag-o-matic git-r3 multibuild multilib \
+inherit eutils flag-o-matic git-r3 multibuild multilib \
 	multilib-minimal python-r1 toolchain-funcs pax-utils check-reqs
 
 DESCRIPTION="Low Level Virtual Machine"
@@ -248,25 +248,6 @@
 
 	ECONF_SOURCE=${S} \
 	econf "${conf_flags[@]}"
-
-	multilib_build_binaries && cmake_configure
-}
-
-cmake_configure() {
-	# sadly, cmake doesn't seem to have host autodetection
-	# but it's fairly easy to steal this from configured autotools
-	local targets=$(sed -n -e 's/^TARGETS_TO_BUILD=//p' Makefile.config || die)
-	local libdir=$(get_libdir)
-	local mycmakeargs=(
-		# just the stuff needed to get correct cmake modules
-		$(cmake-utils_use ncurses LLVM_ENABLE_TERMINFO)
-
-		-DLLVM_TARGETS_TO_BUILD="${targets// /;}"
-		-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
-	)
-
-	BUILD_DIR=${S%/}_cmake \
-	cmake-utils_src_configure
 }
 
 set_makeargs() {
@@ -395,9 +376,6 @@
 			dosym ../../../../$(get_libdir)/LLVMgold.so \
 				/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so
 		fi
-
-		# install cmake modules
-		emake -C "${S%/}"_cmake/cmake/modules DESTDIR="${D}" install
 	fi
 
 	# Fix install_names on Darwin.  The build system is too complicated



1.189                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.189&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.189&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.188&r2=1.189

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -r1.188 -r1.189
--- ChangeLog	10 Apr 2014 19:35:36 -0000	1.188
+++ ChangeLog	12 Apr 2014 09:44:01 -0000	1.189
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.188 2014/04/10 19:35:36 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.189 2014/04/12 09:44:01 mgorny Exp $
+
+  12 Apr 2014; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Remove the cmake hack since upstream started installing cmake files from
+  Makefiles.
 
 *llvm-3.4-r2 (10 Apr 2014)
 





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2014-06-29  9:59 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2014-06-29  9:59 UTC (permalink / raw
  To: gentoo-commits

mgorny      14/06/29 09:59:33

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Rename clang to ${CHOST}-clang-${PV}. Add multilib wrappers.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.88                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.88&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.88&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.87&r2=1.88

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- llvm-9999.ebuild	1 May 2014 15:09:30 -0000	1.87
+++ llvm-9999.ebuild	29 Jun 2014 09:59:32 -0000	1.88
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.87 2014/05/01 15:09:30 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.88 2014/06/29 09:59:32 mgorny Exp $
 
 EAPI=5
 
@@ -65,10 +65,6 @@
 # so why did it call itself ninja in the first place?
 CMAKE_MAKEFILE_GENERATOR=emake
 
-MULTILIB_CHOST_TOOLS=(
-	/usr/bin/llvm-config
-)
-
 pkg_pretend() {
 	# in megs
 	# !clang !debug !multitarget -O2       400
@@ -344,14 +340,28 @@
 }
 
 src_install() {
+	local MULTILIB_CHOST_TOOLS=(
+		/usr/bin/llvm-config
+	)
+
 	local MULTILIB_WRAPPED_HEADERS=(
 		/usr/include/llvm/Config/config.h
 		/usr/include/llvm/Config/llvm-config.h
 	)
 
-	use clang && MULTILIB_WRAPPED_HEADERS+=(
-		/usr/include/clang/Config/config.h
-	)
+	if use clang; then
+		# note: magic applied below
+		MULTILIB_CHOST_TOOLS+=(
+			/usr/bin/clang
+			/usr/bin/clang++
+			/usr/bin/clang-${PV}
+			/usr/bin/clang++-${PV}
+		)
+
+		MULTILIB_WRAPPED_HEADERS+=(
+			/usr/include/clang/Config/config.h
+		)
+	fi
 
 	multilib-minimal_src_install
 }
@@ -382,6 +392,34 @@
 		fi
 	fi
 
+	# apply CHOST and PV to clang executables
+	# they're statically linked so we don't have to worry about the lib
+	if use clang; then
+		local clang_tools=( clang clang++ )
+		local i
+
+		# append ${PV} and symlink back
+		# TODO: use alternatives.eclass? does that make any sense?
+		# maybe with USE=-clang on :0 and USE=clang on older
+		for i in "${clang_tools[@]}"; do
+			mv "${ED%/}/usr/bin/${i}"{,-${PV}} || die
+			dosym "${i}"-${PV} /usr/bin/${i}
+		done
+
+		# now prepend ${CHOST} and let the multilib-build.eclass symlink it
+		if ! multilib_is_native_abi; then
+			# non-native? let's replace it with a simple wrapper
+			for i in "${clang_tools[@]}"; do
+				rm "${ED%/}/usr/bin/${i}-${PV}" || die
+				cat > "${T}"/wrapper.tmp <<-_EOF_
+					#!${EPREFIX}/bin/sh
+					exec "${i}-${PV}" $(get_abi_CFLAGS) "\${@}"
+				_EOF_
+				newbin "${T}"/wrapper.tmp "${i}-${PV}"
+			done
+		fi
+	fi
+
 	# Fix install_names on Darwin.  The build system is too complicated
 	# to just fix this, so we correct it post-install
 	local lib= f= odylib= libpv=${PV}



1.202                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.202&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.202&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.201&r2=1.202

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -r1.201 -r1.202
--- ChangeLog	23 Jun 2014 23:00:42 -0000	1.201
+++ ChangeLog	29 Jun 2014 09:59:33 -0000	1.202
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.201 2014/06/23 23:00:42 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.202 2014/06/29 09:59:33 mgorny Exp $
+
+  29 Jun 2014; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Rename clang to ${CHOST}-clang-${PV}. Add multilib wrappers.
 
 *llvm-3.4.2 (23 Jun 2014)
 





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2014-12-31 10:37 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2014-12-31 10:37 UTC (permalink / raw
  To: gentoo-commits

mgorny      14/12/31 10:37:37

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Update Gentoo patch for -9999, bug #534080.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.96                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.96&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.96&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.95&r2=1.96

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- llvm-9999.ebuild	31 Dec 2014 02:04:45 -0000	1.95
+++ llvm-9999.ebuild	31 Dec 2014 10:37:36 -0000	1.96
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.95 2014/12/31 02:04:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.96 2014/12/31 10:37:36 mgorny Exp $
 
 EAPI=5
 
@@ -145,7 +145,7 @@
 src_prepare() {
 	epatch "${FILESDIR}"/${PN}-3.2-nodoctargz.patch
 	epatch "${FILESDIR}"/${PN}-3.5-gcc-4.9.patch
-	epatch "${FILESDIR}"/${PN}-3.5-gentoo-install.patch
+	epatch "${FILESDIR}"/${PN}-3.6-gentoo-install.patch
 
 	if use clang; then
 		# Automatically select active system GCC's libraries, bugs #406163 and #417913



1.215                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.215&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.215&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.214&r2=1.215

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -r1.214 -r1.215
--- ChangeLog	31 Dec 2014 02:04:45 -0000	1.214
+++ ChangeLog	31 Dec 2014 10:37:36 -0000	1.215
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.214 2014/12/31 02:04:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.215 2014/12/31 10:37:36 mgorny Exp $
+
+  31 Dec 2014; Michał Górny <mgorny@gentoo.org>
+  +files/llvm-3.6-gentoo-install.patch, llvm-9999.ebuild:
+  Update Gentoo patch for -9999, bug #534080.
 
   31 Dec 2014; Mike Frysinger <vapier@gentoo.org> llvm-3.5.0.ebuild,
   llvm-9999.ebuild:





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2015-02-04 10:55 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2015-02-04 10:55 UTC (permalink / raw
  To: gentoo-commits

mgorny      15/02/04 10:55:25

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Update clang patch, bug #538768. It looks like upstream finally fixed libdir for LLVMgold.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.102                sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.102&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.102&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.101&r2=1.102

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- llvm-9999.ebuild	31 Jan 2015 19:48:12 -0000	1.101
+++ llvm-9999.ebuild	4 Feb 2015 10:55:25 -0000	1.102
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.101 2015/01/31 19:48:12 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.102 2015/02/04 10:55:25 mgorny Exp $
 
 EAPI=5
 
@@ -153,7 +153,7 @@
 		# Automatically select active system GCC's libraries, bugs #406163 and #417913
 		epatch "${FILESDIR}"/clang-3.5-gentoo-runtime-gcc-detection-v3.patch
 
-		epatch "${FILESDIR}"/clang-3.5-gentoo-install.patch
+		epatch "${FILESDIR}"/clang-3.6-gentoo-install.patch
 	fi
 
 	if use prefix && use clang; then



1.226                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.226&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.226&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.225&r2=1.226

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -r1.225 -r1.226
--- ChangeLog	31 Jan 2015 19:48:12 -0000	1.225
+++ ChangeLog	4 Feb 2015 10:55:25 -0000	1.226
@@ -1,6 +1,11 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.225 2015/01/31 19:48:12 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.226 2015/02/04 10:55:25 mgorny Exp $
+
+  04 Feb 2015; Michał Górny <mgorny@gentoo.org>
+  +files/clang-3.6-gentoo-install.patch, llvm-9999.ebuild:
+  Update clang patch, bug #538768. It looks like upstream finally fixed libdir
+  for LLVMgold.
 
   31 Jan 2015; Fabian Groffen <grobian@gentoo.org> llvm-3.4.2.ebuild,
   llvm-3.5.0.ebuild, llvm-3.5.1.ebuild, llvm-9999.ebuild:





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2015-06-09 16:54 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2015-06-09 16:54 UTC (permalink / raw
  To: gentoo-commits

mgorny      15/06/09 16:54:50

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Switch the live ebuild to CMake, and few more improvements. Covered by bug #456322.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.111                sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.111&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.111&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.110&r2=1.111

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- llvm-9999.ebuild	5 Jun 2015 14:48:25 -0000	1.110
+++ llvm-9999.ebuild	9 Jun 2015 16:54:50 -0000	1.111
@@ -1,13 +1,14 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.110 2015/06/05 14:48:25 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.111 2015/06/09 16:54:50 mgorny Exp $
 
 EAPI=5
 
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
 PYTHON_COMPAT=( python2_7 pypy )
 
-inherit eutils flag-o-matic git-r3 multibuild multilib \
-	multilib-minimal python-r1 toolchain-funcs pax-utils check-reqs
+inherit check-reqs cmake-utils eutils flag-o-matic git-r3 multilib \
+	multilib-minimal python-r1 toolchain-funcs pax-utils
 
 DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="http://llvm.org/"
@@ -18,9 +19,8 @@
 LICENSE="UoI-NCSA"
 SLOT="0/${PV}"
 KEYWORDS=""
-IUSE="clang debug doc gold libedit +libffi multitarget ncurses ocaml python
-	+static-analyzer test xml video_cards_radeon
-	kernel_Darwin"
+IUSE="clang debug doc gold libedit +libffi multitarget ncurses ocaml
+	python +static-analyzer test xml video_cards_radeon kernel_Darwin"
 
 COMMON_DEPEND="
 	sys-libs/zlib:0=
@@ -36,7 +36,10 @@
 	libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] )
 	libffi? ( >=virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] )
 	ncurses? ( >=sys-libs/ncurses-5.9-r3:5=[${MULTILIB_USEDEP}] )
-	ocaml? ( dev-lang/ocaml:0= )"
+	ocaml? (
+		dev-lang/ocaml:0=
+		dev-ml/findlib
+		dev-ml/ocaml-ctypes )"
 # configparser-3.2 breaks the build (3.3 or none at all are fine)
 DEPEND="${COMMON_DEPEND}
 	dev-lang/perl
@@ -64,11 +67,6 @@
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
 	test? ( || ( $(python_gen_useflags 'python*') ) )"
 
-# Some people actually override that in make.conf. That sucks since
-# we need to run install per-directory, and ninja can't do that...
-# so why did it call itself ninja in the first place?
-CMAKE_MAKEFILE_GENERATOR=emake
-
 pkg_pretend() {
 	# in megs
 	# !clang !debug !multitarget -O2       400
@@ -144,195 +142,172 @@
 }
 
 src_prepare() {
-	epatch "${FILESDIR}"/${PN}-3.7-nodoctargz.patch
 	epatch "${FILESDIR}"/${PN}-3.5-gcc-4.9.patch
-	epatch "${FILESDIR}"/${PN}-3.6-gentoo-install.patch
 	# Make ocaml warnings non-fatal, bug #537308
 	sed -e "/RUN/s/-warn-error A//" -i test/Bindings/OCaml/*ml  || die
 
+	# Make it possible to override Sphinx HTML install dirs
+	# https://llvm.org/bugs/show_bug.cgi?id=23780
+	epatch "${FILESDIR}"/cmake/0002-cmake-Support-overriding-Sphinx-HTML-doc-install-dir.patch
+
+	# Prevent race conditions with parallel Sphinx runs
+	# https://llvm.org/bugs/show_bug.cgi?id=23781
+	epatch "${FILESDIR}"/cmake/0003-cmake-Add-an-ordering-dep-between-HTML-man-Sphinx-ta.patch
+
+	# Prevent installing libgtest
+	# https://llvm.org/bugs/show_bug.cgi?id=18341
+	epatch "${FILESDIR}"/cmake/0004-cmake-Do-not-install-libgtest.patch
+
 	if use clang; then
 		# Automatically select active system GCC's libraries, bugs #406163 and #417913
 		epatch "${FILESDIR}"/clang-3.5-gentoo-runtime-gcc-detection-v3.patch
 
 		epatch "${FILESDIR}"/clang-3.6-gentoo-install.patch
-	fi
-
-	if use prefix && use clang; then
-		sed -i -e "/^CFLAGS /s@-Werror@-I${EPREFIX}/usr/include@" \
-			projects/compiler-rt/make/platform/clang_*.mk || die
-	fi
 
-	local sub_files=(
-		Makefile.config.in
-		Makefile.rules
-		tools/llvm-config/llvm-config.cpp
-	)
-	use clang && sub_files+=(
-		tools/clang/lib/Driver/Tools.cpp
-		tools/clang/tools/scan-build/scan-build
-	)
+		sed -i -e "s^@EPREFIX@^${EPREFIX}^" \
+			tools/clang/tools/scan-build/scan-build || die
 
-	# unfortunately ./configure won't listen to --mandir and the-like, so take
-	# care of this.
-	# note: we're setting the main libdir intentionally.
-	# where per-ABI is appropriate, we use $(GENTOO_LIBDIR) make.
-	einfo "Fixing install dirs"
-	sed -e "s,@libdir@,$(get_libdir),g" \
-		-e "s,@PF@,${PF},g" \
-		-e "s,@EPREFIX@,${EPREFIX},g" \
-		-i "${sub_files[@]}" \
-		|| die "install paths sed failed"
+		# Install clang runtime into /usr/lib/clang
+		# https://llvm.org/bugs/show_bug.cgi?id=23792
+		epatch "${FILESDIR}"/cmake/clang-0001-Install-clang-runtime-into-usr-lib-without-suffix.patch
+		epatch "${FILESDIR}"/cmake/compiler-rt-0001-cmake-Install-compiler-rt-into-usr-lib-without-suffi.patch
+
+		# Make it possible to override CLANG_LIBDIR_SUFFIX
+		# (that is used only to find LLVMgold.so)
+		# https://llvm.org/bugs/show_bug.cgi?id=23793
+		epatch "${FILESDIR}"/cmake/clang-0002-cmake-Make-CLANG_LIBDIR_SUFFIX-overridable.patch
+	fi
 
 	# User patches
 	epatch_user
 
 	python_setup
+
+	# Native libdir is used to hold LLVMgold.so
+	NATIVE_LIBDIR=$(get_libdir)
 }
 
 multilib_src_configure() {
-	# disable timestamps since they confuse ccache
-	local conf_flags=(
-		--disable-timestamps
-		--enable-keep-symbols
-		--enable-shared
-		--with-optimize-option=
-		$(tc-is-static-only && echo --disable-shared)
-		$(use_enable !debug optimized)
-		$(use_enable debug assertions)
-		$(use_enable debug expensive-checks)
-		$(use_enable libedit)
-		$(use_enable ncurses terminfo)
-		$(use_enable libffi)
-	)
-
-	# well, it's used only by clang executable c-index-test
-	if multilib_is_native_abi && use clang && use xml; then
-		conf_flags+=( XML2CONFIG="$(tc-getPKG_CONFIG) libxml-2.0" )
-	else
-		conf_flags+=( ac_cv_prog_XML2CONFIG="" )
-	fi
-
-	local targets bindings
+	local targets
 	if use multitarget; then
-		targets='all'
+		targets=all
 	else
-		targets='host,cpp'
-		use video_cards_radeon && targets+=',r600'
+		targets='host;CppBackend'
+		use video_cards_radeon && targets+=';R600'
 	fi
-	conf_flags+=( --enable-targets=${targets} )
 
-	if multilib_is_native_abi; then
-		use gold && conf_flags+=( --with-binutils-include="${EPREFIX}"/usr/include/ )
-		# extra commas don't hurt
-		use ocaml && bindings+=',ocaml'
+	local ffi_cflags ffi_ldflags
+	if use libffi; then
+		ffi_cflags=$(pkg-config --cflags-only-I libffi)
+		ffi_ldflags=$(pkg-config --libs-only-L libffi)
 	fi
 
-	[[ ${bindings} ]] || bindings='none'
-	conf_flags+=( --enable-bindings=${bindings} )
+	local libdir=$(get_libdir)
+	local mycmakeargs=(
+		"${mycmakeargs[@]}"
+		-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
 
-	if use libffi; then
-		local CPPFLAGS=${CPPFLAGS}
-		append-cppflags "$(pkg-config --cflags libffi)"
-	fi
+		-DBUILD_SHARED_LIBS=ON
+		-DLLVM_ENABLE_TIMESTAMPS=OFF
+		-DLLVM_TARGETS_TO_BUILD="${targets}"
+		-DLLVM_BUILD_TESTS=$(usex test)
 
-	# Enable large file support, bug #550708
-	append-lfs-flags
-	# llvm prefers clang over gcc, so we may need to force that
-	tc-export CC CXX
+		-DLLVM_ENABLE_FFI=$(usex libffi)
+		-DLLVM_ENABLE_TERMINFO=$(usex ncurses)
+		-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
 
-	ECONF_SOURCE=${S} \
-	econf "${conf_flags[@]}"
-}
+		-DWITH_POLLY=OFF # TODO
+
+		-DLLVM_HOST_TRIPLE="${CHOST}"
 
-set_makeargs() {
-	MAKEARGS=(
-		VERBOSE=1
-		REQUIRES_RTTI=1
-		GENTOO_LIBDIR=$(get_libdir)
+		-DFFI_INCLUDE_DIR="${ffi_cflags#-I}"
+		-DFFI_LIBRARY_DIR="${ffi_ldflags#-L}"
+
+		-DHAVE_HISTEDIT_H=$(usex libedit)
 	)
 
-	# for tests, we want it all! otherwise, we may use a little filtering...
-	# adding ONLY_TOOLS also disables unittest building...
-	if [[ ${EBUILD_PHASE_FUNC} != src_test ]]; then
-		local tools=( llvm-config )
-		use clang && tools+=( clang )
-
-		if multilib_is_native_abi; then
-			tools+=(
-				opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link lli
-				llvm-extract llvm-mc llvm-bcanalyzer llvm-diff macho-dump
-				llvm-objdump llvm-readobj llvm-rtdyld llvm-dwarfdump llvm-cov
-				llvm-size llvm-stress llvm-mcmarkup llvm-profdata
-				llvm-symbolizer obj2yaml yaml2obj lto bugpoint
-			)
+	if ! multilib_is_native_abi || ! use ocaml; then
+		mycmakeargs+=(
+			-DOCAMLFIND=NO
+		)
+	fi
+#	Note: go bindings have no CMake rules at the moment
+#	but let's kill the check in case they are introduced
+#	if ! multilib_is_native_abi || ! use go; then
+		mycmakeargs+=(
+			-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
+		)
+#	fi
 
-			# the build system runs explicitly specified tools in parallel,
-			# so we need to split it into two runs
-			if [[ ${1} != -1 ]]; then
-				# those require lto
-				tools+=( llvm-lto )
-				use gold && tools+=( gold )
-
-				# those require clang :)
-				# we need to explicitly specify all its tools
-				# since we're passing BUILD_CLANG_ONLY
-				use clang && tools+=(
-					clang/tools/{clang-check,clang-format,extra}
-				)
-			fi
+	if multilib_is_native_abi; then
+		mycmakeargs+=(
+			-DLLVM_BUILD_DOCS=ON
+			-DLLVM_ENABLE_DOXYGEN=OFF
+			-DLLVM_ENABLE_SPHINX=ON
+			-DSPHINX_OUTPUT_HTML=$(usex doc)
+
+			-DLLVM_INSTALL_HTML="${EPREFIX}/usr/share/doc/${PF}/html"
+		)
+
+		if use clang; then
+			mycmakeargs+=(
+				-DCLANG_INSTALL_HTML="${EPREFIX}/usr/share/doc/${PF}/clang"
+			)
 		fi
 
-		MAKEARGS+=(
-			# filter tools + disable unittests implicitly
-			ONLY_TOOLS="${tools[*]}"
+		if use gold; then
+			mycmakeargs+=(
+				-DLLVM_BINUTILS_INCDIR="${EPREFIX}"/usr/include
+			)
+		fi
+	else
+		if use clang; then
+			mycmakeargs+=(
+				# disable compiler-rt on non-native ABI because:
+				# 1. it fails to configure because of -m32
+				# 2. it is shared between ABIs so no point building
+				# it multiple times
+				-DLLVM_EXTERNAL_COMPILER_RT_BUILD=OFF
+				-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_BUILD=OFF
+			)
+		fi
+	fi
 
-			# this disables unittests & docs from clang
-			BUILD_CLANG_ONLY=YES
+	if use clang; then
+		mycmakeargs+=(
+			-DCLANG_ENABLE_ARCMT=$(usex static-analyzer)
+			-DCLANG_ENABLE_STATIC_ANALYZER=$(usex static-analyzer)
+			-DCLANG_LIBDIR_SUFFIX="${NATIVE_LIBDIR#lib}"
 		)
+
+		# -- not needed when compiler-rt is built with host compiler --
+		# cmake passes host C*FLAGS to compiler-rt build
+		# which is performed using clang, so we need to filter out
+		# some flags clang does not support
+		# (if you know some more flags that don't work, let us know)
+		#filter-flags -msahf -frecord-gcc-switches
 	fi
+
+	cmake-utils_src_configure
 }
 
 multilib_src_compile() {
-	local MAKEARGS
-	set_makeargs -1
-	emake "${MAKEARGS[@]}"
-
-	if multilib_is_native_abi; then
-		set_makeargs
-		emake -C tools "${MAKEARGS[@]}"
+	cmake-utils_src_compile
 
-		emake -C "${S}"/docs -f Makefile.sphinx man
-		use clang && emake -C "${S}"/tools/clang/docs/tools \
-			BUILD_FOR_WEBSITE=1 DST_MAN_DIR="${T}"/ man
-		use doc && emake -C "${S}"/docs -f Makefile.sphinx html
-	fi
-
-	if use debug; then
-		pax-mark m Debug+Asserts+Checks/bin/llvm-rtdyld
-		pax-mark m Debug+Asserts+Checks/bin/lli
-		pax-mark m Debug+Asserts+Checks/bin/lli-child-target
-	else
-		pax-mark m Release/bin/llvm-rtdyld
-		pax-mark m Release/bin/lli
-		pax-mark m Release/bin/lli-child-target
+	if use test; then
+		pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/Orc/OrcJITTests
+		pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/MCJIT/MCJITTests
+		pax-mark m "${BUILD_DIR}"/unittests/Support/SupportTests
 	fi
 }
 
 multilib_src_test() {
-	local MAKEARGS
-	set_makeargs
-
-	# build the remaining tools & unittests
-	emake "${MAKEARGS[@]}"
-
-	pax-mark m unittests/ExecutionEngine/JIT/Release/JITTests
-	pax-mark m unittests/ExecutionEngine/MCJIT/Release/MCJITTests
-	pax-mark m unittests/Support/Release/SupportTests
-
 	# respect TMPDIR!
 	local -x LIT_PRESERVES_TMP=1
-	emake "${MAKEARGS[@]}" check
-	use clang && emake "${MAKEARGS[@]}" -C tools/clang test
+	local test_targets=( check )
+	# clang tests won't work on non-native ABI because we skip compiler-rt
+	multilib_is_native_abi && use clang && test_targets+=( check-clang )
+	cmake-utils_src_make "${test_targets[@]}"
 }
 
 src_install() {
@@ -346,12 +321,16 @@
 	)
 
 	if use clang; then
-		# note: magic applied below
+		# note: magic applied in multilib_src_install()!
+		CLANG_VERSION=3.7
+
 		MULTILIB_CHOST_TOOLS+=(
 			/usr/bin/clang
 			/usr/bin/clang++
-			/usr/bin/clang-${PV}
-			/usr/bin/clang++-${PV}
+			/usr/bin/clang-cl
+			/usr/bin/clang-${CLANG_VERSION}
+			/usr/bin/clang++-${CLANG_VERSION}
+			/usr/bin/clang-cl-${CLANG_VERSION}
 		)
 
 		MULTILIB_WRAPPED_HEADERS+=(
@@ -359,112 +338,59 @@
 		)
 	fi
 
+
 	multilib-minimal_src_install
 }
 
 multilib_src_install() {
-	local MAKEARGS
-	set_makeargs
-
-	local root=${D}/_${ABI}
-
-	emake "${MAKEARGS[@]}" DESTDIR="${root}" install
-	multibuild_merge_root "${root}" "${D}"
+	cmake-utils_src_install
 
-	if ! multilib_is_native_abi; then
-		# Backwards compat, will be happily removed someday.
-		dosym "${CHOST}"-llvm-config /usr/bin/llvm-config.${ABI}
-	else
+	if multilib_is_native_abi; then
 		# Install docs.
-		doman "${S}"/docs/_build/man/*.1
-		use clang && doman "${T}"/clang.1
-		use doc && dohtml -r "${S}"/docs/_build/html/
+		#use doc && dohtml -r "${S}"/docs/_build/html/
 
 		# Symlink the gold plugin.
 		if use gold; then
-			dodir /usr/${CHOST}/binutils-bin/lib/bfd-plugins
-			dosym ../../../../$(get_libdir)/LLVMgold.so \
-				/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so
+			dodir "/usr/${CHOST}/binutils-bin/lib/bfd-plugins"
+			dosym "../../../../$(get_libdir)/LLVMgold.so" \
+				"/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so"
 		fi
 	fi
 
-	# apply CHOST and PV to clang executables
+	# apply CHOST and CLANG_VERSION to clang executables
 	# they're statically linked so we don't have to worry about the lib
 	if use clang; then
-		local clang_tools=( clang clang++ )
+		local clang_tools=( clang clang++ clang-cl )
 		local i
 
-		# append ${PV} and symlink back
-		# TODO: use alternatives.eclass? does that make any sense?
-		# maybe with USE=-clang on :0 and USE=clang on older
-		for i in "${clang_tools[@]}"; do
-			mv "${ED%/}/usr/bin/${i}"{,-${PV}} || die
-			dosym "${i}"-${PV} /usr/bin/${i}
+		# cmake gives us:
+		# - clang-X.Y
+		# - clang -> clang-X.Y
+		# - clang++, clang-cl -> clang
+		# we want to have:
+		# - clang-X.Y
+		# - clang++-X.Y, clang-cl-X.Y -> clang-X.Y
+		# - clang, clang++, clang-cl -> clang*-X.Y
+		# so we need to fix the two tools
+		for i in "${clang_tools[@]:1}"; do
+			rm "${ED%/}/usr/bin/${i}" || die
+			dosym "clang-${CLANG_VERSION}" "/usr/bin/${i}-${CLANG_VERSION}"
+			dosym "${i}-${CLANG_VERSION}" "/usr/bin/${i}"
 		done
 
 		# now prepend ${CHOST} and let the multilib-build.eclass symlink it
 		if ! multilib_is_native_abi; then
 			# non-native? let's replace it with a simple wrapper
 			for i in "${clang_tools[@]}"; do
-				rm "${ED%/}/usr/bin/${i}-${PV}" || die
+				rm "${ED%/}/usr/bin/${i}-${CLANG_VERSION}" || die
 				cat > "${T}"/wrapper.tmp <<-_EOF_
 					#!${EPREFIX}/bin/sh
-					exec "${i}-${PV}" $(get_abi_CFLAGS) "\${@}"
+					exec "${i}-${CLANG_VERSION}" $(get_abi_CFLAGS) "\${@}"
 				_EOF_
-				newbin "${T}"/wrapper.tmp "${i}-${PV}"
+				newbin "${T}"/wrapper.tmp "${i}-${CLANG_VERSION}"
 			done
 		fi
 	fi
-
-	# Fix install_names on Darwin.  The build system is too complicated
-	# to just fix this, so we correct it post-install
-	local lib= f= odylib= ndylib= libpv=${PV}
-	if [[ ${CHOST} == *-darwin* ]] ; then
-		eval $(grep PACKAGE_VERSION= configure)
-		[[ -n ${PACKAGE_VERSION} ]] && libpv=${PACKAGE_VERSION}
-		libpvminor=${libpv%.[0-9]*}
-		for lib in lib{EnhancedDisassembly,LLVM-${libpv},LTO,profile_rt,clang}.dylib LLVMHello.dylib clang/${libpv}/lib/darwin/libclang_rt.asan_{osx,iossim}_dynamic.dylib; do
-			# libEnhancedDisassembly is Darwin10 only, so non-fatal
-			# + omit clang libs if not enabled
-			[[ -f ${ED}/usr/lib/${lib} ]] || continue
-
-			ebegin "fixing install_name of $lib"
-			install_name_tool \
-				-id "${EPREFIX}"/usr/lib/${lib} \
-				"${ED}"/usr/lib/${lib}
-			eend $?
-		done
-		for f in "${ED}"/usr/bin/* "${ED}"/usr/lib/lib*.dylib "${ED}"/usr/lib/clang/${libpv}/lib/darwin/*.dylib ; do
-			# omit clang libs if not enabled
-			[[ -f "${f}" ]] || continue
-
-			scanmacho -BF'%n#f' "${f}" | tr ',' '\n' | \
-			while read odylib ; do
-				ndylib=
-				case ${odylib} in
-					*/libclang.dylib)
-						ndylib="${EPREFIX}"/usr/lib/libclang.dylib
-						;;
-					*/libLLVM-${libpv}.dylib)
-						ndylib="${EPREFIX}"/usr/lib/libLLVM-${libpv}.dylib
-						;;
-					*/libLLVM-${libpvminor}.dylib)
-						ndylib="${EPREFIX}"/usr/lib/libLLVM-${libpvminor}.dylib
-						;;
-					*/libLTO.dylib)
-						ndylib="${EPREFIX}"/usr/lib/libLTO.dylib
-						;;
-				esac
-				if [[ -n ${ndylib} ]] ; then
-					ebegin "fixing install_name reference to ${odylib} of ${f##*/}"
-					install_name_tool \
-						-change "${odylib}" "${ndylib}" \
-						"${f}"
-					eend $?
-				fi
-			done
-		done
-	fi
 }
 
 multilib_src_install_all() {



1.245                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.245&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.245&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.244&r2=1.245

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -r1.244 -r1.245
--- ChangeLog	5 Jun 2015 14:48:25 -0000	1.244
+++ ChangeLog	9 Jun 2015 16:54:50 -0000	1.245
@@ -1,6 +1,17 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.244 2015/06/05 14:48:25 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.245 2015/06/09 16:54:50 mgorny Exp $
+
+  09 Jun 2015; Michał Górny <mgorny@gentoo.org>
+  +files/cmake/0002-cmake-Support-overriding-Sphinx-HTML-doc-install-dir.patch,
+  +files/cmake/0003-cmake-Add-an-ordering-dep-between-HTML-man-Sphinx-ta.patch,
+  +files/cmake/0004-cmake-Do-not-install-libgtest.patch, +files/cmake/clang-0001
+  -Install-clang-runtime-into-usr-lib-without-suffix.patch,
+  +files/cmake/clang-0002-cmake-Make-CLANG_LIBDIR_SUFFIX-overridable.patch, +fil
+  es/cmake/compiler-rt-0001-cmake-Install-compiler-rt-into-usr-lib-without-suffi
+  .patch, llvm-9999.ebuild:
+  Switch the live ebuild to CMake, and few more improvements. Covered by bug
+  #456322.
 
   05 Jun 2015; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.6.1.ebuild,
   llvm-9999.ebuild:





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2015-06-09 21:17 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2015-06-09 21:17 UTC (permalink / raw
  To: gentoo-commits

mgorny      15/06/09 21:17:33

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Enable EH & RTTI for better compatibility
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.112                sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.112&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.112&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.111&r2=1.112

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- llvm-9999.ebuild	9 Jun 2015 16:54:50 -0000	1.111
+++ llvm-9999.ebuild	9 Jun 2015 21:17:33 -0000	1.112
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.111 2015/06/09 16:54:50 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.112 2015/06/09 21:17:33 mgorny Exp $
 
 EAPI=5
 
@@ -215,6 +215,8 @@
 		-DLLVM_ENABLE_FFI=$(usex libffi)
 		-DLLVM_ENABLE_TERMINFO=$(usex ncurses)
 		-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
+		-DLLVM_ENABLE_EH=ON
+		-DLLVM_ENABLE_RTTI=ON
 
 		-DWITH_POLLY=OFF # TODO
 



1.246                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.246&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.246&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.245&r2=1.246

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -r1.245 -r1.246
--- ChangeLog	9 Jun 2015 16:54:50 -0000	1.245
+++ ChangeLog	9 Jun 2015 21:17:33 -0000	1.246
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.245 2015/06/09 16:54:50 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.246 2015/06/09 21:17:33 mgorny Exp $
+
+  09 Jun 2015; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Enable EH & RTTI for better compatibility
 
   09 Jun 2015; Michał Górny <mgorny@gentoo.org>
   +files/cmake/0002-cmake-Support-overriding-Sphinx-HTML-doc-install-dir.patch,





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2015-06-13 12:00 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2015-06-13 12:00 UTC (permalink / raw
  To: gentoo-commits

mgorny      15/06/13 12:00:15

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Rename R600 -> AMDGPU following upstream. Reported by darkbasic.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.114                sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.114&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.114&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.113&r2=1.114

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- llvm-9999.ebuild	11 Jun 2015 17:05:20 -0000	1.113
+++ llvm-9999.ebuild	13 Jun 2015 12:00:15 -0000	1.114
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.113 2015/06/11 17:05:20 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.114 2015/06/13 12:00:15 mgorny Exp $
 
 EAPI=5
 
@@ -193,7 +193,7 @@
 		targets=all
 	else
 		targets='host;CppBackend'
-		use video_cards_radeon && targets+=';R600'
+		use video_cards_radeon && targets+=';AMDGPU'
 	fi
 
 	local ffi_cflags ffi_ldflags



1.248                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.248&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.248&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.247&r2=1.248

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.247
retrieving revision 1.248
diff -u -r1.247 -r1.248
--- ChangeLog	11 Jun 2015 17:05:20 -0000	1.247
+++ ChangeLog	13 Jun 2015 12:00:15 -0000	1.248
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.247 2015/06/11 17:05:20 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.248 2015/06/13 12:00:15 mgorny Exp $
+
+  13 Jun 2015; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Rename R600 -> AMDGPU following upstream. Reported by darkbasic.
 
   11 Jun 2015; Bernard Cafarelli <voyageur@gentoo.org> llvm-9999.ebuild:
   Documentation build can be made optional again, add back pax markings





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2015-06-13 12:10 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2015-06-13 12:10 UTC (permalink / raw
  To: gentoo-commits

mgorny      15/06/13 12:10:52

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Simplify doc CMake code
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.115                sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.115&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.115&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.114&r2=1.115

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- llvm-9999.ebuild	13 Jun 2015 12:00:15 -0000	1.114
+++ llvm-9999.ebuild	13 Jun 2015 12:10:52 -0000	1.115
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.114 2015/06/13 12:00:15 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.115 2015/06/13 12:10:52 mgorny Exp $
 
 EAPI=5
 
@@ -243,9 +243,8 @@
 
 	if multilib_is_native_abi; then
 		mycmakeargs+=(
-			$(cmake-utils_use doc LLVM_BUILD_DOCS)
-			$(cmake-utils_use doc LLVM_ENABLE_SPHINX)
-			$(cmake-utils_use doc SPHINX_OUTPUT_HTML)
+			-DLLVM_BUILD_DOCS=$(usex doc)
+			-DLLVM_ENABLE_SPHINX=$(usex doc)
 			-DLLVM_ENABLE_DOXYGEN=OFF
 			-DLLVM_INSTALL_HTML="${EPREFIX}/usr/share/doc/${PF}/html"
 		)



1.249                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.249&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.249&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.248&r2=1.249

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.248
retrieving revision 1.249
diff -u -r1.248 -r1.249
--- ChangeLog	13 Jun 2015 12:00:15 -0000	1.248
+++ ChangeLog	13 Jun 2015 12:10:52 -0000	1.249
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.248 2015/06/13 12:00:15 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.249 2015/06/13 12:10:52 mgorny Exp $
+
+  13 Jun 2015; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Simplify doc CMake code
 
   13 Jun 2015; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Rename R600 -> AMDGPU following upstream. Reported by darkbasic.





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2015-06-13 20:51 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2015-06-13 20:51 UTC (permalink / raw
  To: gentoo-commits

mgorny      15/06/13 20:51:45

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Clean multilib_src_install_all() up.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.116                sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.116&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.116&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.115&r2=1.116

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- llvm-9999.ebuild	13 Jun 2015 12:10:52 -0000	1.115
+++ llvm-9999.ebuild	13 Jun 2015 20:51:45 -0000	1.116
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.115 2015/06/13 12:10:52 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.116 2015/06/13 20:51:45 mgorny Exp $
 
 EAPI=5
 
@@ -397,24 +397,25 @@
 }
 
 multilib_src_install_all() {
-	pushd utils/vim >/dev/null || die
-	for dir in */; do
-		insinto /usr/share/vim/vimfiles/${dir}
-		doins ${dir}/*.vim
-	done
-	popd >/dev/null || die
+	insinto /usr/share/vim/vimfiles
+	doins -r utils/vim/*/
+	# some users may find it useful
+	dodoc utils/vim/vimrc
 
 	if use clang; then
 		pushd tools/clang >/dev/null || die
 
 		if use static-analyzer ; then
-			dobin tools/scan-build/ccc-analyzer
+			pushd tools/scan-build >/dev/null || die
+
+			dobin ccc-analyzer scan-build
 			dosym ccc-analyzer /usr/bin/c++-analyzer
-			dobin tools/scan-build/scan-build
+			doman scan-build.1
+
+			insinto /usr/share/llvm
+			doins scanview.css sorttable.js
 
-			insinto /usr/share/${PN}
-			doins tools/scan-build/scanview.css
-			doins tools/scan-build/sorttable.js
+			popd >/dev/null || die
 		fi
 
 		python_inst() {
@@ -425,7 +426,7 @@
 
 				touch __init__.py || die
 				python_moduleinto clang
-				python_domodule __init__.py Reporter.py Resources ScanView.py startfile.py
+				python_domodule *.py Resources
 
 				popd >/dev/null || die
 			fi
@@ -434,7 +435,7 @@
 				pushd bindings/python/clang >/dev/null || die
 
 				python_moduleinto clang
-				python_domodule __init__.py cindex.py enumerations.py
+				python_domodule *.py
 
 				popd >/dev/null || die
 			fi



1.250                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.250&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.250&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.249&r2=1.250

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -r1.249 -r1.250
--- ChangeLog	13 Jun 2015 12:10:52 -0000	1.249
+++ ChangeLog	13 Jun 2015 20:51:45 -0000	1.250
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.249 2015/06/13 12:10:52 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.250 2015/06/13 20:51:45 mgorny Exp $
+
+  13 Jun 2015; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Clean multilib_src_install_all() up.
 
   13 Jun 2015; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
   Simplify doc CMake code





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

* [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog
@ 2015-07-19 17:29 Michal Gorny (mgorny)
  0 siblings, 0 replies; 39+ messages in thread
From: Michal Gorny (mgorny) @ 2015-07-19 17:29 UTC (permalink / raw
  To: gentoo-commits

mgorny      15/07/19 17:29:33

  Modified:             llvm-9999.ebuild ChangeLog
  Log:
  Remove no longer needed gcc-4.9 patch. Update clang vesion number.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.119                sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.119&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.119&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.118&r2=1.119

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- llvm-9999.ebuild	15 Jun 2015 22:26:52 -0000	1.118
+++ llvm-9999.ebuild	19 Jul 2015 17:29:33 -0000	1.119
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.118 2015/06/15 22:26:52 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.119 2015/07/19 17:29:33 mgorny Exp $
 
 EAPI=5
 
@@ -152,7 +152,6 @@
 }
 
 src_prepare() {
-	epatch "${FILESDIR}"/${PN}-3.5-gcc-4.9.patch
 	# Make ocaml warnings non-fatal, bug #537308
 	sed -e "/RUN/s/-warn-error A//" -i test/Bindings/OCaml/*ml  || die
 
@@ -364,7 +363,7 @@
 
 	if use clang; then
 		# note: magic applied in multilib_src_install()!
-		CLANG_VERSION=3.7
+		CLANG_VERSION=3.8
 
 		MULTILIB_CHOST_TOOLS+=(
 			/usr/bin/clang



1.256                sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.256&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.256&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.255&r2=1.256

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.255
retrieving revision 1.256
diff -u -r1.255 -r1.256
--- ChangeLog	29 Jun 2015 11:58:05 -0000	1.255
+++ ChangeLog	19 Jul 2015 17:29:33 -0000	1.256
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.255 2015/06/29 11:58:05 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.256 2015/07/19 17:29:33 mgorny Exp $
+
+  19 Jul 2015; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild:
+  Remove no longer needed gcc-4.9 patch. Update clang vesion number.
 
   29 Jun 2015; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.5.2.ebuild,
   +files/llvm-3.5.2-gcc-5.1.patch:





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

end of thread, other threads:[~2015-07-19 17:29 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-03 14:02 [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog Michal Gorny (mgorny)
  -- strict thread matches above, loose matches on Subject: below --
2015-07-19 17:29 Michal Gorny (mgorny)
2015-06-13 20:51 Michal Gorny (mgorny)
2015-06-13 12:10 Michal Gorny (mgorny)
2015-06-13 12:00 Michal Gorny (mgorny)
2015-06-09 21:17 Michal Gorny (mgorny)
2015-06-09 16:54 Michal Gorny (mgorny)
2015-02-04 10:55 Michal Gorny (mgorny)
2014-12-31 10:37 Michal Gorny (mgorny)
2014-06-29  9:59 Michal Gorny (mgorny)
2014-04-12  9:44 Michal Gorny (mgorny)
2014-04-10 17:03 Michal Gorny (mgorny)
2014-04-07 20:59 Michal Gorny (mgorny)
2014-03-11 18:40 Michal Gorny (mgorny)
2014-01-06 21:16 Michal Gorny (mgorny)
2013-12-28 14:02 Michal Gorny (mgorny)
2013-12-27 14:43 Michal Gorny (mgorny)
2013-12-24 20:07 Michal Gorny (mgorny)
2013-12-24 10:09 Michal Gorny (mgorny)
2013-12-20 21:50 Michal Gorny (mgorny)
2013-12-20 13:18 Michal Gorny (mgorny)
2013-12-20 10:53 Michal Gorny (mgorny)
2013-12-19 19:08 Michal Gorny (mgorny)
2013-12-19 17:26 Michal Gorny (mgorny)
2013-12-19 17:22 Michal Gorny (mgorny)
2013-12-19 11:08 Michal Gorny (mgorny)
2013-11-30 10:33 Michal Gorny (mgorny)
2013-11-27  5:32 Michal Gorny (mgorny)
2013-11-12 18:30 Michal Gorny (mgorny)
2013-10-31 16:22 Michal Gorny (mgorny)
2013-10-13  7:44 Michal Gorny (mgorny)
2013-09-13 15:10 Michal Gorny (mgorny)
2013-09-10  8:22 Michal Gorny (mgorny)
2013-09-07 13:08 Michal Gorny (mgorny)
2013-03-21  9:12 Chi-Thanh Christopher Nguyen (chithanh)
2013-03-19 12:42 Chi-Thanh Christopher Nguyen (chithanh)
2012-05-10  6:03 Patrick Lauer (patrick)
2012-04-30 15:19 Fabian Groffen (grobian)
2012-04-30 15:09 Fabian Groffen (grobian)

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