[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2015-07-19 Thread Michal Gorny (mgorny)
mgorny  15/07/19 17:29:33

  Modified: llvm-.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  ChangesPath
1.119sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- llvm-.ebuild15 Jun 2015 22:26:52 -  1.118
+++ llvm-.ebuild19 Jul 2015 17:29:33 -  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-.ebuild,v 1.118 
2015/06/15 22:26:52 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.256sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.256view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.256content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.255r2=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 -  1.255
+++ ChangeLog   19 Jul 2015 17:29:33 -  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 mgo...@gentoo.org llvm-.ebuild:
+  Remove no longer needed gcc-4.9 patch. Update clang vesion number.
 
   29 Jun 2015; Bernard Cafarelli voyag...@gentoo.org llvm-3.5.2.ebuild,
   +files/llvm-3.5.2-gcc-5.1.patch:






[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2015-06-13 Thread Michal Gorny (mgorny)
mgorny  15/06/13 12:00:15

  Modified: llvm-.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  ChangesPath
1.114sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- llvm-.ebuild11 Jun 2015 17:05:20 -  1.113
+++ llvm-.ebuild13 Jun 2015 12:00:15 -  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-.ebuild,v 1.113 
2015/06/11 17:05:20 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.248sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.248view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.248content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.247r2=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 -  1.247
+++ ChangeLog   13 Jun 2015 12:00:15 -  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 mgo...@gentoo.org llvm-.ebuild:
+  Rename R600 - AMDGPU following upstream. Reported by darkbasic.
 
   11 Jun 2015; Bernard Cafarelli voyag...@gentoo.org llvm-.ebuild:
   Documentation build can be made optional again, add back pax markings






[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2015-06-13 Thread Michal Gorny (mgorny)
mgorny  15/06/13 12:10:52

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

Revision  ChangesPath
1.115sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- llvm-.ebuild13 Jun 2015 12:00:15 -  1.114
+++ llvm-.ebuild13 Jun 2015 12:10:52 -  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-.ebuild,v 1.114 
2015/06/13 12:00:15 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.249sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.249view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.249content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.248r2=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 -  1.248
+++ ChangeLog   13 Jun 2015 12:10:52 -  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 mgo...@gentoo.org llvm-.ebuild:
+  Simplify doc CMake code
 
   13 Jun 2015; Michał Górny mgo...@gentoo.org llvm-.ebuild:
   Rename R600 - AMDGPU following upstream. Reported by darkbasic.






[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2015-06-13 Thread Michal Gorny (mgorny)
mgorny  15/06/13 20:51:45

  Modified: llvm-.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  ChangesPath
1.116sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- llvm-.ebuild13 Jun 2015 12:10:52 -  1.115
+++ llvm-.ebuild13 Jun 2015 20:51:45 -  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-.ebuild,v 1.115 
2015/06/13 12:10:52 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.250sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.250view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.250content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.249r2=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 -  1.249
+++ ChangeLog   13 Jun 2015 20:51:45 -  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 mgo...@gentoo.org llvm-.ebuild:
+  Clean multilib_src_install_all() up.
 
   13 Jun 2015; Michał Górny mgo...@gentoo.org llvm-.ebuild:
   Simplify doc CMake code






[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2015-06-09 Thread Michal Gorny (mgorny)
mgorny  15/06/09 16:54:50

  Modified: llvm-.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  ChangesPath
1.111sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- llvm-.ebuild5 Jun 2015 14:48:25 -   1.110
+++ llvm-.ebuild9 Jun 2015 16:54:50 -   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-.ebuild,v 1.110 
2015/06/05 14:48:25 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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
 
-   # 

[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2015-06-09 Thread Michal Gorny (mgorny)
mgorny  15/06/09 21:17:33

  Modified: llvm-.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  ChangesPath
1.112sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- llvm-.ebuild9 Jun 2015 16:54:50 -   1.111
+++ llvm-.ebuild9 Jun 2015 21:17:33 -   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-.ebuild,v 1.111 
2015/06/09 16:54:50 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.246sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.246view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.246content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.245r2=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 -   1.245
+++ ChangeLog   9 Jun 2015 21:17:33 -   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 mgo...@gentoo.org llvm-.ebuild:
+  Enable EH  RTTI for better compatibility
 
   09 Jun 2015; Michał Górny mgo...@gentoo.org
   +files/cmake/0002-cmake-Support-overriding-Sphinx-HTML-doc-install-dir.patch,






[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2015-02-04 Thread Michal Gorny (mgorny)
mgorny  15/02/04 10:55:25

  Modified: llvm-.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  ChangesPath
1.102sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- llvm-.ebuild31 Jan 2015 19:48:12 -  1.101
+++ llvm-.ebuild4 Feb 2015 10:55:25 -   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-.ebuild,v 1.101 
2015/01/31 19:48:12 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.226sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.226view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.226content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.225r2=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 -  1.225
+++ ChangeLog   4 Feb 2015 10:55:25 -   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 mgo...@gentoo.org
+  +files/clang-3.6-gentoo-install.patch, llvm-.ebuild:
+  Update clang patch, bug #538768. It looks like upstream finally fixed libdir
+  for LLVMgold.
 
   31 Jan 2015; Fabian Groffen grob...@gentoo.org llvm-3.4.2.ebuild,
   llvm-3.5.0.ebuild, llvm-3.5.1.ebuild, llvm-.ebuild:






[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2014-12-31 Thread Michal Gorny (mgorny)
mgorny  14/12/31 10:37:37

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

Revision  ChangesPath
1.96 sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- llvm-.ebuild31 Dec 2014 02:04:45 -  1.95
+++ llvm-.ebuild31 Dec 2014 10:37:36 -  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-.ebuild,v 1.95 
2014/12/31 02:04:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.215sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.215view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.215content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.214r2=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 -  1.214
+++ ChangeLog   31 Dec 2014 10:37:36 -  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 mgo...@gentoo.org
+  +files/llvm-3.6-gentoo-install.patch, llvm-.ebuild:
+  Update Gentoo patch for -, bug #534080.
 
   31 Dec 2014; Mike Frysinger vap...@gentoo.org llvm-3.5.0.ebuild,
   llvm-.ebuild:






[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2014-06-29 Thread Michal Gorny (mgorny)
mgorny  14/06/29 09:59:33

  Modified: llvm-.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  ChangesPath
1.88 sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- llvm-.ebuild1 May 2014 15:09:30 -   1.87
+++ llvm-.ebuild29 Jun 2014 09:59:32 -  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-.ebuild,v 1.87 
2014/05/01 15:09:30 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.202sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.202view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.202content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.201r2=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 -  1.201
+++ ChangeLog   29 Jun 2014 09:59:33 -  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: 

[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2014-04-12 Thread Michal Gorny (mgorny)
mgorny  14/04/12 09:44:01

  Modified: llvm-.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  ChangesPath
1.84 sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- llvm-.ebuild10 Apr 2014 17:03:23 -  1.83
+++ llvm-.ebuild12 Apr 2014 09:44:01 -  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-.ebuild,v 1.83 
2014/04/10 17:03:23 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.189sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.189view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.189content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.188r2=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 -  1.188
+++ ChangeLog   12 Apr 2014 09:44:01 -  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 mgo...@gentoo.org llvm-.ebuild:
+  Remove the cmake hack since upstream started installing cmake files from
+  Makefiles.
 
 *llvm-3.4-r2 (10 Apr 2014)
 






[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2014-04-10 Thread Michal Gorny (mgorny)
mgorny  14/04/10 17:03:24

  Modified: llvm-.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  ChangesPath
1.83 sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- llvm-.ebuild7 Apr 2014 20:59:49 -   1.82
+++ llvm-.ebuild10 Apr 2014 17:03:23 -  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-.ebuild,v 1.82 
2014/04/07 20:59:49 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.187sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.187view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.187content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.186r2=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 -   1.186
+++ ChangeLog   10 Apr 2014 17:03:23 -  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 mgo...@gentoo.org llvm-.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 mgo...@gentoo.org llvm-.ebuild:
   Update PYTHON_COMPAT in the live ebuild.






[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2014-04-07 Thread Michal Gorny (mgorny)
mgorny  14/04/07 20:59:49

  Modified: llvm-.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  ChangesPath
1.82 sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- llvm-.ebuild2 Apr 2014 23:24:29 -   1.81
+++ llvm-.ebuild7 Apr 2014 20:59:49 -   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-.ebuild,v 1.81 
2014/04/02 23:24:29 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.186sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.186view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.186content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.185r2=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 -   1.185
+++ ChangeLog   7 Apr 2014 20:59:49 -   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 mgo...@gentoo.org llvm-.ebuild:
+  Update PYTHON_COMPAT in the live ebuild.
 
 *llvm-3.4-r1 (02 Apr 2014)
 






[gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog

2014-03-11 Thread Michal Gorny (mgorny)
mgorny  14/03/11 18:40:17

  Modified: llvm-.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  ChangesPath
1.79 sys-devel/llvm/llvm-.ebuild

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

Index: llvm-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.ebuild,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- llvm-.ebuild15 Jan 2014 18:08:11 -  1.78
+++ llvm-.ebuild11 Mar 2014 18:40:17 -  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-.ebuild,v 1.78 
2014/01/15 18:08:11 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-.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.180sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.180view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.180content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.179r2=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 -   1.179
+++ ChangeLog   11 Mar 2014 18:40:17 -  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 mgo...@gentoo.org llvm-.ebuild:
+  Remove unnecessary --with-clang-resource-dir that broke the build whenever 
the
+  version number was bumped.
 
   05 Mar 2014; Markus Meier mae...@gentoo.org llvm-3.3-r3.ebuild:
   arm stable, bug #491018