We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 856d887 commit e8d66ecCopy full SHA for e8d66ec
test_resources/library/build-test-op
@@ -2,6 +2,4 @@
2
3
TF_CFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))') )
4
TF_LFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_link_flags()))') )
5
-cmd="g++ -std=c++14 -shared test_op.cc -o test_op.so -fPIC ${TF_CFLAGS[@]} ${TF_LFLAGS[@]} -O2"
6
-echo $cmd
7
-$cmd
+g++ -std=c++14 -shared test_op.cc -o test_op.so -fPIC ${TF_CFLAGS[@]} ${TF_LFLAGS[@]} -O2
0 commit comments