[K/N][build] Split stdlib and endorsed libraries build and caching
Due to the usage of dist as an input and output at the same time by different tasks Gradle issued warning about Execution optimizations turning off. The fix is to split inputs and outputs in the build and cache tasks of stdlib and endorsed libs.
This commit is contained in:
+1
-1
@@ -341,7 +341,7 @@ fun parseBitcodeFile(path: String): LLVMModuleRef = memScoped {
|
||||
|
||||
val res = LLVMCreateMemoryBufferWithContentsOfFile(path, bufRef.ptr, errorRef.ptr)
|
||||
if (res != 0) {
|
||||
throw Error(errorRef.value?.toKString())
|
||||
throw Error("Error parsing file $path : ${errorRef.value?.toKString()}")
|
||||
}
|
||||
|
||||
val memoryBuffer = bufRef.value
|
||||
|
||||
Reference in New Issue
Block a user