* updated kmbox (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / develop / meson / no-ccache.patch
blobee479a8edde6c151b8d088cc03e3131720e888e7
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../meson/no-ccache.patch
5 # Copyright (C) 2020 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- ./mesonbuild/envconfig.py.vanilla 2020-04-25 12:11:39.818502087 +0200
18 +++ ./mesonbuild/envconfig.py 2020-04-25 12:11:50.214502092 +0200
19 @@ -367,11 +367,7 @@
21 @staticmethod
22 def detect_ccache() -> T.List[str]:
23 - try:
24 - subprocess.check_call(['ccache', '--version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
25 - except (OSError, subprocess.CalledProcessError):
26 - return []
27 - return ['ccache']
28 + return []
30 @classmethod
31 def parse_entry(cls, entry: T.Union[str, T.List[str]]) -> T.Tuple[T.List[str], T.List[str]]: