[gradle-native-plugin] Build static caches instead of dynamic
This commit is contained in:
+2
-2
@@ -728,7 +728,7 @@ class CacheBuilder(val project: Project, val binary: NativeBinary) {
|
|||||||
for (library in sortedLibraries) {
|
for (library in sortedLibraries) {
|
||||||
project.logger.info("Compiling ${library.uniqueName} to cache")
|
project.logger.info("Compiling ${library.uniqueName} to cache")
|
||||||
val args = mutableListOf(
|
val args = mutableListOf(
|
||||||
"-p", "dynamic_cache",
|
"-p", "static_cache",
|
||||||
"-target", target
|
"-target", target
|
||||||
)
|
)
|
||||||
if (debuggable)
|
if (debuggable)
|
||||||
@@ -769,7 +769,7 @@ class CacheBuilder(val project: Project, val binary: NativeBinary) {
|
|||||||
ensureCompilerProvidedLibPrecached(dependency.path, platformLibs, visitedLibs)
|
ensureCompilerProvidedLibPrecached(dependency.path, platformLibs, visitedLibs)
|
||||||
project.logger.info("Compiling $platformLibName (${visitedLibs.size}/${platformLibs.size}) to cache")
|
project.logger.info("Compiling $platformLibName (${visitedLibs.size}/${platformLibs.size}) to cache")
|
||||||
val args = mutableListOf(
|
val args = mutableListOf(
|
||||||
"-p", "dynamic_cache",
|
"-p", "static_cache",
|
||||||
"-target", target
|
"-target", target
|
||||||
)
|
)
|
||||||
if (debuggable)
|
if (debuggable)
|
||||||
|
|||||||
Reference in New Issue
Block a user