From c5ba3c275806717340c87844a76a07396fac921a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 10 Mar 2019 19:23:44 +0100 Subject: [PATCH] sys-devel/clang: Drop <4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-devel/clang/clang-3.4.2-r100.ebuild | 35 ------------------- sys-devel/clang/clang-3.5.2-r100.ebuild | 35 ------------------- sys-devel/clang/clang-3.6.2-r100.ebuild | 35 ------------------- sys-devel/clang/clang-3.7.1-r100.ebuild | 35 ------------------- sys-devel/clang/clang-3.9.1-r100.ebuild | 46 ------------------------- sys-devel/clang/metadata.xml | 1 - 6 files changed, 187 deletions(-) delete mode 100644 sys-devel/clang/clang-3.4.2-r100.ebuild delete mode 100644 sys-devel/clang/clang-3.5.2-r100.ebuild delete mode 100644 sys-devel/clang/clang-3.6.2-r100.ebuild delete mode 100644 sys-devel/clang/clang-3.7.1-r100.ebuild delete mode 100644 sys-devel/clang/clang-3.9.1-r100.ebuild diff --git a/sys-devel/clang/clang-3.4.2-r100.ebuild b/sys-devel/clang/clang-3.4.2-r100.ebuild deleted file mode 100644 index 7d2979d5fa09..000000000000 --- a/sys-devel/clang/clang-3.4.2-r100.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit multilib-build - -DESCRIPTION="C language family frontend for LLVM (meta-ebuild)" -HOMEPAGE="https://clang.llvm.org/" -SRC_URI="" - -LICENSE="UoI-NCSA" -SLOT="0/3.4" -KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" -IUSE="" - -RDEPEND="~sys-devel/llvm-${PV}[clang(-),${MULTILIB_USEDEP}]" - -# Please keep this package around since it's quite likely that we'll -# return to separate LLVM & clang ebuilds when the cmake build system -# is complete. - -pkg_postinst() { - if has_version ">=dev-util/ccache-3.1.9-r2" ; then - #add ccache links as clang might get installed after ccache - "${EROOT}"/usr/bin/ccache-config --install-links - fi -} - -pkg_postrm() { - if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then - # --remove-links would remove all links, --install-links updates them - "${EROOT}"/usr/bin/ccache-config --install-links - fi -} diff --git a/sys-devel/clang/clang-3.5.2-r100.ebuild b/sys-devel/clang/clang-3.5.2-r100.ebuild deleted file mode 100644 index a10346be855c..000000000000 --- a/sys-devel/clang/clang-3.5.2-r100.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit multilib-build - -DESCRIPTION="C language family frontend for LLVM (meta-ebuild)" -HOMEPAGE="https://clang.llvm.org/" -SRC_URI="" - -LICENSE="UoI-NCSA" -SLOT="0/3.5" -KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" -IUSE="" - -RDEPEND="~sys-devel/llvm-${PV}[clang(-),${MULTILIB_USEDEP}]" - -# Please keep this package around since it's quite likely that we'll -# return to separate LLVM & clang ebuilds when the cmake build system -# is complete. - -pkg_postinst() { - if has_version ">=dev-util/ccache-3.1.9-r2" ; then - #add ccache links as clang might get installed after ccache - "${EROOT}"/usr/bin/ccache-config --install-links - fi -} - -pkg_postrm() { - if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then - # --remove-links would remove all links, --install-links updates them - "${EROOT}"/usr/bin/ccache-config --install-links - fi -} diff --git a/sys-devel/clang/clang-3.6.2-r100.ebuild b/sys-devel/clang/clang-3.6.2-r100.ebuild deleted file mode 100644 index a68d706db02c..000000000000 --- a/sys-devel/clang/clang-3.6.2-r100.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit multilib-build - -DESCRIPTION="C language family frontend for LLVM (meta-ebuild)" -HOMEPAGE="https://clang.llvm.org/" -SRC_URI="" - -LICENSE="UoI-NCSA" -SLOT="0/3.6" -KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" -IUSE="" - -RDEPEND="~sys-devel/llvm-${PV}[clang(-),${MULTILIB_USEDEP}]" - -# Please keep this package around since it's quite likely that we'll -# return to separate LLVM & clang ebuilds when the cmake build system -# is complete. - -pkg_postinst() { - if has_version ">=dev-util/ccache-3.1.9-r2" ; then - #add ccache links as clang might get installed after ccache - "${EROOT}"/usr/bin/ccache-config --install-links - fi -} - -pkg_postrm() { - if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then - # --remove-links would remove all links, --install-links updates them - "${EROOT}"/usr/bin/ccache-config --install-links - fi -} diff --git a/sys-devel/clang/clang-3.7.1-r100.ebuild b/sys-devel/clang/clang-3.7.1-r100.ebuild deleted file mode 100644 index b62b2983d2be..000000000000 --- a/sys-devel/clang/clang-3.7.1-r100.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit multilib-build - -DESCRIPTION="C language family frontend for LLVM (meta-ebuild)" -HOMEPAGE="https://clang.llvm.org/" -SRC_URI="" - -LICENSE="UoI-NCSA" -SLOT="0/3.7" -KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" -IUSE="" - -RDEPEND="~sys-devel/llvm-${PV}[clang(-),${MULTILIB_USEDEP}]" - -# Please keep this package around since it's quite likely that we'll -# return to separate LLVM & clang ebuilds when the cmake build system -# is complete. - -pkg_postinst() { - if has_version ">=dev-util/ccache-3.1.9-r2" ; then - #add ccache links as clang might get installed after ccache - "${EROOT}"/usr/bin/ccache-config --install-links - fi -} - -pkg_postrm() { - if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then - # --remove-links would remove all links, --install-links updates them - "${EROOT}"/usr/bin/ccache-config --install-links - fi -} diff --git a/sys-devel/clang/clang-3.9.1-r100.ebuild b/sys-devel/clang/clang-3.9.1-r100.ebuild deleted file mode 100644 index 0fadd936ed9a..000000000000 --- a/sys-devel/clang/clang-3.9.1-r100.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit multilib-build - -DESCRIPTION="C language family frontend for LLVM (meta-ebuild)" -HOMEPAGE="https://clang.llvm.org/" -SRC_URI="" - -# Keep in sync with sys-devel/llvm -ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Mips MSP430 - NVPTX PowerPC Sparc SystemZ X86 XCore ) -ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) -LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} - -LICENSE="UoI-NCSA" -# keep in sync with sys-devel/llvm! -SLOT="0/${PV}" -KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" -IUSE="debug multitarget python +static-analyzer ${ALL_LLVM_TARGETS[*]}" - -RDEPEND="~sys-devel/llvm-${PV}[clang(-),debug=,python?,static-analyzer?,${LLVM_TARGET_USEDEPS// /,},${MULTILIB_USEDEP}]" - -REQUIRED_USE=" - || ( ${ALL_LLVM_TARGETS[*]} ) - multitarget? ( ${ALL_LLVM_TARGETS[*]} )" - -# Please keep this package around since it's quite likely that we'll -# return to separate LLVM & clang ebuilds when the cmake build system -# is complete. - -pkg_postinst() { - if has_version ">=dev-util/ccache-3.1.9-r2" ; then - #add ccache links as clang might get installed after ccache - "${EROOT}"/usr/bin/ccache-config --install-links - fi -} - -pkg_postrm() { - if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then - # --remove-links would remove all links, --install-links updates them - "${EROOT}"/usr/bin/ccache-config --install-links - fi -} diff --git a/sys-devel/clang/metadata.xml b/sys-devel/clang/metadata.xml index 03502538f638..04b324c4b057 100644 --- a/sys-devel/clang/metadata.xml +++ b/sys-devel/clang/metadata.xml @@ -29,7 +29,6 @@ Conformance with C/C++/ObjC and their variants Use compiler-rt instead of libgcc as the default rtlib for clang Use libc++ instead of libstdc++ as the default stdlib for clang - Build all host targets (default: host only) Install the Clang static analyzer Enable the static analyzer constraint manager backend using sci-mathematics/z3 -- 2.26.2