commit:     c4ab9fa567473e79f5c95ac28c2aafb3145201e7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 18 21:09:02 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 21:25:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4ab9fa5

sys-libs/compiler-rt: Drop old (5.0.0)

 sys-libs/compiler-rt/Manifest                 |  1 -
 sys-libs/compiler-rt/compiler-rt-5.0.0.ebuild | 97 ---------------------------
 2 files changed, 98 deletions(-)

diff --git a/sys-libs/compiler-rt/Manifest b/sys-libs/compiler-rt/Manifest
index a289205ce1c..7065b881249 100644
--- a/sys-libs/compiler-rt/Manifest
+++ b/sys-libs/compiler-rt/Manifest
@@ -1,3 +1,2 @@
 DIST compiler-rt-4.0.1.src.tar.xz 1434100 BLAKE2B 
ca6bf78fc07f387b7244a52ef648b06a5685effb46a66b241a9ee847ecafb17d02602f49b0dbe473d47202586874a043a6d75141400062f526d2f808da323e1e
 SHA512 
cfeb625884b273f7c0e6767b81a8d3e5f24e0b96a510d5764d9d47a0e215fc841b4cb9d1843c8fb428cd21def720cfbfe8d3593ff5bb390548ebc8c32a902649
-DIST compiler-rt-5.0.0.src.tar.xz 1507996 BLAKE2B 
7294b7c4fee6401baaf2a9c9bd22d3f94d57334575ae0d5c599b613990d6f139b72acee8c2c66f6c7bc17378d5258290e749f691cc6c6c5bf9f204e3a76b37a0
 SHA512 
5f3fd49736fba35232b0baa19a5f03c4ab3bf85ec16f23355eb3c516fe6d861c14272c224ca2f2092a80636df4307e49a3df1b60a3791949b3f1ba4a0c8c81fb
 DIST compiler-rt-5.0.1.src.tar.xz 1498220 BLAKE2B 
61503df8a4075c2fe1e42d480753b861321b5de127e340f48d648fc38d81c7967cead17e136beaa5235cc92540f158915fccec77cf39aa7c336d106c9d265222
 SHA512 
61e23775db78bdeed3003a509b45ae609287db31302fed186f3210d481ecf062d1828571e63482215ab00ff732df8f3fa6c77334dfb677e4b76eb555d476b8c4

diff --git a/sys-libs/compiler-rt/compiler-rt-5.0.0.ebuild 
b/sys-libs/compiler-rt/compiler-rt-5.0.0.ebuild
deleted file mode 100644
index 9b135a41b32..00000000000
--- a/sys-libs/compiler-rt/compiler-rt-5.0.0.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# 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
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils flag-o-matic llvm python-any-r1 toolchain-funcs
-
-DESCRIPTION="Compiler runtime library for clang (built-in part)"
-HOMEPAGE="https://llvm.org/";
-SRC_URI="https://releases.llvm.org/${PV/_//}/${P/_/}.src.tar.xz";
-
-LICENSE="|| ( UoI-NCSA MIT )"
-SLOT="${PV%_*}"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="+clang test"
-
-LLVM_SLOT=${SLOT%%.*}
-# llvm-4 needed for --cmakedir
-DEPEND="
-       >=sys-devel/llvm-4
-       clang? ( sys-devel/clang )
-       test? (
-               $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]")
-               =sys-devel/clang-${PV%_*}*:${LLVM_SLOT} )
-       ${PYTHON_DEPS}"
-
-S=${WORKDIR}/${P/_/}.src
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-pkg_pretend() {
-       if ! use clang && ! tc-is-clang; then
-               ewarn "Building using a compiler other than clang may result in 
broken atomics"
-               ewarn "library. Enable USE=clang unless you have a very good 
reason not to."
-       fi
-}
-
-pkg_setup() {
-       llvm_pkg_setup
-       python-any-r1_pkg_setup
-}
-
-test_compiler() {
-       $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
-               <<<'int main() { return 0; }' &>/dev/null
-}
-
-src_configure() {
-       # pre-set since we need to pass it to cmake
-       BUILD_DIR=${WORKDIR}/${P}_build
-
-       local nolib_flags=( -nodefaultlibs -lc )
-       if use clang; then
-               local -x CC=${CHOST}-clang
-               local -x CXX=${CHOST}-clang++
-               # ensure we can use clang before installing compiler-rt
-               local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
-               strip-unsupported-flags
-       elif ! test_compiler; then
-               if test_compiler "${nolib_flags[@]}"; then
-                       local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
-                       ewarn "${CC} seems to lack runtime, trying with 
${nolib_flags[*]}"
-               fi
-       fi
-
-       local mycmakeargs=(
-               -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}"
-
-               -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
-               -DCOMPILER_RT_BUILD_SANITIZERS=OFF
-               -DCOMPILER_RT_BUILD_XRAY=OFF
-       )
-
-       if use test; then
-               mycmakeargs+=(
-                       -DLIT_COMMAND="${EPREFIX}/usr/bin/lit"
-
-                       
-DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${LLVM_SLOT}/bin/clang"
-                       
-DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${LLVM_SLOT}/bin/clang++"
-               )
-       fi
-
-       cmake-utils_src_configure
-}
-
-src_test() {
-       # respect TMPDIR!
-       local -x LIT_PRESERVES_TMP=1
-
-       cmake-utils_src_make check-builtins
-}

Reply via email to