Skip to content

Commit bcacf57

Browse files
committed
Add missing libraries and fix library globs
1 parent c982447 commit bcacf57

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ if (project.platform == "linux-arm64") {
302302
}
303303
setArgs << inFile
304304
}
305+
if (project.platform == "windows-arm64") {
306+
setArgs += "../../3rdparty/lib/${buildTypeFolder}/tegra_hal.lib"
307+
}
305308
args = setArgs
306309
}
307310
} else if (project.platform.startsWith('osx')) {
@@ -356,6 +359,9 @@ if (project.platform == "linux-arm64") {
356359

357360
if (project.platform == "linux-arm64" || project.platform == 'linux-systemcore') {
358361
inputString += "addlib ../3rdparty/lib/libtegra_hal.a\n"
362+
inputString += "addlib ../3rdparty/lib/libkleidicv.a\n"
363+
inputString += "addlib ../3rdparty/lib/libkleidicv_thread.a\n"
364+
inputString += "addlib ../3rdparty/lib/libkleidicv_hal.a\n"
359365
}
360366

361367
inputString += "save\nend\n"
@@ -371,7 +377,7 @@ if (project.platform == "linux-arm64") {
371377
destinationDir = stripCopyDir
372378

373379
from(buildDirectory.resolve("lib").toFile()) {
374-
include '*.so.*.*.*'
380+
include '*.so.*'
375381
exclude 'cv2.so'
376382
exclude '**/*dephelp*'
377383
}

publish.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ task cppHeadersZip(type: Zip, dependsOn: make) {
139139
}
140140
from(resolvedDir.toFile()) {
141141
into project.platformPath + '/shared'
142-
include '*.so.*.*.*'
142+
include '*.so.*'
143143
exclude 'cv2.so'
144144
exclude '**/*dephelp*'
145145
}

0 commit comments

Comments
 (0)