I'm currently trying to build tesseract 5.0 without architecture specific optimizations (AVX etc) using VS 2019 and CMake as the binary needs to be able to run on older hardware than the machine building tesseract. In the past this was accomplished by using the -DAUTO_OPTIMIZE=OFF (https://github.com/tesseract-ocr/tesseract/issues/2674#issuecomment-536186517) however this was removed in commit 33f1e13 and as far as I can tell will result in library being compiled with all the optimizations available (i.e. will be compiled with the /arch:AVX).Is there some other way of disabling this or am I missing something?Note unfortunately I don't have an older machine available that doesn't support these instruction sets so can't easily test if the generated executable does indeed work on them.
--
You received this message because you are subscribed to the Google Groups "tesseract-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-dev/9a2cf9e5-18e3-48d1-ac41-1d3133189c50n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "tesseract-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-dev/hyIG9xxL820/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-dev/CAJbzG8yXH0ChghvGjeSYzSsa%2B8DQbHrVg0zEfkOp1U4sRHtDBA%40mail.gmail.com.