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.
1 parent 2dcb63b commit 448862fCopy full SHA for 448862f
test_resources/library/build-test-op
@@ -2,4 +2,6 @@
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
-g++ -std=c++14 -shared test_op.cc -o test_op.so -fPIC ${TF_CFLAGS[@]} ${TF_LFLAGS[@]} -O2
+cmd="g++ -std=c++14 -shared test_op.cc -o test_op.so -fPIC ${TF_CFLAGS[@]} ${TF_LFLAGS[@]} -O2"
6
+echo $cmd
7
+$cmd
0 commit comments