From 52c68b1b9c38c9c8fbea49b23cdbc05606514d16 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 26 Oct 2020 02:35:46 -0700 Subject: [PATCH] we do actually want to cache arudino cores --- bin/kaleidoscope-builder | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 37b7fd5f..c222d31e 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -149,7 +149,7 @@ build_paths() { : "${BUILD_PATH:=${KALEIDOSCOPE_BUILD_PATH}/${SKETCH_BUILD_DIR}}" : "${OUTPUT_PATH:=${KALEIDOSCOPE_OUTPUT_PATH}/${SKETCH_OUTPUT_DIR}}" - + : "${CORE_CACHE_PATH:=${KALEIDOSCOPE_TEMP_PATH}/arduino-cores}" : "${LIB_PROPERTIES_PATH:="../.."}" @@ -305,6 +305,7 @@ compile() { --libraries "${KALEIDOSCOPE_DIR}/.." \ --build-path "${BUILD_PATH}" \ --output-dir "${OUTPUT_PATH}" \ + --build-cache-path "${CORE_CACHE_PATH}" \ --build-properties "compiler.path=${COMPILER_PATH}/" \ --build-properties "compiler.c.cmd=${_CMD_CC}" \ --build-properties "compiler.cpp.cmd=${_CMD_CXX}" \