[K/N][build] Move stdlib bitcode copy to runtime

This commit is contained in:
Pavel Punegov
2021-10-18 22:52:39 +03:00
committed by Space
parent eb5518d6d7
commit c1ad88f1a6
2 changed files with 6 additions and 13 deletions
+5
View File
@@ -451,7 +451,12 @@ targetList.forEach { targetName ->
dependsOn("${targetName}Runtime")
destinationDir = project.buildDir.resolve("${targetName}Stdlib")
from(project.buildDir.resolve("stdlib/${hostName}/stdlib"))
from(project.buildDir.resolve("bitcode/main/$targetName")) {
include("runtime.bc")
into("default/targets/$targetName/native")
}
if (targetName != hostName) {
doLast {