-
-
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
Framework: enhance unsupported archs handling #5383
Conversation
- remove unsupported archs from generic archs in arch list of spk packages - introduce Makefile variable UNSUPPORTED_ARCHS_TCVERSION to define arch-tcversion tuples as unsupported - define DOTNET_UNSUPPORTED_ARCHS to be used in packages depending on dotnet
@th0ma7, @publicarray your opinions are welcome. |
I wanted to do almost exactly that for ffmpeg a while ago. The slight difference being that the intent was to, similar to this, 1) filter out or in specific archs from generic archs (like older or newer from x86_64 archs) so i can then 2) generate individual arch specific packages with needed optimizations (or to the contrary without any). So the view was not to mark as unsupported but rather only to make sure arch abc is not part of generic arch xyz when uploading online, allowing me to generate and upload individual arch specific packages without conflicting at upload time. So with this in mind the tiny twist i would suggest is renaming the variable to something like FILTER_OUT_FROM_SPK (and optionally also allow FILTER_IN_FROM_SPK) and then not be blocking from manually building filtered individual archs. Just my two cents, cheers! |
This is a different approach and there is nothing to rename. A variable like A variable like Further more we must ensure that each arch is only in one package (per revision) otherwise it is not possible to uploaded to the repository. |
- document most of the variables - introduce variable REMOVE_FROM_GENERIC_ARCHS - enable overwrite of SPK_NAME_ARCH to customize spk file name - remove obsolete variable ADDITIONAL_SCRIPTS (undocumented and unused) - add WIZARD_FILE_NAMES as list of wizard file names - avoid duplicates in wizards target
@th0ma7 first step: I have introduced variable |
- use SPK_PACKAGE_ARCHS to explicitly set the archs in the spk file
@th0ma7 finally added |
That's awesome, good job! |
I postpone documentation of |
Description
While working on another package using dotnet (ombi) this is intended to remove specific archs from generic archs.
i.e. remove unsupported armv7 archs from packages built for armv7.
Related issues:
Type of change