-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Skip irrelevant submodules when building on Arch #817
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
Conversation
v0.15.0 resubmit
v0.15.0 resubmit
v0.15.0 resubmit
The ffmpeg submodules are quite large, so pulling them in when building on Arch adds some unnecessary extra time to the build. When building on Arch, we're only interested in `ffpmeg-linux-x86_64` and the others are not used at all. Arguably we could conditionally pull `ffpmeg-linux-aarch64` instead of its x86_64 counterpart when building for / on aarch64, but because `arch` doesn't specify aarch64 as a valid architecture for this package, there's no real need.
Your PR was set to |
Thank you for your submission.
I was planning to enable this for aarch64, but as far as I could find all the dependencies are not available for arm64. Perhaps I am searching wrong, but when I search for In fact, arm64/aarch64 is not even listed as a possible architecture. |
Strictly speaking, Arch only supports x86_64 and so they don't list alternative architectures on the official AUR. The Nothing stops you from defining i686 and/or aarch64 in |
Okay, would you mind making the adjustment, as well as adding |
@ReenigneArcher Sure, although you may want to remove i686 altogether, there only seems to be x86_64 and aarch64 ffpmeg submodules so sunshine may not build in i686 at all. |
The default behaviour will pull all submodules, because honestly it'd be impressive if someone got that far at all!
That's fine with me as well. |
You have most commands in the if/else block repeating for every branch. All of this could simply be outside the if block:
|
@KuleRucket then it would grab non architecture specific submodules in all cases. |
The final commit is OK. I was looking at the one before that had the same in the else block. |
Description
The ffmpeg submodules are quite large, so pulling them in when building on Arch adds some unnecessary extra time to the build. When building on Arch, we're only interested in
ffpmeg-linux-x86_64
and the others are not used at all.Arguably we could conditionally pull
ffpmeg-linux-aarch64
instead of its x86_64 counterpart when building for / on aarch64, but becausearch
doesn't specify aarch64 as a valid architecture for this package, there's no real need.Screenshot
N/A
Issues Fixed or Closed
N/A
Type of Change
.github/...
)Checklist
Branch Updates
LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.