commit:     8a0606fc1c818037cede96b8cc54322c7d836fea
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  7 14:42:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan  7 14:42:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0606fc

sys-libs/compiler-rt: Remove 16.0.0_pre2022* snapshots

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-libs/compiler-rt/Manifest                      |   2 -
 .../compiler-rt-16.0.0_pre20221217.ebuild          | 149 ---------------------
 .../compiler-rt-16.0.0_pre20221226.ebuild          | 149 ---------------------
 3 files changed, 300 deletions(-)

diff --git a/sys-libs/compiler-rt/Manifest b/sys-libs/compiler-rt/Manifest
index 195892bd5560..aabd88f57cf4 100644
--- a/sys-libs/compiler-rt/Manifest
+++ b/sys-libs/compiler-rt/Manifest
@@ -7,6 +7,4 @@ DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf
 DIST llvm-project-15.0.6.src.tar.xz 112074576 BLAKE2B 
74b1aa967c95191fa492f06b3a21930842da0ccbd9995dd33b4c2cf07852bbedcae97041fd5966209b16c63b90c87cc02fb2e858eda13dd9cc0641edcede0f75
 SHA512 
3311d85f4e02610af52f06e83c8c6d2b93950d24324b831b7afc47c39a20a546d39683a14e1a315da87d226379042de900a3f36a0351053547482af9035ab949
 DIST llvm-project-15.0.6.src.tar.xz.sig 438 BLAKE2B 
3c97dbd55667f52dad964ef71257c36e3075794f5616cfd46de8bf874867e861bf45c0d56cff2d0ad5d4f1b5a1c9b3a395aedcc40bce545ce7f3c84ac75ae3da
 SHA512 
a184103d84f8197a709c6c067fa83ca9290cd06532c487ad2c1fefa423438a1ac3c7f88835a94e3c9f04876e8d5f09afabef15bd8605df38aec6a4118597090c
 DIST llvm-project-b20dd2b186fdc76828219b705a2b58f5830f4b9d.tar.gz 175044630 
BLAKE2B 
f9a955e8413b57067fb697792316fb0c1e3eac00b1af208ba5d29db01a9acc96b88c7edca12c43762b1425c71a716a7c74d5d7edad45a442f32ba73f88f548b6
 SHA512 
5133c32d7856c8280bfeb47c3e5a9c0d8c1c291aad29af93586523110f95b08e582ff416fc6be02241eabfe80c35ad4f0334de5ead2a41bc6504616b1c6fd15a
-DIST llvm-project-dfc20708bcdf7b4c4bea8595fc4ac8674634d5e6.tar.gz 174878013 
BLAKE2B 
9c37423ae2a85a9d4a17fba97733cf808ebc98fa1488fb02e8c3e23039511154a220184af1bc6950c857b7d3c528d01e3dde5441c18903f25a7d7b7781e08f9b
 SHA512 
146d6ab53cce257c21ae202b887bbb77b017f883cf26337bd3af29289cd828aabf95c528c6c192473c3cafb7e803940261f32a8fab6130deca01ccd5576c78eb
-DIST llvm-project-fb792ebaf2114ad11d673cf891ae560e2e604711.tar.gz 174312496 
BLAKE2B 
dd7f30b911ef5049e9e2bff7b2768e31b48b1f4c7acaf159f535fe3deb5aa6630fdf7857c83fffcda1119a38a52101490d2b6cb41cb295bb7dd85cde0445b7ee
 SHA512 
bef15e7d82a2faf8be24f784d3d34ff9b21c8f17256879587ea5471011a32a1eb885e1b020da55aa096f2e0b5fe4bcf9fe8f0f5b5d34f5f386c48899c68fb7d1
 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 
2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b
 SHA512 
9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f

