Hi,
I was trying to compile the TF source code in the NGC container. I used the following command
bazel build -c opt --config=cuda tensorflow/tools/pip_package:build_pip_package --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0"
I get the following linker error
ERROR: /home/muthian/t-tachug/nvidia/tensorflow/tensorflow/contrib/lite/toco/BUILD:395:1: Linking of rule '//tensorflow/contrib/lite/toco:toco' failed (Exit 1)
bazel-out/k8-opt/bin/_solib_local/_U_S_Stensorflow_Scontrib_Slite_Stoco_Ctoco___Utensorflow/libtensorflow_framework.so: undefined reference to `nvtxRangeStartEx@libnvToolsExt.so
.1'
bazel-out/k8-opt/bin/_solib_local/_U_S_Stensorflow_Scontrib_Slite_Stoco_Ctoco___Utensorflow/libtensorflow_framework.so: undefined reference to `nvtxRangeEnd@libnvToolsExt.so.1'
collect2: error: ld returned 1 exit status
bazel: Leaving directory `/home/muthian/.cache/bazel/_bazel_muthian/6694c95e669a3c34934eedb0be93c6c0/execroot/org_tensorflow/'
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
How can I compile this from source?
Thanks,
Tapan