diff options
Diffstat (limited to 'meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch')
-rw-r--r-- | meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch b/meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch new file mode 100644 index 0000000000..055a3e7b57 --- /dev/null +++ b/meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From bbe5c95ef1755c4804c4561c03cafedeb004cb36 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Thu, 21 Mar 2024 10:18:39 +0800 | ||
4 | Subject: [PATCH] CMakeLists.txt: do not use ccache | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
9 | --- | ||
10 | CMakeLists.txt | 12 ++++++------ | ||
11 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
12 | |||
13 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
14 | index fc1718dfd..70c94c2ff 100644 | ||
15 | --- a/CMakeLists.txt | ||
16 | +++ b/CMakeLists.txt | ||
17 | @@ -84,12 +84,12 @@ if (MINIFI_USE_REAL_ODBC_TEST_DRIVER) | ||
18 | endif() | ||
19 | |||
20 | # Use ccache if present | ||
21 | -find_program(CCACHE_FOUND ccache) | ||
22 | -if(CCACHE_FOUND) | ||
23 | - set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) | ||
24 | - set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) | ||
25 | - message("-- Found ccache: ${CCACHE_FOUND}") | ||
26 | -endif(CCACHE_FOUND) | ||
27 | +#find_program(CCACHE_FOUND ccache) | ||
28 | +#if(CCACHE_FOUND) | ||
29 | +# set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) | ||
30 | +# set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) | ||
31 | +# message("-- Found ccache: ${CCACHE_FOUND}") | ||
32 | +#endif(CCACHE_FOUND) | ||
33 | |||
34 | # Check for exec info before we enable the backtrace features. | ||
35 | CHECK_INCLUDE_FILE("execinfo.h" HAS_EXECINFO) | ||
36 | -- | ||
37 | 2.34.1 | ||
38 | |||