Stefan Weil
5884036ecd
Don't use compiler flags -march=native -mtune=native in autoconf builds
...
Using those flags is not acceptable for Linux distributions
because the resulting code then depends on the build
infrastructure, so the build result is not deterministic.
It is still possible to use those compiler flags by specifying
CXXFLAGS.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-11-11 12:29:51 +01:00
Amit D
b77009bd59
configure.ac: Update minimum required autoconf version to 2.69
...
This version was released in April 2012.
It is supported by old Linux distros like RHEL/CentOS 7, SLES 12 and Ubuntu 14.04.
2021-11-02 15:49:46 +02:00
Stefan Weil
104ef8f30e
Move src/api/tesseractmain.cpp to src/tesseract.cpp
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-10-31 21:43:30 +01:00
Stefan Weil
8b6390846e
Create new release 5.0.0-rc1
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-10-29 22:32:11 +02:00
Stefan Weil
676b86be4d
Fix automake warning because of redefined DEFAULT_INCLUDES
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-10-28 22:14:06 +02:00
Stefan Weil
282685d531
Enable fast float32 LSTM by default
...
It is still possible to build Tesseract with double LSTM:
# autoconf
./configure --disable-float32
# cmake
cmake .. -DFAST_FLOAT=ON
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-10-27 18:37:27 +02:00
Stefan Weil
571a8fe1d7
autotools: Use AM_LDFLAGS for framework Accelerate
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-10-06 07:40:54 +02:00
Stefan Weil
f9d17598a8
Make automake builds less noisy by default
...
The old commit only silenced parts of the build,
while the new one silences the whole build.
Fixes: 47af1282f4
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-09-24 15:21:26 +02:00
Stefan Weil
75f167ac8c
Create new pre-release 5.0.0-beta-20210916
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-09-16 06:35:29 +02:00
Stefan Weil
547164edae
Create new pre-release 5.0.0-beta-20210815
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-08-15 17:07:11 +02:00
Stefan Weil
0d0f203509
Add new configure option --enable-float32 for faster LSTM with float
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-07-29 06:49:08 +02:00
Stefan Weil
3ab8dcbf72
Use Apple Accelerate framework for training and best models
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-07-20 19:27:54 +02:00
Stefan Weil
f0fb6809e3
Use SIMD instructions for DotProductNative
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-07-14 19:13:01 +02:00
Amit Dovev
8615f65cc4
Raise Minimum required Pango version to 1.38.0
2021-05-21 19:56:37 +03:00
Stefan Weil
bf3421ff12
Fix autoconf build for latest MacOS (Intel and M1)
...
On latest MacOS 11.3 the system header file "ostream" includes a file
named "version".
The macro DEFAULT_INCLUDES adds the source root to the list of include
directories by default. As MacOS uses a case insensitive file system,
the compiler finds and includes the file "VERSION" there which causes
compiler errors and a failing build process.
Setting an empty DEFAULT_INCLUDES fixes that, but requires moving
config_auto.h to another directory in the include search path.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-05-13 17:22:58 +02:00
Stefan Weil
6c7df2acf3
Fix warning from autoconf
...
autoconf reported this warning:
configure.ac:263: warning: AC_CHECK_HEADERS("tensorflow/core/framework/graph.pb.h"): you should use literals
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-05-13 12:57:20 +02:00
Uwe Hartwig
930c909db5
[doc][fix] typo libicu-devel
2021-04-30 13:01:32 +02:00
Stefan Weil
b7e8134dea
Update URLs for Google groups
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-04-11 10:43:28 +02:00
Stefan Weil
bfe1616b4e
Create new pre-release 5.0.0-alpha-20210401
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-04-01 21:41:15 +02:00
Stefan Weil
fc00834920
autobuild: Require C++17
...
This completes commit 73a325494e
.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-11 21:57:02 +01:00
Stefan Weil
58304cbfdd
Don't compile OpenCL code when OpenCL is disabled
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-26 15:40:23 +01:00
Egor Pugin
b030b03e0d
Update configure.ac
2021-02-24 01:09:44 +03:00
Egor Pugin
90afdef30d
Merge pull request #3162 from xloem/android
...
Specify ADD_RT for android platform, which embeds librt in libc
2021-02-24 00:22:17 +03:00
Stefan Weil
b091b09b4f
Fix default value for --enable-doc
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-13 10:05:42 +01:00
Stefan Weil
a20036622e
Fix default value for --with-archive and --with-curl
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-11 23:15:35 +01:00
Stefan Weil
ddc36722b2
configure: Sort AC_ARG_WITH to get better help text
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-11 07:25:49 +01:00
Stefan Weil
974e396542
Add configure option --disable-doc (default: check)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-11 07:16:54 +01:00
Stefan Weil
2ba3f69667
Add configure option --with-curl (check for libcurl by default)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-10 22:56:51 +01:00
Stefan Weil
f1b9e326d0
Add configure option --with-archive (check for libarchive by default)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-10 22:56:27 +01:00
Stefan Weil
971c6e6d6b
automake: Flat build for unittest
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-24 18:21:37 +01:00
Stefan Weil
59305028e5
Remove unused conditional OSX
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-20 15:11:41 +01:00
Stefan Weil
e1b9f1b446
automake: Flat build for doc
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-11 21:58:45 +01:00
Stefan Weil
e1f1f325f7
Fix brew check for GitHub actions
...
Don't abort if a brew catalog file is missing.
This is needed for the GitHub actions environment
which provides brew also for Linux.
Running cross builds then failed at AC_CHECK_FILE.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-06 14:01:06 +01:00
Stefan Weil
ca114ace38
Create new pre-release 5.0.0-alpha-20201231
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-31 19:45:10 +01:00
Stefan Weil
5ca4e0062d
Create new pre-release 5.0.0-alpha-20201224
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-24 09:17:12 +01:00
Stefan Weil
d13e08bd85
Fix configure for flat training build without asciidoc
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-21 19:32:35 +01:00
Stefan Weil
57efa41d47
Add XML_CATALOG_FILES for MacOS with Homebrew ( #3188 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-21 16:39:32 +01:00
Stefan Weil
3efedabda3
automake: Flat build for src/training
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-19 15:25:21 +01:00
0xloem
fed6603a77
Specify ADD_RT for android platform, which embeds librt in libc
2020-11-28 14:39:46 -05:00
Stefan Weil
2db2223b39
Always use NEON by default for ARMv8
...
Signed-off-by: Stefan Weil <stefan.weil@bib.uni-mannheim.de>
2020-07-10 15:27:09 +02:00
Stefan Weil
bf39019d95
Remove obsolescent macro AC_HEADER_STDC
...
See
https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Particular-Headers.html .
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-21 18:50:06 +02:00
Stefan Weil
27b254476f
Remove obsolescent macro AC_HEADER_TIME
...
See
https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Particular-Headers.html .
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-21 18:48:20 +02:00
Stefan Weil
0a63484644
Remove checks for unused types off_t, mbstate_t, _Bool
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-21 12:04:16 +02:00
Stefan Weil
958b90d785
Don't check for unused sys/wait.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 11:01:20 +02:00
Stefan Weil
a1aea84a27
Don't check for unused sys/shm.h and sys/ipc.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:59:54 +02:00
Stefan Weil
fd30c86674
Remove endianness test (WORDS_BIGENDIAN is unused)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:47:00 +02:00
Stefan Weil
c1494fb710
Don't check for stdbool.h (only used in capi.h)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:42:28 +02:00
Stefan Weil
d4cf77c92b
Don't check for limits.h (now unused)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:39:13 +02:00
Stefan Weil
a1d161326e
Don't check for unused malloc.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-19 07:30:00 +02:00
Stefan Weil
ff0a7a38f7
Check compiler options depending on host cpu
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-05-27 06:52:36 +02:00