You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
improve: use all threads for compiling (#118)
This commit speeds up the build process by almost 50% when building with github actions by using all system threads to compile ReZygisk.
This commit is contained in:
@@ -56,6 +56,7 @@ android {
|
|||||||
externalNativeBuild.cmake {
|
externalNativeBuild.cmake {
|
||||||
arguments += "-DANDROID_STL=none"
|
arguments += "-DANDROID_STL=none"
|
||||||
arguments += "-DLSPLT_STANDALONE=ON"
|
arguments += "-DLSPLT_STANDALONE=ON"
|
||||||
|
arguments += "-DCMAKE_BUILD_PARALLEL_LEVEL=${Runtime.getRuntime().availableProcessors()}"
|
||||||
cFlags("-std=c18", *defaultCFlags)
|
cFlags("-std=c18", *defaultCFlags)
|
||||||
cppFlags("-std=c++20", *defaultCFlags)
|
cppFlags("-std=c++20", *defaultCFlags)
|
||||||
ccachePath?.let {
|
ccachePath?.let {
|
||||||
|
|||||||
Reference in New Issue
Block a user