fix(ghostscript) (#3936)

* fix(ghostscript)

closes #3920

* linux-aarch64 doesn't like -mfpu=neon

* configure too
This commit is contained in:
Jacob Heider 2023-11-02 20:21:08 -04:00 committed by GitHub
parent 49deae89c5
commit 2ced37bd77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,10 +31,17 @@ build:
script:
- rm -rf expat freetype jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib
# ^^ 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
- make --jobs {{ hw.concurrency }} install
- make install-so
env:
CC: clang
CXX: clang++
LD: clang
ARGS:
- --prefix="{{prefix}}"
- --disable-compile-inits