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 C3FD0139085 for ; Thu, 19 Jan 2017 09:14:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82C4DE0D3F; Thu, 19 Jan 2017 09:14:32 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6680EE0D3E for ; Thu, 19 Jan 2017 09:14:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 82DF43413AA for ; Thu, 19 Jan 2017 09:14:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D82D28EF for ; Thu, 19 Jan 2017 09:14:23 +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: <1484817247.a1115ae7102c0033fd85ea5a5cd087ea69e449b0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/llvm-libunwind/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/llvm-libunwind/llvm-libunwind-4.0.0_rc1.ebuild X-VCS-Directories: sys-libs/llvm-libunwind/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a1115ae7102c0033fd85ea5a5cd087ea69e449b0 X-VCS-Branch: master Date: Thu, 19 Jan 2017 09:14:23 +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: 4279c181-8549-4fd7-99e8-6c74d4f5c096 X-Archives-Hash: b295b1ea7bb62833c6706d674afe8bdd commit: a1115ae7102c0033fd85ea5a5cd087ea69e449b0 Author: Michał Górny gentoo org> AuthorDate: Thu Jan 19 09:04:34 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jan 19 09:14:07 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1115ae7 sys-libs/llvm-libunwind: Bump to 4.0.0rc1 .../llvm-libunwind/llvm-libunwind-4.0.0_rc1.ebuild | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-4.0.0_rc1.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-4.0.0_rc1.ebuild new file mode 100644 index 00000000..f824d98 --- /dev/null +++ b/sys-libs/llvm-libunwind/llvm-libunwind-4.0.0_rc1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +# (needed due to CMAKE_BUILD_TYPE != Gentoo) +CMAKE_MIN_VERSION=3.7.0-r1 +inherit cmake-multilib git-r3 + +DESCRIPTION="C++ runtime stack unwinder from LLVM" +HOMEPAGE="https://github.com/llvm-mirror/libunwind" +SRC_URI="" +EGIT_REPO_URI="http://llvm.org/git/libunwind.git + https://github.com/llvm-mirror/libunwind.git" +EGIT_BRANCH="release_40" +EGIT_COMMIT="9f88e323c3d0926f52ab3d4a5379eefd92ff28c2" + +LICENSE="|| ( UoI-NCSA MIT )" +SLOT="0" +KEYWORDS="" +IUSE="debug +static-libs" + +RDEPEND="!sys-libs/libunwind" +# LLVM 4 required for llvm-config --cmakedir +DEPEND=">=sys-devel/llvm-4" + +# least intrusive of all +CMAKE_BUILD_TYPE=RelWithDebInfo + +multilib_src_configure() { + local libdir=$(get_libdir) + + local mycmakeargs=( + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug) + -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs) + ) + + cmake-utils_src_configure +} + +multilib_src_install() { + cmake-utils_src_install + + # install headers like sys-libs/libunwind + doheader "${S}"/include/*.h +}