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
Egor Pugin
7b25f2f8bf
Merge pull request #3292 from stweil/master
...
Add new configure options --disable-doc, --with-archive and --with-curl
2021-02-11 11:40:27 +03: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
e6f15621c2
Remove Python training scripts which were moved to tesstrain
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-04 14:45:19 +01:00
Shree Devi Kumar
40f3c8d104
Change LATIN_FONTS to use replacement fonts from TeX Gyre collection
2021-02-04 13:51:03 +01:00
Egor Pugin
cefa3e7e7e
Merge pull request #3276 from Shreeshrii/travis
...
travis: export PKG_CONFIG_PATH for homebrew
2021-02-03 13:42:04 +03:00
Egor Pugin
bff87be625
Merge pull request #3279 from Shreeshrii/master
...
Add vcpkg build
2021-02-03 13:41:08 +03:00
Shree Devi Kumar
52dba02954
Add vcpkg build
2021-02-03 10:32:52 +00:00
Shree Devi Kumar
ac52eb3227
travis: export PKG_CONFIG_PATH for homebrew
...
travis: osx_image: xcode12.2
prefix
travis: move export under script, use brew --prefix
travis: change leptonica version to 1.80
travis: setup matrix for osx and linux
travis: remove brew update
travis: try to fix tiff linkage on osx
travis: add macos cache
2021-02-03 09:16:18 +00:00
Egor Pugin
10d91370d7
Merge pull request #3275 from Shreeshrii/ci
...
Improve cmake Github Actions workflow
2021-02-02 13:24:03 +03:00
Shree Devi Kumar
99840e220e
Improve cmake Github Actions workflow
2021-02-02 04:44:45 +00:00
Stefan Weil
4902e68682
cmake: Use pkg_config to find required libraries
...
This is needed for cmake builds on MacOS (Intel and Amd64) with Homebrew.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-31 17:23:06 +01:00
Stefan Weil
458af8b8d0
cmake: Don't try to set compile flags for NEON support for ARM64
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-31 16:54:17 +01:00
Stefan Weil
5d040f91a0
cmake: Activate NEON support for ARM64
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-31 16:32:24 +01:00
Egor Pugin
a06d961212
Merge pull request #3270 from Shatur95/fix-set-and-check
...
Use set instead of set_and_check
2021-01-31 15:41:37 +03:00
Shatur95
17dbbd65e2
Fix wrong include
2021-01-30 23:48:12 +02:00
Egor Pugin
c6539e21a0
Merge pull request #3268 from Shreeshrii/ci
...
Improve daily GitHub Action Workflows
2021-01-29 08:41:56 +03:00
Shree Devi Kumar
f818dc3d82
Improve daily GitHub Action Workflows
2021-01-29 05:07:43 +00:00
Stefan Weil
49865add30
Fix path for test-suite.log with flat unittest build in GitHub actions
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-27 09:06:38 +01:00
Stefan Weil
b3d48ea7b9
Fix build for flat unittest (CPPFLAGS for abseil and gtest)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-27 09:03:11 +01:00
Egor Pugin
d993277e26
Merge pull request #3265 from Shreeshrii/master
...
Add comments and modify Github Workflows
2021-01-26 20:28:25 +03:00
Egor Pugin
52538f75e2
Merge pull request #3264 from stweil/unittest
...
automake: Flat build for unittest
2021-01-26 20:27:42 +03:00
Shree Devi Kumar
c6430a2858
Add comments to Github Workflows
2021-01-26 17:02:54 +00:00
Stefan Weil
e999f421bc
Replace GenericVector<float> by std::vector<float> for class SimpleStats
...
This also fixes a runtime error:
src/ccutil/genericvector.h:228:11: runtime error:
null pointer passed as argument 1, which is declared to never be null
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-26 14:29:07 +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
Shree Devi Kumar
53e1ae9ebf
Fix Memory leak in ligature_table_test
2021-01-24 18:17:06 +01:00
Egor Pugin
462112d86a
Merge pull request #3259 from Shreeshrii/ci
...
Split Github Actions workflows
2021-01-24 15:11:25 +03:00
Shree Devi Kumar
1f21a86eb3
Split Github Actions workflows
2021-01-24 11:56:15 +00:00
Egor Pugin
04173d380d
Merge pull request #3257 from tesseract-ocr/ci
...
Daily Actions Workflow update
2021-01-23 22:53:43 +03:00
Shreeshrii
ad321d8184
Update dailyunittest.yml
2021-01-23 23:25:16 +05:30
Shreeshrii
d3be2edfed
Update dailycmake.yml
2021-01-23 23:24:07 +05:30
Stefan Weil
4b84a56d8d
Replace STRING by std::string for function read_unlv_file
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-23 17:46:12 +01:00
Stefan Weil
139d127ff7
Remove unneeded include statement for genericvector.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-23 17:29:57 +01:00
Stefan Weil
71fb535427
Remove unneeded include statement for strngs.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-23 17:29:57 +01:00
Stefan Weil
44fd1c4986
Wordrec: Modernize code
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-23 15:53:55 +01:00
Egor Pugin
f8173fb8d8
Merge pull request #3256 from stweil/mastertrainer_test
...
Fix memory leak in mastertrainer_test (fixes issue #3215 )
2021-01-23 17:27:29 +03:00
Stefan Weil
5a3d6e5e0d
Fix memory leak in mastertrainer_test (fixes issue #3215 )
...
The issue was introduced in commit 6e9456415
.
Partially reverting this commit fixes it.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-23 14:54:38 +01:00
Stefan Weil
e3fd938bca
lstmtrainer: Modernize code
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-22 08:17:19 +01:00
Stefan Weil
0cdaab5ac9
lstmtrainer: Remove unused local variable
...
This fixes a compiler warning:
src/training/unicharset/lstmtrainer.cpp:107:15: warning:
unused variable 'shape' [-Wunused-variable]
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-22 08:13:38 +01:00
Stefan Weil
3d47e0a91a
Replace GenericVector by std::vector in LoadFileLinesToStrings
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-22 08:13:38 +01:00
Shreeshrii
5d8594cd80
Reduce number of INFO messages from lstm_test ( #3250 )
2021-01-22 07:59:02 +01:00
Egor Pugin
8b7fdb75c8
Merge pull request #3252 from Shreeshrii/legacy
...
Replace deprecated INSTANTIATE_TEST_CASE_P
2021-01-20 22:56:57 +03:00
Shree Devi Kumar
e07c99d874
Replace deprecated INSTANTIATE_TEST_CASE_P
2021-01-20 18:03:05 +00:00
Stefan Weil
59305028e5
Remove unused conditional OSX
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-20 15:11:41 +01:00
Egor Pugin
e2852618fb
Merge pull request #3251 from stweil/master
...
Show names of failing lstmf files in error messages
2021-01-20 16:37:37 +03:00
Stefan Weil
5d44a8216f
Show names of failing lstmf files in error messages
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-20 13:36:59 +01:00
Stefan Weil
b6787749e3
Remove rests from vs2010
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-20 13:36:59 +01:00