Skip to content

Commit 5781e0d

Browse files
committed
[sw] Add missing file for arm64. Change branch name.
1 parent 74e226b commit 5781e0d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

sw.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
void build(Solution &s)
22
{
3-
auto &tess = s.addProject("google.tesseract", "master");
3+
auto &tess = s.addProject("google.tesseract", "main");
44
tess += Git("https://github.com/tesseract-ocr/tesseract", "", "{v}");
55

66
auto cppstd = cpp17;
@@ -82,7 +82,13 @@ void build(Solution &s)
8282
libtesseract["src/arch/intsimdmatrixavx2.cpp"].args.push_back("-mavx2");
8383
}
8484
if (!win_or_mingw)
85+
{
8586
libtesseract += "pthread"_slib;
87+
}
88+
if (libtesseract.getBuildSettings().TargetOS.Arch == ArchType::aarch64)
89+
{
90+
libtesseract += "src/arch/dotproductneon.cpp";
91+
}
8692

8793
libtesseract.Public += "HAVE_CONFIG_H"_d;
8894
libtesseract.Public += "_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1"_d;

0 commit comments

Comments
 (0)