diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-06-26 16:48:07 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-06-27 21:18:00 +0200 |
commit | 7e7a4b9d2bca61bb5f06aeb86d32fc043bef535a (patch) | |
tree | 762da755955b73a7cc23beb50173def952e35b46 /sys-libs/llvm-libunwind | |
parent | sys-libs/compiler-rt-sanitizers: Bump to 4.0.1 (diff) | |
download | gentoo-7e7a4b9d2bca61bb5f06aeb86d32fc043bef535a.tar.gz gentoo-7e7a4b9d2bca61bb5f06aeb86d32fc043bef535a.tar.bz2 gentoo-7e7a4b9d2bca61bb5f06aeb86d32fc043bef535a.zip |
sys-libs/llvm-libunwind: Bump to 4.0.1
Diffstat (limited to 'sys-libs/llvm-libunwind')
-rw-r--r-- | sys-libs/llvm-libunwind/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/llvm-libunwind/llvm-libunwind-4.0.1.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest index 27eb807d4857..506c117f2ad2 100644 --- a/sys-libs/llvm-libunwind/Manifest +++ b/sys-libs/llvm-libunwind/Manifest @@ -2,3 +2,4 @@ DIST libunwind-3.8.1.src.tar.xz 60596 SHA256 21e58ce09a5982255ecf86b86359179ddb0 DIST libunwind-3.9.0.src.tar.xz 61764 SHA256 66675ddec5ba0d36689757da6008cb2596ee1a9067f4f598d89ce5a3b43f4c2b SHA512 dce384bea99ed61b363b847e20946fc9d70377389a227cc7054fbaa916e7cb5ba0b9d89f0df6ed33409dbf38beefd3654c18c1abcf0e50b5d0315ce0135a1d25 WHIRLPOOL 3fddaf6a06390143beee04d0e73ac0b66fb27c5497b80309ca314a52fd67d49ae3806b2b7588f07185c49339a75b7549bbf303f50224916f1ed65f6ad82415d0 DIST libunwind-3.9.1.src.tar.xz 61788 SHA256 0b0bc73264d7ab77d384f8a7498729e3c4da8ffee00e1c85ad02a2f85e91f0e6 SHA512 a80f5d0660e209f5bf709316b5df2ca63b9f0db49f5f74dfe9c9e580c654f61a15acc071a739fdb84baf5ffa9420b92498f8560331173642d80f6b74e1e2afb7 WHIRLPOOL d79928771468e344bd4c73ec458f4994fbfa04b4f625e559f3ef20c75d504d06f8edc1051d1444d8b4260f253716333ecd4bc7a18e8aca822dd77245a5a99ac2 DIST libunwind-4.0.0.src.tar.xz 63748 SHA256 0755efa9f969373d4d543123bbed4b3f9a835f6302875c1379c5745857725973 SHA512 c3c934b70830ef5496c9d24c469b702eb4408abd4fe4dd9e0832230b064dc78d23b02ed2a5ce9a099dea76c3d43cbf41d59c6cda189f990d5593c7d3cd5c79dd WHIRLPOOL 3c8756a6b16ea14f7b223e304219e637a7515faf06616fa85e0f48e206b72931f563a9f07799039e39467f9ffd2ac89d6f624638fddfcae962170baa3fcab63b +DIST libunwind-4.0.1.src.tar.xz 63388 SHA256 3b072e33b764b4f9b5172698e080886d1f4d606531ab227772a7fc08d6a92555 SHA512 8a0552a8ab830010d81420f4b778a3b831bff85b19bcce972958fc30e1ba5a2fa26a3deba499985a43dd7a103690775f6a20e7b3edda55f4eaff3541002d6b59 WHIRLPOOL 2544b14afb6a2d545ed68c267389e7438c3dd4d244dd1cce8583f2aba2e90017a027c27c87a9a7336ea3c5ada3388414d4e357ad1c1db0d23ee52b178f45b563 diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-4.0.1.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-4.0.1.ebuild new file mode 100644 index 000000000000..76ccc9166197 --- /dev/null +++ b/sys-libs/llvm-libunwind/llvm-libunwind-4.0.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +# (needed due to CMAKE_BUILD_TYPE != Gentoo) +CMAKE_MIN_VERSION=3.7.0-r1 +inherit cmake-multilib llvm + +DESCRIPTION="C++ runtime stack unwinder from LLVM" +HOMEPAGE="https://github.com/llvm-mirror/libunwind" +SRC_URI="http://releases.llvm.org/${PV/_//}/libunwind-${PV/_/}.src.tar.xz" + +LICENSE="|| ( UoI-NCSA MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="debug +static-libs" + +RDEPEND="!sys-libs/libunwind" +# LLVM 4 required for llvm-config --cmakedir +DEPEND=">=sys-devel/llvm-4" + +S=${WORKDIR}/libunwind-${PV/_/}.src + +# 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 +} |