[K/N][build] Add comment about dependency and cross build
This commit is contained in:
@@ -413,6 +413,14 @@ def endorsedLibsCopyTask = task("crossDistEndorsedLibrariesCopy", type: Copy) {
|
|||||||
targetList.each { target ->
|
targetList.each { target ->
|
||||||
task("${target}CrossDistStdlib", type: Copy) {
|
task("${target}CrossDistStdlib", type: Copy) {
|
||||||
dependsOn ":kotlin-native:runtime:${target}Stdlib"
|
dependsOn ":kotlin-native:runtime:${target}Stdlib"
|
||||||
|
// TODO: add explicit dependency on host task with IR klib stdlib parts
|
||||||
|
// As for now it is possibly to build up distribution from the tc-dist to crossdist
|
||||||
|
// by request of tests that need cross-targets or platform libs. It may create undesired
|
||||||
|
// issues with overwriting the file being used by the concurrent build/test.
|
||||||
|
// This building (by request) should be turned off when this to-do is fixed.
|
||||||
|
// if (target != hostName) {
|
||||||
|
// dependsOn ":kotlin-native:${hostName}CrossDistStdlib"
|
||||||
|
// }
|
||||||
|
|
||||||
destinationDir project.file("$distDir/$stdlib")
|
destinationDir project.file("$distDir/$stdlib")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user