1 |
Hello, |
2 |
|
3 |
Here's a quick series of patches for review. The goal is to reduce |
4 |
boilerplate copied between LLVM ebuilds and reduce long-term maintenance |
5 |
costs. |
6 |
|
7 |
The patches: |
8 |
|
9 |
1. Add a generic src_prepare() that works for most of the ebuilds, |
10 |
and calls cmake implementation or default appropriately. This |
11 |
applies to 10.0.1_rc* and newer only since old ebuilds may rely |
12 |
on different implicit src_prepare(). |
13 |
|
14 |
2. Declare CMAKE_BUILD_TYPE. This is something we do in all CMake |
15 |
ebuilds for LLVM, and declaring it everywhere shouldn't hurt. |
16 |
|
17 |
3. Move common lit (test runner) arguments to the eclass. Most |
18 |
importantly, this makes it easier to adjust them in the future. |
19 |
|
20 |
Eclass patches are followed by updates to all packages. |
21 |
|
22 |
The package patches roughly boil down to: |
23 |
|
24 |
a. removing multiprocessing inherit (call moved to eclass). |
25 |
|
26 |
b. removing CMAKE_BUILD_TYPE. |
27 |
|
28 |
c. removing or updating src_prepare(). |
29 |
|
30 |
d. updating lit args. |
31 |
|
32 |
|
33 |
Michał Górny (18): |
34 |
llvm.org.eclass: Introduce llvm-project patch-friendly src_prepare |
35 |
llvm.org.eclass: Declare CMAKE_BUILD_TYPE |
36 |
llvm.org.eclass: Add a helper function for common lit args |
37 |
sys-devel/llvm-common: Dedupe with new eclass code |
38 |
sys-devel/llvm: Dedupe with new eclass code |
39 |
dev-python/lit: Dedupe with new eclass code |
40 |
dev-ml/llvm-ocaml: Dedupe with new eclass code |
41 |
sys-devel/lld: Dedupe with new eclass code |
42 |
sys-devel/clang-common: Dedupe with new eclass code |
43 |
sys-devel/clang: Dedupe with new eclass code |
44 |
dev-python/clang-python: Dedupe with new eclass code |
45 |
dev-util/lldb: Dedupe with new eclass code |
46 |
sys-libs/compiler-rt: Dedupe with new eclass code |
47 |
sys-libs/compiler-rt-sanitizers: Dedupe with new eclass code |
48 |
sys-libs/llvm-libunwind: Dedupe with new eclass code |
49 |
sys-libs/libcxxabi: Dedupe with new eclass code |
50 |
sys-libs/libcxx: Dedupe with new eclass code |
51 |
sys-libs/libomp: Dedupe with new eclass code |
52 |
|
53 |
.../llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild | 17 +------ |
54 |
.../llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild | 17 +------ |
55 |
.../llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild | 17 +------ |
56 |
.../clang-python-10.0.1.9999.ebuild | 5 -- |
57 |
.../clang-python-10.0.1_rc1.ebuild | 5 -- |
58 |
.../clang-python-11.0.0.9999.ebuild | 5 -- |
59 |
dev-python/lit/lit-10.0.1.9999.ebuild | 6 +-- |
60 |
dev-python/lit/lit-10.0.1_rc1.ebuild | 6 +-- |
61 |
dev-python/lit/lit-11.0.0.9999.ebuild | 6 +-- |
62 |
dev-util/lldb/lldb-10.0.1.9999.ebuild | 15 +----- |
63 |
dev-util/lldb/lldb-10.0.1_rc1.ebuild | 15 +----- |
64 |
dev-util/lldb/lldb-11.0.0.9999.ebuild | 15 +----- |
65 |
eclass/llvm.org.eclass | 48 +++++++++++++++++++ |
66 |
.../clang-common-10.0.1.9999.ebuild | 5 -- |
67 |
.../clang-common-10.0.1_rc1.ebuild | 5 -- |
68 |
.../clang-common-11.0.0.9999.ebuild | 5 -- |
69 |
sys-devel/clang/clang-10.0.1.9999.ebuild | 14 ++---- |
70 |
sys-devel/clang/clang-10.0.1_rc1.ebuild | 14 ++---- |
71 |
sys-devel/clang/clang-11.0.0.9999.ebuild | 14 ++---- |
72 |
sys-devel/lld/lld-10.0.1.9999.ebuild | 14 +----- |
73 |
sys-devel/lld/lld-10.0.1_rc1.ebuild | 14 +----- |
74 |
sys-devel/lld/lld-11.0.0.9999.ebuild | 14 +----- |
75 |
.../llvm-common-10.0.1.9999.ebuild | 5 -- |
76 |
.../llvm-common/llvm-common-10.0.1_rc1.ebuild | 5 -- |
77 |
.../llvm-common-11.0.0.9999.ebuild | 5 -- |
78 |
sys-devel/llvm/llvm-10.0.1.9999.ebuild | 14 ++---- |
79 |
sys-devel/llvm/llvm-10.0.1_rc1.ebuild | 14 ++---- |
80 |
sys-devel/llvm/llvm-11.0.0.9999.ebuild | 14 ++---- |
81 |
.../compiler-rt-sanitizers-10.0.1.9999.ebuild | 15 +----- |
82 |
.../compiler-rt-sanitizers-10.0.1_rc1.ebuild | 15 +----- |
83 |
.../compiler-rt-sanitizers-11.0.0.9999.ebuild | 15 +----- |
84 |
.../compiler-rt-10.0.1.9999.ebuild | 15 +----- |
85 |
.../compiler-rt/compiler-rt-10.0.1_rc1.ebuild | 15 +----- |
86 |
.../compiler-rt-11.0.0.9999.ebuild | 15 +----- |
87 |
sys-libs/libcxx/libcxx-10.0.1.9999.ebuild | 15 ++---- |
88 |
sys-libs/libcxx/libcxx-10.0.1_rc1.ebuild | 15 ++---- |
89 |
sys-libs/libcxx/libcxx-11.0.0.9999.ebuild | 15 ++---- |
90 |
.../libcxxabi/libcxxabi-10.0.1.9999.ebuild | 16 +------ |
91 |
.../libcxxabi/libcxxabi-10.0.1_rc1.ebuild | 16 +------ |
92 |
.../libcxxabi/libcxxabi-11.0.0.9999.ebuild | 16 +------ |
93 |
sys-libs/libomp/libomp-10.0.1.9999.ebuild | 14 +----- |
94 |
sys-libs/libomp/libomp-10.0.1_rc1.ebuild | 14 +----- |
95 |
sys-libs/libomp/libomp-11.0.0.9999.ebuild | 14 +----- |
96 |
.../llvm-libunwind-10.0.1.9999.ebuild | 16 +------ |
97 |
.../llvm-libunwind-10.0.1_rc1.ebuild | 16 +------ |
98 |
.../llvm-libunwind-11.0.0.9999.ebuild | 16 +------ |
99 |
46 files changed, 138 insertions(+), 468 deletions(-) |
100 |
|
101 |
-- |
102 |
2.27.0 |