Fix CompileToExecutable CC issues

Required for KTI-1553
This commit is contained in:
cristiangarcia
2024-03-12 15:26:51 +01:00
committed by Space Team
parent 987f67e312
commit 8dc460ae4a
2 changed files with 1 additions and 1 deletions
@@ -213,7 +213,6 @@ abstract class CompileToExecutable : DefaultTask() {
@get:Input
abstract val linkerArgs: ListProperty<String>
@Internal
fun linkCommands(): List<List<String>> =
// Getting link commands requires presence of a target toolchain.
// Thus we cannot get them at the configuration stage because the toolchain may be not downloaded yet.
@@ -110,6 +110,7 @@ abstract class KonanBuildingConfig<T : KonanBuildingTask>(
init(this@KonanBuildingConfig, outputDescription.destinationDir, outputDescription.artifactName, target)
group = BasePlugin.BUILD_GROUP
description = generateTaskDescription(this)
notCompatibleWithConfigurationCache("")
}
private fun createAggregateTask(): TaskProvider<Task> =