mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
fix(ghostscript) (#3936)
* fix(ghostscript) closes #3920 * linux-aarch64 doesn't like -mfpu=neon * configure too
This commit is contained in:
parent
49deae89c5
commit
2ced37bd77
1 changed files with 7 additions and 0 deletions
|
@ -31,10 +31,17 @@ build:
|
||||||
script:
|
script:
|
||||||
- rm -rf expat freetype jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib
|
- rm -rf expat freetype jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib
|
||||||
# ^^ ensure our libs are used and nothing is vendored
|
# ^^ ensure our libs are used and nothing is vendored
|
||||||
|
- run: |
|
||||||
|
sed -i.bak -e's/-mfpu=neon//g' tesseract/CMakeLists.txt tesseract/configure.ac configure.ac configure
|
||||||
|
rm tesseract/CMakeLists.txt.bak tesseract/configure.ac.bak configure.ac.bak configure.bak
|
||||||
|
if: linux/aarch64
|
||||||
- ./configure $ARGS
|
- ./configure $ARGS
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install
|
||||||
- make install-so
|
- make install-so
|
||||||
env:
|
env:
|
||||||
|
CC: clang
|
||||||
|
CXX: clang++
|
||||||
|
LD: clang
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --disable-compile-inits
|
- --disable-compile-inits
|
||||||
|
|
Loading…
Reference in a new issue