diff --git a/sys-libs/compiler-rt/compiler-rt-16.0.0_pre20221217.ebuild 
b/sys-libs/compiler-rt/compiler-rt-16.0.0_pre20221217.ebuild
deleted file mode 100644
index 33bcc08a8c37..000000000000
--- a/sys-libs/compiler-rt/compiler-rt-16.0.0_pre20221217.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs
-
-DESCRIPTION="Compiler runtime library for clang (built-in part)"
-HOMEPAGE="https://llvm.org/";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-KEYWORDS="~loong"
-IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
-RESTRICT="!test? ( test ) !clang? ( test )"
-
-DEPEND="
-       sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-       >=dev-util/cmake-3.16
-       clang? ( sys-devel/clang )
-       test? (
-               $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
-               =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
-       )
-       !test? (
-               ${PYTHON_DEPS}
-       )
-"
-
-LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
-llvm.org_set_globals
-
-python_check_deps() {
-       use test || return 0
-       python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
-}
-
-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() {
-       # Darwin Prefix builds do not have llvm installed yet, so rely on
-       # bootstrap-prefix to set the appropriate path vars to LLVM instead
-       # of using llvm_pkg_setup.
-       if [[ ${CHOST} != *-darwin* ]] || has_version dev-lang/llvm; then
-               LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-       fi
-       python-any-r1_pkg_setup
-}
-
-test_compiler() {
-       $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
-               <<<'int main() { return 0; }' &>/dev/null
-}
-
-src_configure() {
-       # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-       use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
-       # pre-set since we need to pass it to cmake
-       BUILD_DIR=${WORKDIR}/${P}_build
-
-       if use clang; then
-               # Only do this conditionally to allow overriding with
-               # e.g. CC=clang-13 in case of breakage
-               if ! tc-is-clang ; then
-                       local -x CC=${CHOST}-clang
-                       local -x CXX=${CHOST}-clang++
-               fi
-
-               strip-unsupported-flags
-       fi
-
-       if ! test_compiler; then
-               local nolib_flags=( -nodefaultlibs -lc )
-
-               if test_compiler "${nolib_flags[@]}"; then
-                       local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
-                       ewarn "${CC} seems to lack runtime, trying with 
${nolib_flags[*]}"
-               elif test_compiler "${nolib_flags[@]}" -nostartfiles; then
-                       # Avoiding -nostartfiles earlier on for bug #862540,
-                       # and set available entry symbol for bug #862798.
-                       nolib_flags+=( -nostartfiles -emain )
-
-                       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/${LLVM_MAJOR}"
-
-               -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
-               -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
-               -DCOMPILER_RT_BUILD_MEMPROF=OFF
-               -DCOMPILER_RT_BUILD_ORC=OFF
-               -DCOMPILER_RT_BUILD_PROFILE=OFF
-               -DCOMPILER_RT_BUILD_SANITIZERS=OFF
-               -DCOMPILER_RT_BUILD_XRAY=OFF
-
-               -DPython3_EXECUTABLE="${PYTHON}"
-       )
-
-       if use amd64; then
-               mycmakeargs+=(
-                       -DCAN_TARGET_i386=$(usex abi_x86_32)
-                       -DCAN_TARGET_x86_64=$(usex abi_x86_64)
-               )
-       fi
-
-       if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then
-               mycmakeargs+=(
-                       # setting -isysroot is disabled with 
compiler-rt-prefix-paths.patch
-                       # this allows adding arm64 support using SDK in EPREFIX
-                       -DDARWIN_macosx_CACHED_SYSROOT="${EPREFIX}/MacOSX.sdk"
-                       # Set version based on the SDK in EPREFIX.
-                       # This disables i386 for SDK >= 10.15
-                       -DDARWIN_macosx_OVERRIDE_SDK_VERSION="$(realpath 
${EPREFIX}/MacOSX.sdk | sed -e 's/.*MacOSX\(.*\)\.sdk/\1/')"
-                       # Use our libtool instead of looking it up with xcrun
-                       -DCMAKE_LIBTOOL="${EPREFIX}/usr/bin/${CHOST}-libtool"
-               )
-       fi
-
-       if use test; then
-               mycmakeargs+=(
-                       -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-                       -DLLVM_LIT_ARGS="$(get_lit_flags)"
-
-                       
-DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/clang"
-                       
-DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/clang++"
-               )
-       fi
-
-       cmake_src_configure
-}
-
-src_test() {
-       # respect TMPDIR!
-       local -x LIT_PRESERVES_TMP=1
-
-       cmake_build check-builtins
-}

