[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
@@ -90,10 +90,10 @@ class Distribution private constructor(private val serialized: Serialized) : jav
|
||||
|
||||
fun defaultNatives(target: KonanTarget) = "$konanHome/konan/targets/${target.visibleName}/native"
|
||||
|
||||
fun runtime(target: KonanTarget) = runtimeFileOverride ?: "$stdlibDefaultComponent/targets/${target.visibleName}/native/runtime.bc"
|
||||
fun runtime(target: KonanTarget) = runtimeFileOverride ?: "${defaultNatives(target)}/runtime.bc"
|
||||
|
||||
fun compilerInterface(target: KonanTarget) =
|
||||
runtimeFileOverride ?: "$stdlibDefaultComponent/targets/${target.visibleName}/native/compiler_interface.bc"
|
||||
runtimeFileOverride ?: "${defaultNatives(target)}/compiler_interface.bc"
|
||||
|
||||
fun platformDefs(target: KonanTarget) = "$konanHome/konan/platformDef/${target.visibleName}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user