53 Star 109 Fork 229

Ascend / tensorflow

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.bazelrc 933 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yanqingshang 提交于 2020-10-29 15:20 . syn yellow to blue
import tools/bazel.rc
build --action_env TF_NEED_OPENCL_SYCL="0"
build --action_env TF_NEED_ROCM="0"
build --action_env TF_NEED_CUDA="0"
build --action_env TF_DOWNLOAD_CLANG="0"
#build --action_env PATH="/opt/buildtools/gcc-7.3.0/bin:/bin:/usr/bin"
#build --action_env GCC_HOST_COMPILER_PATH="/opt/buildtools/gcc-7.3.0/bin/gcc"
build:opt --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=0
#build:opt --copt=-march=native
#build:opt --host_copt=-march=native
build:opt --define with_default_optimizations=true
build:v2 --define=tf_api_version=2
build:opt --copt=-ftrapv
build:opt --copt=-D_FORTIFY_SOURCE=2
#build:opt --strip=always
build:opt --linkopt=-Wl,--strip-all
build --subcommands
build --verbose_failures
build --sandbox_debug
build --incompatible_strict_action_env
build --nocheck_visibility
# build --experimental_enable_repo_mapping
# build --nocheck_visibility
# build --distinct_host_configuration=false
build:opt --copt="-fpic"
C++
1
https://gitee.com/ascend/tensorflow.git
git@gitee.com:ascend/tensorflow.git
ascend
tensorflow
tensorflow
development

搜索帮助