-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
libjpeg-turbo: Support non-Altivec PowerPC #11625
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,6 +38,7 @@ checksums sha1 6bf63c869105d341011cd4915816de888338231a \ | |
| sha256 bef89803e506f27715c5627b1e3219c95b80fc31465d4452de2a909d382e4444 \ | ||
| size 2255497 | ||
|
|
||
| configure.args -DWITH_JPEG8=ON | ||
| if {![info exists universal_possible]} { | ||
| set universal_possible [expr {${os.universal_supported} && [llength ${configure.universal_archs}] >= 2}] | ||
| } | ||
|
|
@@ -50,8 +51,12 @@ if {${universal_possible} && [variant_isset universal]} { | |
| } elseif {${configure.build_arch} in {i386 x86_64}} { | ||
| depends_build-append port:nasm | ||
| configure.env ASM_NASM=${prefix}/bin/nasm | ||
| } elseif {${configure.build_arch} eq "ppc"} { | ||
| if {[catch {sysctl hw.vectorunit} result] || $result == 0} { | ||
| configure.args-append -DWITH_SIMD=OFF | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also needs to go in
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you clarify this comment or point me to an example?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure there is a reasonable strategy for adding this option in the universal case. If the host is i386 then the test will not produce a useful result. |
||
| archive_sites | ||
| } | ||
| } | ||
| configure.args -DWITH_JPEG8=1 | ||
|
|
||
| variant java description "Add Java support" { | ||
| PortGroup java 1.0 | ||
|
|
||
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.
This isn't correct if binary distribution can occur (the sysctl result on the build machine could easily be different to that on the host machine), but of course we don't build binaries for ppc. Someone else could though.
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 have added an
archive_sitesdirective so that G3s will not pull binary distributions.