diff options
| author | Sergey V. Lobanov <sergey@lobanov.in> | 2022-02-08 02:22:11 +0300 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2022-02-07 21:26:12 -0800 |
| commit | d7f42a4c58674d5c0988dd676b16cebb4a127190 (patch) | |
| tree | 26aada79b1efee0e0d0a2d36071bb1682d87f5f6 /lang/python/python3/files/python3-package-dbm.mk | |
| parent | 4454f8bb3efb4353633e67fc4cfd38d15cf678f6 (diff) | |
tesseract: fix build on macos
tesseract build script checks /proc/cpuinfo file, but this file is
not exist or darwin. This check is used for getting optimized build
flags depends on CPU. This feature does not work in cross-compile
case and should be explicitly disabled.
This patch disables CPU detection using cmake option
BUILD_TRAINING_TOOLS=OFF.
Generated binaries (aarch64 target) are exactly the same on
Ubuntu 20.04 x86_64 and MacOS 11.6 arm64. Binaries generated on
Linux build host are not changed (the same checksums before and
after applying this patch).
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Diffstat (limited to 'lang/python/python3/files/python3-package-dbm.mk')
0 files changed, 0 insertions, 0 deletions
