Skip to content

Commit b3e1432

Browse files
authored
Merge pull request #15 from itamarhaber/test_patch
Fixes test failure in get_deps.sh
2 parents d434c7c + 7b1d483 commit b3e1432

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

get_deps.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ cd test
2828

2929
if [[ "$OSTYPE" == "linux-gnu" ]]; then
3030
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
3133
fi
3234
gcc -I$LIBTF_DIRECTORY/include -L$LIBTF_DIRECTORY/lib tf_api_test.c -ltensorflow && ./a.out && rm a.out
3335

0 commit comments

Comments
 (0)