From 4f98a0e083beaab5ed468aedae12f63892ac57b6 Mon Sep 17 00:00:00 2001 From: Sergey Bogolepov Date: Thu, 17 Jun 2021 16:15:29 +0700 Subject: [PATCH] [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. --- kotlin-native/konan/konan.properties | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kotlin-native/konan/konan.properties b/kotlin-native/konan/konan.properties index 4ed35a07a7b..0febdc9b6e7 100644 --- a/kotlin-native/konan/konan.properties +++ b/kotlin-native/konan/konan.properties @@ -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