From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3A91138331 for ; Fri, 19 Jan 2018 22:22:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8196E0960; Fri, 19 Jan 2018 22:21:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89C3FE0960 for ; Fri, 19 Jan 2018 22:21:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43CF7335C39 for ; Fri, 19 Jan 2018 22:21:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE3DA15D for ; Fri, 19 Jan 2018 22:21:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1516400503.5bcc52f047db4438cd7427a094dcbb06bb2d4513.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/llvm/llvm-5.0.1.ebuild sys-devel/llvm/llvm-6.0.9999.ebuild sys-devel/llvm/llvm-9999.ebuild sys-devel/llvm/metadata.xml X-VCS-Directories: sys-devel/llvm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5bcc52f047db4438cd7427a094dcbb06bb2d4513 X-VCS-Branch: master Date: Fri, 19 Jan 2018 22:21:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1d5feaf4-c214-4766-bee4-d0120b513c7b X-Archives-Hash: 477524b707919c3ddea16cbcce11e0c7 commit: 5bcc52f047db4438cd7427a094dcbb06bb2d4513 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 19 19:50:48 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 19 22:21:43 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bcc52f0 sys-devel/llvm: Fix implicit dependency on app-arch/libxar Support conditionally using app-arch/libxar in LLVM 6+, and explicitly force it off in LLVM 5. This library is used only to dump LLVM bitcode in Mach-O files and it's very rare, so we can safely presume that nobody really used it and it's not worth rebuild due to revbumping LLVM 5. Closes: https://bugs.gentoo.org/645038 sys-devel/llvm/llvm-5.0.1.ebuild | 1 + sys-devel/llvm/llvm-6.0.9999.ebuild | 5 ++++- sys-devel/llvm/llvm-9999.ebuild | 5 ++++- sys-devel/llvm/metadata.xml | 2 ++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/sys-devel/llvm/llvm-5.0.1.ebuild b/sys-devel/llvm/llvm-5.0.1.ebuild index 949988d12d1..f1eff0e8a3d 100644 --- a/sys-devel/llvm/llvm-5.0.1.ebuild +++ b/sys-devel/llvm/llvm-5.0.1.ebuild @@ -122,6 +122,7 @@ multilib_src_configure() { -DFFI_INCLUDE_DIR="${ffi_cflags#-I}" -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}" + -DHAVE_LIBXAR=0 # disable OCaml bindings (now in dev-ml/llvm-ocaml) -DOCAMLFIND=NO diff --git a/sys-devel/llvm/llvm-6.0.9999.ebuild b/sys-devel/llvm/llvm-6.0.9999.ebuild index 03eed722f8d..f89769dc283 100644 --- a/sys-devel/llvm/llvm-6.0.9999.ebuild +++ b/sys-devel/llvm/llvm-6.0.9999.ebuild @@ -35,7 +35,7 @@ LICENSE="UoI-NCSA rc BSD public-domain llvm_targets_ARM? ( LLVM-Grant )" SLOT="$(ver_cut 1)" KEYWORDS="" -IUSE="debug doc gold libedit +libffi ncurses test xml +IUSE="debug doc gold libedit +libffi ncurses test xar xml kernel_Darwin ${ALL_LLVM_TARGETS[*]}" RESTRICT="!test? ( test )" @@ -45,6 +45,7 @@ RDEPEND=" libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] ) libffi? ( >=virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] ) ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] ) + xar? ( app-arch/xar ) xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${RDEPEND} @@ -119,6 +120,8 @@ multilib_src_configure() { -DFFI_INCLUDE_DIR="${ffi_cflags#-I}" -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}" + # used only for llvm-objdump tool + -DHAVE_LIBXAR=$(multilib_native_usex xar 1 0) # disable OCaml bindings (now in dev-ml/llvm-ocaml) -DOCAMLFIND=NO diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild index 275fb80a6bd..d1550613720 100644 --- a/sys-devel/llvm/llvm-9999.ebuild +++ b/sys-devel/llvm/llvm-9999.ebuild @@ -37,7 +37,7 @@ LICENSE="UoI-NCSA rc BSD public-domain llvm_targets_ARM? ( LLVM-Grant )" SLOT="7" KEYWORDS="" -IUSE="debug doc gold libedit +libffi ncurses test xml +IUSE="debug doc gold libedit +libffi ncurses test xar xml kernel_Darwin ${ALL_LLVM_TARGETS[*]}" RESTRICT="!test? ( test )" @@ -47,6 +47,7 @@ RDEPEND=" libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] ) libffi? ( >=virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] ) ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] ) + xar? ( app-arch/xar ) xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${RDEPEND} @@ -124,6 +125,8 @@ multilib_src_configure() { -DFFI_INCLUDE_DIR="${ffi_cflags#-I}" -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}" + # used only for llvm-objdump tool + -DHAVE_LIBXAR=$(multilib_native_usex xar 1 0) # disable OCaml bindings (now in dev-ml/llvm-ocaml) -DOCAMLFIND=NO diff --git a/sys-devel/llvm/metadata.xml b/sys-devel/llvm/metadata.xml index f532f3a746d..66c9caef166 100644 --- a/sys-devel/llvm/metadata.xml +++ b/sys-devel/llvm/metadata.xml @@ -20,5 +20,7 @@ Support querying terminal properties using ncurses' terminfo Build compiler-rt's sanitizers Install the Clang static analyzer (requires USE=clang) + Support dumping LLVM bitcode sections in Mach-O files + (uses app-arch/libxar)