[K/N] Move runtime bitcode files out of stdlib
Native bitcode files were moved out of the stdlib to the default location of bitcode files in the dist. Now it is possible to build stdlib separately and once as a klib without bitcode files inside.
This commit is contained in:
committed by
Space Team
parent
599998039e
commit
2d2714c8de
@@ -579,15 +579,6 @@ targetList.forEach { targetName ->
|
||||
into(project.layout.buildDirectory.dir("${targetName}Stdlib"))
|
||||
|
||||
from(project.layout.buildDirectory.dir("stdlib/${hostName}/stdlib"))
|
||||
val runtimeFiles = runtimeBitcode.incoming.artifactView {
|
||||
attributes {
|
||||
attribute(TargetWithSanitizer.TARGET_ATTRIBUTE, project.platformManager.targetByName(targetName).withSanitizer())
|
||||
}
|
||||
}.files
|
||||
from(runtimeFiles) {
|
||||
include("runtime.bc", "compiler_interface.bc")
|
||||
into("default/targets/$targetName/native")
|
||||
}
|
||||
|
||||
if (targetName != hostName) {
|
||||
doLast {
|
||||
|
||||
Reference in New Issue
Block a user