Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/
Date: Wed, 27 Apr 2022 12:27:19
Message-Id: 1651062420.5c9d3b30a294c77b6d7fcf872bb3bffb330c680f.mgorny@gentoo
1 commit: 5c9d3b30a294c77b6d7fcf872bb3bffb330c680f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 08:35:11 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 12:27:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c9d3b30
7
8 sys-libs/compiler-rt-sanitizers: Modernize
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../compiler-rt-sanitizers-15.0.0.9999.ebuild | 16 +++++++++++-----
13 1 file changed, 11 insertions(+), 5 deletions(-)
14
15 diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.0.9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.0.9999.ebuild
16 index 12e5eb2d01e7..3249418afcfa 100644
17 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.0.9999.ebuild
18 +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.0.9999.ebuild
19 @@ -1,7 +1,7 @@
20 # Copyright 1999-2022 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=7
24 +EAPI=8
25
26 PYTHON_COMPAT=( python3_{8..10} )
27 inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
28 @@ -27,14 +27,19 @@ REQUIRED_USE="
29 test? (
30 cfi? ( ubsan )
31 gwp-asan? ( scudo )
32 - )"
33 -RESTRICT="!test? ( test ) !clang? ( test )"
34 + )
35 +"
36 +RESTRICT="
37 + !clang? ( test )
38 + !test? ( test )
39 +"
40
41 CLANG_SLOT=${SLOT%%.*}
42 # llvm-6 for new lit options
43 DEPEND="
44 >=sys-devel/llvm-6
45 - virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]"
46 + virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
47 +"
48 BDEPEND="
49 >=dev-util/cmake-3.16
50 clang? ( sys-devel/clang )
51 @@ -47,7 +52,8 @@ BDEPEND="
52 )
53 !test? (
54 ${PYTHON_DEPS}
55 - )"
56 + )
57 +"
58
59 LLVM_COMPONENTS=( compiler-rt cmake )
60 LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support llvm/utils/unittest )