[K/N][runtime] Extracted compiler interface from native runtime

This commit is contained in:
Igor Chevdar
2022-08-30 11:48:26 +03:00
committed by Space
parent b8bf82114b
commit 44010a04b1
18 changed files with 391 additions and 261 deletions
+5 -1
View File
@@ -113,6 +113,10 @@ bitcode {
onlyIf { targetSupportsLibBacktrace(target.name) }
}
module("compiler_interface") {
headersDirs.from(files("src/main/cpp"))
}
module("launcher") {
headersDirs.from(files("src/main/cpp"))
}
@@ -344,7 +348,7 @@ targetList.forEach { targetName ->
from(project.buildDir.resolve("stdlib/${hostName}/stdlib"))
from(project.buildDir.resolve("bitcode/main/$targetName")) {
include("runtime.bc")
include("runtime.bc", "compiler_interface.bc")
into("default/targets/$targetName/native")
}