Commit Graph

5899 Commits

Author SHA1 Message Date
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
Egor Pugin
c38536f32d
Merge pull request #3249 from Shreeshrii/ciupdate
Fix Action workflows
2021-01-20 13:38:06 +03:00
Shree Devi Kumar
ab9a967067 Fix Action workflows 2021-01-20 05:10:38 +00:00
Egor Pugin
cad7bcdf3b
Merge pull request #3247 from Shreeshrii/ci
Ci
2021-01-19 21:12:38 +03:00
Shree Devi Kumar
1da0cf185e do not run on push 2021-01-19 17:43:09 +00:00
Shree Devi Kumar
45a1e1d521 Improve dailyunittest workflow 2021-01-19 17:40:20 +00:00
Egor Pugin
2c894e5b62
Merge pull request #3244 from Shreeshrii/ci
Add daily tests for macos homebrew
2021-01-18 17:31:28 +03:00
Shree Devi Kumar
9b6fee70ed Add daily tests for macos homebrew 2021-01-18 13:55:57 +00:00
Egor Pugin
3c92664391
Update dailycmake.yml 2021-01-18 15:40:17 +03:00
Egor Pugin
3a2eedd291
Merge pull request #3243 from Shreeshrii/ci
Add exclude for missing os compiler combinations
2021-01-18 10:01:31 +03:00
Shree Devi Kumar
7b825f1faf Fix Typo 2021-01-18 06:48:47 +00:00
Shree Devi Kumar
2b4b4cc7ba Add exclude for missing os compiler combinations 2021-01-18 06:38:24 +00:00
Egor Pugin
0f7212bba7
Merge pull request #3242 from Shreeshrii/ci
Add Macports build with training tools for daily ci test
2021-01-17 20:27:14 +03:00