![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bazel
ACodeDog
小码农一只
展开
-
Bazel TensorFlow自定义编译命令
debug+asan版本 bazel build -j 36 --action_env=LD_PRELOAD --copt="-g" --copt="-lasan" --copt="-fsanitize=address" --linkopt=-lasan --linkopt=-fsanitize=address --verbose_failures --compilation_mode=dbg --strip=never --copt="-D_GLIBCXX_USE_CXX11_ABI=0" //t原创 2020-05-12 15:44:20 · 818 阅读 · 0 评论 -
bazel跑TensorFlow中c++测试用例(test)
跟Python的有所不同,TensorFlow中c++测试用例不是写在bazel中的。而是以一定规则写的。例如,如下: bazel test :lib_strings_scanner_test bazel test :哪一级目录下的哪个test ...原创 2020-03-18 16:06:38 · 779 阅读 · 0 评论