Skip to content

Commit 03c18ab

Browse files
committed
Link to libomp full name (#558)
1 parent 8296d46 commit 03c18ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tensorflow-core/tensorflow-core-native/scripts/dist_download.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if [[ "$PLATFORM" =~ "linux" ]]; then
5555
ln -fs libtensorflow_cc.so.2 libtensorflow_cc.so
5656
ln -fs libtensorflow_framework.so.2 libtensorflow_framework.so
5757
if [[ "$PLATFORM" == "linux-arm64" ]]; then
58-
ln -fs libomp-*.so.5 libomp.so
58+
ln -fs libomp-e9212f90.so.5 libomp-e9212f90.so
5959
fi
6060
elif [[ "$PLATFORM" =~ "macosx" ]]; then
6161
ln -fs libtensorflow_cc.2.dylib libtensorflow_cc.dylib
@@ -65,4 +65,4 @@ elif [[ "$PLATFORM" =~ "windows" ]]; then
6565
# (while it is also available at the root of the include folder for other platforms)
6666
cd include && ln -fs tensorflow/tsl tsl && cd -
6767
fi
68-
ls -l .
68+
ls -l .

tensorflow-core/tensorflow-core-native/src/main/java/org/tensorflow/internal/c_api/presets/tensorflow.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
resource = {"LICENSE", "THIRD_PARTY_TF_JNI_LICENSES"}),
6565
@Platform(
6666
value = {"linux-arm64"},
67-
67+
link = {"[email protected]", "[email protected]", "omp-e9212f90@.5"}),
6868
@Platform(
6969
value = "windows",
7070
preload = {

0 commit comments

Comments
 (0)