Skip to content

Commit

Permalink
revert build script
Browse files Browse the repository at this point in the history
  • Loading branch information
dskkato committed Dec 28, 2022
1 parent 856d887 commit e8d66ec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test_resources/library/build-test-op
Expand Up @@ -2,6 +2,4 @@

TF_CFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))') )
TF_LFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_link_flags()))') )
cmd="g++ -std=c++14 -shared test_op.cc -o test_op.so -fPIC ${TF_CFLAGS[@]} ${TF_LFLAGS[@]} -O2"
echo $cmd
$cmd
g++ -std=c++14 -shared test_op.cc -o test_op.so -fPIC ${TF_CFLAGS[@]} ${TF_LFLAGS[@]} -O2

0 comments on commit e8d66ec

Please sign in to comment.