-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add config option to disable certain target architectures #50
Comments
On iOS this is controlled by XCode build. For example during debug on XCode the "Build Active Architecture Only" option is usually set, in which case cargokit should only build one architecture. On android the target platforms being build are obtained from flutter plugin. I'm not sure if there is a way to adjust that. |
So, it is possible to disable certain arch in flutter android, android {
...
defaultConfig {
...
ndk {
abiFilters "armeabi-v7a", "arm64-v8a"
}
}
} cc: @knopp |
You can also skip the steps for building extra android architectures by updating
|
Currently, cargokit always builds for all supported architectures. For example, there are 3 targets for iOS and 4 targets for Android.
However, many devs test primarily on one device during development and only need to build for all architectures during release. This means that a lot of build time is wasted on architectures that the devs don't need, slowing down the development cycle.
It'd be great if devs can whitelist/blacklist target architectures in dev mode to cut down unnecessary build time.
The text was updated successfully, but these errors were encountered: