Search Criteria
Package Details: libjxl-git 0.11.0.r55.g8da7c884-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/libjxl-git.git (read-only, click to copy) |
---|---|
Package Base: | libjxl-git |
Description: | JPEG XL image format reference implementation (git version) |
Upstream URL: | https://jpeg.org/jpegxl/ |
Keywords: | jpeg-xl |
Licenses: | BSD-3-Clause |
Conflicts: | libjpeg-xl-git, libjxl |
Provides: | libjpeg-xl-git, libjxl, libjxl.so, libjxl_threads.so |
Replaces: | libjpeg-xl-git |
Submitter: | dbermond |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 15 |
Popularity: | 0.68 |
First Submitted: | 2021-06-02 18:30 (UTC) |
Last Updated: | 2024-11-09 22:47 (UTC) |
Dependencies (26)
- brotli (brotli-gitAUR)
- giflib (giflib-gitAUR)
- gperftools (gperftools-gitAUR)
- highway (highway-gitAUR)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- asciidoc (asciidoc-gitAUR) (make)
- brotli (brotli-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- doxygen (doxygen-gitAUR, doxygen-yapAUR) (make)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR) (make)
- giflib (giflib-gitAUR) (make)
- gimp (gimp-develAUR, gimp-devel-noconflictAUR, gimp-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gperftools (gperftools-gitAUR) (make)
- graphviz (make)
- gtest (googletest-gitAUR) (make)
- highway (highway-gitAUR) (make)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR) (make)
- Show 6 more dependencies...
Required by (87)
- ansel-git (requires libjxl)
- art-rawconverter-imageio (requires libjxl)
- chafa-git (requires libjxl)
- darktable-git (requires libjxl)
- dlib (requires libjxl)
- dlib-cuda (requires libjxl) (optional)
- dlib-cuda-git (requires libjxl)
- dlib-git (requires libjxl)
- fcsolid-backgrounds (requires libjxl)
- ffmpeg-amd-full (requires libjxl)
- ffmpeg-amd-full-git (requires libjxl)
- ffmpeg-cuda (requires libjxl)
- ffmpeg-decklink (requires libjxl)
- ffmpeg-ffplayout (requires libjxl.so)
- ffmpeg-ffplayout (requires libjxl)
- ffmpeg-full (requires libjxl)
- ffmpeg-full-git (requires libjxl)
- ffmpeg-git (requires libjxl)
- ffmpeg-headless (requires libjxl)
- ffmpeg-headless (requires libjxl.so)
- Show 67 more...
Sources (11)
- git+https://github.com/glennrp/libpng.git
- git+https://github.com/google/brotli.git
- git+https://github.com/google/googletest.git
- git+https://github.com/google/highway.git
- git+https://github.com/libjpeg-turbo/libjpeg-turbo.git
- git+https://github.com/libjxl/libjxl.git
- git+https://github.com/madler/zlib.git
- git+https://github.com/mm2/Little-CMS.git
- git+https://github.com/webmproject/sjpeg.git
- git+https://skia.googlesource.com/skcms.git
- libjxl-testdata
Latest Comments
« First ‹ Previous 1 .. 8 9 10 11 12 13
dbermond commented on 2020-03-03 01:50 (UTC)
@RubenKelevra I've fixed the avx2 patch, so that the package now builds when using the default generic architecture. Thanks for reporting this.
Still requires sse4 at runtime of course.
dbermond commented on 2020-03-03 01:28 (UTC)
@RubenKelevra There is no auto switch, as it should not be this way. Users wanting avx2 support should manually disable the corresponding patch on the PKGBUILD.
PKGBUILDs are not supposed to be like the way you suggested. There should not be exit calls based on hardware, and neither automatic patch file deletion.
RubenKelevra commented on 2020-03-02 20:58 (UTC)
You could just add something like this to your prepare script, to avoid even trying to compile the package with a CPU not able to handle sse4.
And to readd avx2 support dynamically if the CPU supports it.
RubenKelevra commented on 2020-03-02 20:47 (UTC) (edited on 2020-03-02 20:48 (UTC) by RubenKelevra)
Alright, I figured out what's going wrong on the second machine (which got AVX2).
The machine has the default arch settings for c/cpp compiler for the target set, which is just
-march=x86_64
and-mtune=generic
.This package requires that
-march
is set to native and-mtune
can be deleted.This obviously makes more sense on package level, where you would need to overwrite the CFLAGS/CXXFLAGS accordingly.
RubenKelevra commented on 2020-03-02 19:35 (UTC)
@dbermond thanks!
SSE4 is extremely common in processors deployed in the field, but avx2 is not, since many SSE4 processors have still not reached their end of service life to be replaced by something new.
Is the switch dynamic? (Haven't looked at the pkgbuild) since avx2 capable processors should be able to use avx2, since it makes a huge difference.
dbermond commented on 2020-03-02 01:15 (UTC)
@RubenKelevra Thanks for appreciating this package. Regarding the errors, I cannot reproduce them. Package is building fine for me.
I've disabled avx2 support and it should now work in older cpus. Please note that upstream states that it needs the sse4 instruction set, so this will not run in a generic x86_64 cpu which lacks sse4.
RubenKelevra commented on 2020-02-26 19:55 (UTC)
I tried it on a different machine, which got an older processor. Looks like this processor isn't supported :/
https://pastebin.com/4UqWGh3B
Is there a chance that you add the ability to select at build time if the CPU can run AVX2 and patch the file according to documentation?
RubenKelevra commented on 2020-02-26 16:50 (UTC)
Thanks for this package!
Tried to compile it and run into an error:
https://pastebin.com/LY0Qw4KM
« First ‹ Previous 1 .. 8 9 10 11 12 13