-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Use only aomenc and dav1d AVIF codecs to decrease wheel size #8858
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
Open
fdintino
wants to merge
23
commits into
python-pillow:main
Choose a base branch
from
fdintino:chore/remove-rav1e
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
8b4e66e
fix(avif): use only aomenc and dav1d to reduce wheel size
fdintino a2cbce7
Include comment about CONFIG_AV1_DECODER=0
fdintino 84485e1
s/AVIF/AV1/
fdintino ab55e54
remove ENABLE_NASM and CMAKE_MODULE_PATH libavif cmake args
fdintino 8a6e5af
Remove rust installation via rustup, which is no longer needed
fdintino deb1c9d
Build libavif with -Os and with LTO enabled
fdintino 6d7f396
Do not install perl (#35)
radarhere 7aca46c
Do not disable CMAKE_MACOSX_RPATH (#36)
radarhere 8bc14e2
Update .github/workflows/wheels-dependencies.sh
fdintino 621bcd5
Removed CMAKE_INTERPROCEDURAL_OPTIMIZATION (#37)
radarhere 1c40ea5
Re-add CMAKE_INTERPROCEDURAL_OPTIMIZATION=ON on windows
fdintino 331354a
only disable CMAKE_INTERPROCEDURAL_OPTIMIZATION on macOS
fdintino 8cac43f
Use elif
radarhere ce01f19
Merge branch 'main' into chore/remove-rav1e
radarhere 8ab93db
Disable AOM high-bit-depth support
fdintino a005e28
Use CMAKE_BUILD_TYPE=MinSizeRel on aarch64 manylinux2014
fdintino 6c918a0
use alternative mirror for nasm, since nasm.us is down
fdintino 5573242
Further reduce size (LTO on macOS, more aggressive symbol stripping)
fdintino 8a174f5
Revert "use alternative mirror for nasm, since nasm.us is down"
fdintino f40eed2
Merge branch 'main' into chore/remove-rav1e
radarhere 8905480
Set CMAKE_POLICY_VERSION_MINIMUM=3.9 to allow IPO with gcc
fdintino f20ce67
bump libavif to 1.3.0
fdintino 5a8313c
Remove -DCMAKE_POLICY_VERSION_MINIMUM=3.5 from build_prepare
fdintino File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fyi, if the nasm.us outage is temporary, then the presence of https://github.com/python-pillow/pillow-depends/blob/main/nasm-2.16.03.tar.gz should allow this to continue working until it comes back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure it's temporary, since it's been down now for nearly a week. But I had forgotten about the pillow-depends backup. I've reverted this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://en.wikipedia.org/wiki/Netwide_Assembler also points to https://github.com/netwide-assembler/nasm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked into that. The source tarballs on nasm.us have the autotools artifacts included. So we couldn't just swap out with a GitHub tag archive here, as we would need to update this script to call autogen.sh. Not an insurmountable obstacle, but it couldn't use the
build_simple
bash function from multibuild.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nasm.us is back now.