-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
make all-supported and all-default #4200
Conversation
@hgy59 in reference to our chat on PR #4195 in particular #4195 (comment) I believe |
I don't really like additional all-* targets. It should be as simple as And don't forget the To solve this, we must consider (and evaluate) the correlations of TC version and os_min_ver and whether these are specefic for the packages to build. |
It never totally did, for instance the
This is exactly the intent of this PR:
This PR currently does not try to address this but rather only bring back the previous output of If I follow you correctly, perhaps related to this there was the DSM vs SRM issue related to minimum version that does not really work currently (old thread reference #3917 (comment))? And lastly, as far as |
@th0ma7 what about usage of generic archs - at least for This will reduce the number of packages: to have only |
@th0ma7 What about renaming |
@hgy59 good ideas!
|
I think that @ymartin59 uses the generic x64-6.1, aarch64-6.1 and armv7-6.1 to publish packages. |
I found out something rather interesting where the @hgy59 this should be closer to what you were expecting and following @ymartin59 update policy. Note that I did includ additional targets in |
@hgy59 and @ymartin59 I finally manage to add the last remaining bit I wanted on this PR - parallelization! I've revamped the code for There is a major bunch of packages to be published post-PR #4155 and I believe this last addition will be quite useful. Things look really good from my testing but I would really much appreciate if you could test the code before merging in order to shake any remaining bugs. And yes, one odd expected behavior which always existed is the |
I ended figuring out a way to manage concurrent |
There is still one special case to handle that I'd like to work on on a subsequent PR: |
It took me quite a few trial & errors but I managed to find a way to force to serialize "native" then parallelize arch* builds. |
Current behaviour is broken and all-default better fit the intent
* mk: Bump legacy archs from 4.3 to 5.2 * mk: Force all-supported to match expected supported arches * mk: Revamp creation of supported, legacy archs lists * toolchains: Missing 88f6281 and aarch64 DSM 6.2 and 6.2.2 targets * mk: Include SRM-1.1 into all-legacy targets * kernel: Add DSM-6.2 and 6.2.2 kernels for 88f6281 arch * toolchain: Add ARMv7 for DSMi-6.2 and DSM-6.2.2 * spk.mk: make all-supported and latest are now parallel * download.mk: use flock for concurrent wget for parallel builds * spk.mk: Force building native in serial mode first then parallel * tc.mk: Set TC_OS_MIN_VER and avoid TC_FIRMWARE (from @hgy59) * tc.mk: Add DSM-6.2.3 build number 25423 * tc.mk: If TC_FIRMWARE is unset use TC_OS_MIN_VER
Motivation: With the addition of all latest toolchains the
make all-supported
behavior expects to always use latest available version available for all targets. This PR propose the following changes:all-supported
uses DSM-6.1all-supported
to be enhanced with additional specific targets we intend to supportall-default
which always use the latest version availableall-archs-latest
as currently broken and now superseded byall-default
Linked PR: #4195
Checklist
all-supported
completed successfullyall-default
completed successfullyall-legacy
completed successfullyLatest targets uses latest version available:
Latest targets when using GO environment:
Legacy targets now uses DSM-5.2 + SRM-1.1 by default:
Supported targets uses DSM-6.1 by default with extras for hardware acceleration purpose (apollolake, purley, geminilake):
Supported targets when using GO environment: