Skip to content

Commit

Permalink
Fix AMD64 detection with autobuild on FreeBSD (#3964)
Browse files Browse the repository at this point in the history
Tesseract for FreeBSD was built without support for SSE4.1, AVX,
AVX2 or FMA because it uses a different value for `host_cpu`.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Nov 14, 2022
1 parent 8f4aae7 commit adbefa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ AM_CONDITIONAL([HAVE_NEON], false)

case "${host_cpu}" in

*86*)
amd64|*86*)

AX_CHECK_COMPILE_FLAG([-mavx], [avx=true], [avx=false], [$WERROR])
AM_CONDITIONAL([HAVE_AVX], ${avx})
Expand Down

0 comments on commit adbefa8

Please sign in to comment.