[KT-42234] Moved optimization flags to konan.properties
Combined with KT-40670, it simplifies tuning of LLVM optimization and compilation pipeline.
This commit is contained in:
committed by
Stanislav Erokhin
parent
e2cb099d2b
commit
431a7c9ba9
+4
-1
@@ -53,6 +53,10 @@ interface Configurables : TargetableExternalStorage {
|
||||
val absoluteTargetToolchain get() = absolute(targetToolchain)
|
||||
val absoluteLlvmHome get() = absolute(llvmHome)
|
||||
|
||||
val targetCpu get() = targetString("targetCpu")
|
||||
val targetCpuFeatures get() = targetString("targetCpuFeatures")
|
||||
val llvmInlineThreshold get() = targetString("llvmInlineThreshold")
|
||||
|
||||
val runtimeDefinitions get() = targetList("runtimeDefinitions")
|
||||
}
|
||||
|
||||
@@ -85,6 +89,5 @@ interface WasmConfigurables : TargetableConfigurables, ClangFlags, LldFlags
|
||||
|
||||
interface ZephyrConfigurables : TargetableConfigurables, ClangFlags {
|
||||
val boardSpecificClangFlags get() = targetList("boardSpecificClangFlags")
|
||||
val targetCpu get() = targetString("targetCpu")
|
||||
val targetAbi get() = targetString("targetAbi")
|
||||
}
|
||||
Reference in New Issue
Block a user