Fix CompileToExecutable CC issues
Required for KTI-1553
This commit is contained in:
committed by
Space Team
parent
987f67e312
commit
8dc460ae4a
-1
@@ -213,7 +213,6 @@ abstract class CompileToExecutable : DefaultTask() {
|
|||||||
@get:Input
|
@get:Input
|
||||||
abstract val linkerArgs: ListProperty<String>
|
abstract val linkerArgs: ListProperty<String>
|
||||||
|
|
||||||
@Internal
|
|
||||||
fun linkCommands(): List<List<String>> =
|
fun linkCommands(): List<List<String>> =
|
||||||
// Getting link commands requires presence of a target toolchain.
|
// 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.
|
// Thus we cannot get them at the configuration stage because the toolchain may be not downloaded yet.
|
||||||
|
|||||||
+1
@@ -110,6 +110,7 @@ abstract class KonanBuildingConfig<T : KonanBuildingTask>(
|
|||||||
init(this@KonanBuildingConfig, outputDescription.destinationDir, outputDescription.artifactName, target)
|
init(this@KonanBuildingConfig, outputDescription.destinationDir, outputDescription.artifactName, target)
|
||||||
group = BasePlugin.BUILD_GROUP
|
group = BasePlugin.BUILD_GROUP
|
||||||
description = generateTaskDescription(this)
|
description = generateTaskDescription(this)
|
||||||
|
notCompatibleWithConfigurationCache("")
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun createAggregateTask(): TaskProvider<Task> =
|
private fun createAggregateTask(): TaskProvider<Task> =
|
||||||
|
|||||||
Reference in New Issue
Block a user