We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d434c7c + 7b1d483 commit b3e1432Copy full SHA for b3e1432
get_deps.sh
@@ -28,6 +28,8 @@ cd test
28
29
if [[ "$OSTYPE" == "linux-gnu" ]]; then
30
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBTF_DIRECTORY/lib
31
+elif [[ "$OSTYPE" == "darwin"* ]]; then
32
+ export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$LIBTF_DIRECTORY/lib
33
fi
34
gcc -I$LIBTF_DIRECTORY/include -L$LIBTF_DIRECTORY/lib tf_api_test.c -ltensorflow && ./a.out && rm a.out
35
0 commit comments