[K/N][build] Add comment about dependency and cross build

This commit is contained in:
Pavel Punegov
2022-03-15 16:25:29 +03:00
committed by Space
parent ce5094e586
commit 5851f757f5
+8
View File
@@ -413,6 +413,14 @@ def endorsedLibsCopyTask = task("crossDistEndorsedLibrariesCopy", type: Copy) {
targetList.each { target ->
task("${target}CrossDistStdlib", type: Copy) {
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")