-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for arm64 and update mozjpeg 4.1.3 (#80)
* Add support for arm64 and update mozjpeg 4.1.3 Windows building is broken. It has to be fixed. I recommend using vcpkg. Mac Os X arm64 binary should be change to real arm64 binary. I don't own mac, but everything builds correctly. * Add paths for cjpeg for 32-bit and 64-bit windows
- Loading branch information
1 parent
c72b1f5
commit c0587fb
Showing
15 changed files
with
94 additions
and
52 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
FROM debian:10-slim | ||
FROM debian:12-slim | ||
|
||
RUN apt-get update \ | ||
&& apt-get install autoconf libtool nasm libpng-dev automake pkg-config build-essential wget \ | ||
&& apt-get install cmake libtool nasm libpng-dev pkg-config build-essential wget \ | ||
-yq --no-install-suggests --no-install-recommends --force-yes | ||
|
||
WORKDIR /src | ||
RUN wget --no-check-certificate https://github.com/mozilla/mozjpeg/archive/v3.3.1.tar.gz -O mozjpeg-3.3.1.tar.gz | ||
RUN tar -xzvf mozjpeg-3.3.1.tar.gz | ||
WORKDIR /src/mozjpeg-3.3.1 | ||
RUN wget --no-check-certificate https://github.com/mozilla/mozjpeg/archive/v4.1.3.tar.gz -O mozjpeg-4.1.3.tar.gz | ||
RUN tar -xzvf mozjpeg-4.1.3.tar.gz | ||
WORKDIR /src/mozjpeg-4.1.3 | ||
|
||
RUN autoreconf -fiv \ | ||
&& ./configure LDFLAGS=-static libpng_LIBS='/usr/lib/x86_64-linux-gnu/libpng16.a -lz' --enable-static --disable-shared \ | ||
&& make -j8 | ||
RUN mkdir result && cd result && \ | ||
cmake .. \ | ||
&& cmake --build . |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
c0587fb
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.
Any date on when this will be released?