File tree 2 files changed +8
-3
lines changed
src/main/java/org/intel/openvino
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ println 'CPU architecture: ' + arch
11
11
12
12
13
13
def nativesCPP;
14
- def openvinoVersion = " 2023 .2"
14
+ def openvinoVersion = " 2024 .2"
15
15
16
16
def native_resources = []
17
17
def tbb_dir = System . getenv(' TBB_DIR' )
Original file line number Diff line number Diff line change @@ -86,8 +86,13 @@ public static void loadNativeLibs() {
86
86
87
87
// Load native libraries.
88
88
for (String lib : nativeLibs ) {
89
- // On Linux, TBB and GNA libraries has .so.2 soname
90
- String version = lib .startsWith ("tbb" ) || lib .equals ("gna" ) ? "2" : null ;
89
+ // On Linux, tbb library has .so.12 and tbbmalloc library has .so.2 soname
90
+ String version = null ;
91
+ if (lib .equals ("tbb" )) {
92
+ version = "12" ;
93
+ } else if (lib .equals ("tbbmalloc" )) {
94
+ version = "2" ;
95
+ }
91
96
lib = getLibraryName (lib , version );
92
97
File nativeLibTmpFile = new File (tmpDir , lib );
93
98
try {
You can’t perform that action at this time.
0 commit comments