diff --git a/sys-libs/compiler-rt/compiler-rt-16.0.0_pre20221226.ebuild 
b/sys-libs/compiler-rt/compiler-rt-16.0.0_pre20221226.ebuild
deleted file mode 100644
index 33bcc08a8c37..000000000000
--- a/sys-libs/compiler-rt/compiler-rt-16.0.0_pre20221226.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs
-
-DESCRIPTION="Compiler runtime library for clang (built-in part)"
-HOMEPAGE="https://llvm.org/";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-KEYWORDS="~loong"
-IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
-RESTRICT="!test? ( test ) !clang? ( test )"
-
-DEPEND="
-       sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-       >=dev-util/cmake-3.16
-       clang? ( sys-devel/clang )
-       test? (
-               $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
-               =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
-       )
-       !test? (
-               ${PYTHON_DEPS}
-       )
-"
-
-LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
-llvm.org_set_globals
-
-python_check_deps() {
-       use test || return 0
-       python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
-}
-
-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() {
-       # Darwin Prefix builds do not have llvm installed yet, so rely on
-       # bootstrap-prefix to set the appropriate path vars to LLVM instead
-       # of using llvm_pkg_setup.
-       if [[ ${CHOST} != *-darwin* ]] || has_version dev-lang/llvm; then
-               LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-       fi
-       python-any-r1_pkg_setup
-}
-
-test_compiler() {
-       $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
-               <<<'int main() { return 0; }' &>/dev/null
-}
-
-src_configure() {
-       # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-       use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
-       # pre-set since we need to pass it to cmake
-       BUILD_DIR=${WORKDIR}/${P}_build
-
-       if use clang; then
-               # Only do this conditionally to allow overriding with
-               # e.g. CC=clang-13 in case of breakage
-               if ! tc-is-clang ; then
-                       local -x CC=${CHOST}-clang
-                       local -x CXX=${CHOST}-clang++
-               fi
-
-               strip-unsupported-flags
-       fi
-
-       if ! test_compiler; then
-               local nolib_flags=( -nodefaultlibs -lc )
-
-               if test_compiler "${nolib_flags[@]}"; then
-                       local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
-                       ewarn "${CC} seems to lack runtime, trying with 
${nolib_flags[*]}"
-               elif test_compiler "${nolib_flags[@]}" -nostartfiles; then
-                       # Avoiding -nostartfiles earlier on for bug #862540,
-                       # and set available entry symbol for bug #862798.
-                       nolib_flags+=( -nostartfiles -emain )
-
-                       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/${LLVM_MAJOR}"
-
-               -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
-               -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
-               -DCOMPILER_RT_BUILD_MEMPROF=OFF
-               -DCOMPILER_RT_BUILD_ORC=OFF
-               -DCOMPILER_RT_BUILD_PROFILE=OFF
-               -DCOMPILER_RT_BUILD_SANITIZERS=OFF
-               -DCOMPILER_RT_BUILD_XRAY=OFF
-
-               -DPython3_EXECUTABLE="${PYTHON}"
-       )
-
-       if use amd64; then
-               mycmakeargs+=(
-                       -DCAN_TARGET_i386=$(usex abi_x86_32)
-                       -DCAN_TARGET_x86_64=$(usex abi_x86_64)
-               )
-       fi
-
-       if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then
-               mycmakeargs+=(
-                       # setting -isysroot is disabled with 
compiler-rt-prefix-paths.patch
-                       # this allows adding arm64 support using SDK in EPREFIX
-                       -DDARWIN_macosx_CACHED_SYSROOT="${EPREFIX}/MacOSX.sdk"
-                       # Set version based on the SDK in EPREFIX.
-                       # This disables i386 for SDK >= 10.15
-                       -DDARWIN_macosx_OVERRIDE_SDK_VERSION="$(realpath 
${EPREFIX}/MacOSX.sdk | sed -e 's/.*MacOSX\(.*\)\.sdk/\1/')"
-                       # Use our libtool instead of looking it up with xcrun
-                       -DCMAKE_LIBTOOL="${EPREFIX}/usr/bin/${CHOST}-libtool"
-               )
-       fi
-
-       if use test; then
-               mycmakeargs+=(
-                       -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-                       -DLLVM_LIT_ARGS="$(get_lit_flags)"
-
-                       
-DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/clang"
-                       
-DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/clang++"
-               )
-       fi
-
-       cmake_src_configure
-}
-
-src_test() {
-       # respect TMPDIR!
-       local -x LIT_PRESERVES_TMP=1
-
-       cmake_build check-builtins
-}

Reply via email to