clang: remove cache handling

This is taking too long for every run and does not seem to work as
expected and wastes time instead of saving it. Remove for now..

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-10-29 08:30:17 -04:00
commit 39bd354389

View file

@ -1,13 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
find_appropriate_cache_directory(USER_CACHE_DIR)
if((NOT "${USER_CACHE_DIR}" STREQUAL "") AND (EXISTS "${USER_CACHE_DIR}"))
message(STATUS "Invalidating toolchain capability cache in ${USER_CACHE_DIR}")
execute_process(COMMAND
${CMAKE_COMMAND} -E remove_directory "${USER_CACHE_DIR}")
endif()
if(DEFINED $ENV{CLANG_ROOT_DIR})
set(TOOLCHAIN_HOME ${CLANG_ROOT}/bin/)
endif()