commit:     f61415d407744bd4fc7ac1230adf1ada417167be
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 14 20:43:03 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 14 21:29:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f61415d4

sys-devel/clang: Require matching compiler-rt version for tests

Since compiler-rt files are installed in versioned directory, they work
only if the matching version is installed.

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

 sys-devel/clang/clang-11.0.1.ebuild      | 2 +-
 sys-devel/clang/clang-11.1.0_rc1.ebuild  | 2 +-
 sys-devel/clang/clang-12.0.0.9999.ebuild | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-devel/clang/clang-11.0.1.ebuild 
b/sys-devel/clang/clang-11.0.1.ebuild
index 888329bcd7f..651aeda3194 100644
--- a/sys-devel/clang/clang-11.0.1.ebuild
+++ b/sys-devel/clang/clang-11.0.1.ebuild
@@ -41,7 +41,7 @@ done
 unset x
 
 DEPEND="${RDEPEND}
-       test? ( sys-libs/compiler-rt )"
+       test? ( ~sys-libs/compiler-rt-${PV} )"
 BDEPEND="
        >=dev-util/cmake-3.16
        doc? ( dev-python/sphinx )

diff --git a/sys-devel/clang/clang-11.1.0_rc1.ebuild 
b/sys-devel/clang/clang-11.1.0_rc1.ebuild
index b8e5c37e20b..950f42b62c6 100644
--- a/sys-devel/clang/clang-11.1.0_rc1.ebuild
+++ b/sys-devel/clang/clang-11.1.0_rc1.ebuild
@@ -41,7 +41,7 @@ done
 unset x
 
 DEPEND="${RDEPEND}
-       test? ( sys-libs/compiler-rt )"
+       test? ( ~sys-libs/compiler-rt-${PV} )"
 BDEPEND="
        >=dev-util/cmake-3.16
        doc? ( dev-python/sphinx )

diff --git a/sys-devel/clang/clang-12.0.0.9999.ebuild 
b/sys-devel/clang/clang-12.0.0.9999.ebuild
index 8ebb9ceea5e..ffd6ffdd724 100644
--- a/sys-devel/clang/clang-12.0.0.9999.ebuild
+++ b/sys-devel/clang/clang-12.0.0.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -41,7 +41,7 @@ done
 unset x
 
 DEPEND="${RDEPEND}
-       test? ( sys-libs/compiler-rt )"
+       test? ( ~sys-libs/compiler-rt-${PV} )"
 BDEPEND="
        >=dev-util/cmake-3.16
        doc? ( dev-python/sphinx )

Reply via email to