Closed typelogic closed 3 years ago
Current findings is that the cloning speed can be significantly improved by the reduction of the size in the dependencies/build/
folder from 700MB to 0MB by performing the needed platform cross-compilation locally. However, the disadvantage is that the CircleCI build time will now take longer as it will also rebuild the dependencies (libsodium, dlib, protobuf) from source when building libidpasslite.so
during each CI run.
Instead of completely removing dependencies/build/
folder, retain the dependencies/build/desktop/
folder in order to not affect CircleCI duration.
The size breakdown for each folder is:
dependencies/build/arm64-v8a
157Mdependencies/build/armeabi-v7a
150Mdependencies/build/desktop
120Mdependencies/build/x86
136Mdependencies/build/x86_64
163MWill close this issue, together with https://github.com/idpass/idpass-lite/issues/18
The improvement of the cloning speed build scripts changes also included the build script changes to cover a MacOS build. In summary, the libidpasslite.dylib
dynamic library has been built for the following platforms:
Current Behaviour
Cloning takes time due to huge size of
dependencies
folder holding the prebuilt files that was generated during the cross-compile phase for Android.Expected Behaviour
A
git clone
should not take too long.Steps to Reproduce the Problem
Context
Cloning the
idpass-lite
repo from the command line