[Native] Introduce optInCacheableTargets

Create an explicit list of targets that have unstable compiler caches
in konan.properties. It allows to control all lists of cacheable targets
in a single place.
This commit is contained in:
Sergey Bogolepov
2021-06-17 16:15:29 +07:00
committed by Space
parent 108dd37242
commit 4f98a0e083
+6
View File
@@ -89,6 +89,12 @@ cacheableTargets.macos_arm64 = \
ios_simulator_arm64 \
ios_arm64
# Targets that support compiler caches, but these caches
# are not considered stable enough to be turned on by default.
optInCacheableTargets = \
ios_arm64 \
linux_x64
# Mac OS X.
# Can be an absolute path instead of predefined value.
llvmHome.macos_x64 = $llvm.macos_x64.dev