1 Star 3 Fork 8

kangchi/pytorch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
c2_test_defs.bzl 840 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jon Janzen 提交于 2022-06-03 14:19 . Add all bzl files per D36874458
load("@fbsource//tools/build_defs:fb_xplat_cxx_test.bzl", "fb_xplat_cxx_test")
load("@fbsource//tools/build_defs:platform_defs.bzl", "ANDROID", "APPLE", "CXX", "IOS", "MACOSX")
load("@fbsource//xplat/caffe2:c2_defs.bzl", "get_c2_default_cxx_args")
def c2_cxx_test(**kwargs):
args = get_c2_default_cxx_args()
args.update(kwargs)
args["fbandroid_use_instrumentation_test"] = True
for flag in [
"macosx_compiler_flags",
"fbobjc_macosx_configs_override",
"macosx_frameworks_override",
"xcode_public_headers_symlinks",
"macosx_inherited_buck_flags_override",
]:
args.pop(flag, None)
args["apple_sdks"] = (IOS, MACOSX)
args["platforms"] = (CXX, APPLE, ANDROID)
args["contacts"] = ["oncall+ai_infra_mobile_platform@xmail.facebook.com"]
fb_xplat_cxx_test(**args)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/kangchi/pytorch.git
git@gitee.com:kangchi/pytorch.git
kangchi
pytorch
pytorch
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385