Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Cc: kde@g.o, base-system@g.o, Sam James <sam@g.o>
Subject: [gentoo-dev] [PATCH 1/2] cmake.eclass: mark CMAKE_VERBOSE as @USER_VARIABLE
Date: Tue, 03 Jan 2023 04:06:41
Message-Id: 20230103040633.2398233-1-sam@gentoo.org
1 It's a policy requirement that ebuilds produce verbose logs, so ebuilds themselves
2 must not set CMAKE_VERBOSE. But users can.
3
4 Signed-off-by: Sam James <sam@g.o>
5 ---
6 eclass/cmake.eclass | 3 ++-
7 1 file changed, 2 insertions(+), 1 deletion(-)
8
9 diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
10 index 094b6d706bc2e..6787735d5416d 100644
11 --- a/eclass/cmake.eclass
12 +++ b/eclass/cmake.eclass
13 @@ -1,4 +1,4 @@
14 -# Copyright 1999-2022 Gentoo Authors
15 +# Copyright 1999-2023 Gentoo Authors
16 # Distributed under the terms of the GNU General Public License v2
17
18 # @ECLASS: cmake.eclass
19 @@ -96,6 +96,7 @@ fi
20 # By default it uses current working directory (in EAPI-7: ${S}).
21
22 # @ECLASS_VARIABLE: CMAKE_VERBOSE
23 +# @USER_VARIABLE
24 # @DESCRIPTION:
25 # Set to OFF to disable verbose messages during compilation
26 : ${CMAKE_VERBOSE:=ON}
27 --
28 2.39.0

Replies