Skip to content

Commit

Permalink
Fix library links
Browse files Browse the repository at this point in the history
  • Loading branch information
karllessard committed Nov 24, 2023
1 parent 6325ee6 commit ccb6efc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tensorflow-core/tensorflow-core-native/scripts/dist_download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ if [ ! -f $DOWNLOADED_FILE ]; then
fi
unzip -q -u $DOWNLOADED_FILE

cd tensorflow
if [[ "$PLATFORM" =~ "linux" ]]; then
ln -fs tensorflow/libtensorflow_cc.so.2 tensorflow/libtensorflow_cc.so
ln -fs tensorflow/libtensorflow_framework.so.2 tensorflow/libtensorflow_framework.so
ln -fs libtensorflow_cc.so.2 libtensorflow_cc.so
ln -fs libtensorflow_framework.so.2 libtensorflow_framework.so

elif [[ "$PLATFORM" =~ "macosx" ]]; then
ln -fs tensorflow/libtensorflow_cc.2.dylib tensorflow/libtensorflow_cc.dylib
ln -fs tensorflow/libtensorflow_framework.2.dylib tensorflow/libtensorflow_framework.dylib
ln -fs libtensorflow_cc.2.dylib libtensorflow_cc.dylib
ln -fs libtensorflow_framework.2.dylib libtensorflow_framework.dylib
fi
ls -l .

0 comments on commit ccb6efc

Please sign in to comment.