@@ -3,7 +3,7 @@ load("@fbcode_macros//build_defs:python_pytest.bzl", "python_pytest")
33load ("@bazel_skylib//lib:paths.bzl" , "paths" )
44load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
55
6- _ENABLE_VGF = True
6+ _ENABLE_VGF = False # Disabled: memfd_create blocked by seccomp on Sandcastle causes segfaults before Python pre-flight check can run
77
88def define_arm_tests ():
99 # TODO [fbonly] Add more tests
@@ -72,6 +72,7 @@ def define_arm_tests():
7272 resources = ["conftest.py" ],
7373 compile = "with-source" ,
7474 typing = False ,
75+ skip_on_mode_mac = True ,
7576 env = {} if runtime .is_oss else ({
7677 "MODEL_CONVERTER_PATH" : "$(location fbsource//third-party/pypi/ai-ml-sdk-model-converter/0.8.0:model-converter-bin)" ,
7778 "MODEL_CONVERTER_LIB_DIR" : "$(location fbsource//third-party/nvidia-nsight-systems:linux-x86_64)/host-linux-x64" ,
@@ -81,12 +82,11 @@ def define_arm_tests():
8182 "EMULATION_LAYER_TENSOR_JSON" : "$(location fbsource//third-party/arm-ml-emulation-layer/v0.9.0/src:VkLayer_Tensor_json)" ,
8283 "EMULATION_LAYER_GRAPH_JSON" : "$(location fbsource//third-party/arm-ml-emulation-layer/v0.9.0/src:VkLayer_Graph_json)" ,
8384 } if _ENABLE_VGF else {}),
84- preload_deps = [
85+ preload_deps = [] if runtime . is_oss or not _ENABLE_VGF else [
8586 "//executorch/kernels/quantized:custom_ops_generated_lib" ,
86- ] + ([] if runtime .is_oss or not _ENABLE_VGF else [
8787 "fbsource//third-party/khronos:vulkan" ,
8888 "//executorch/backends/arm/runtime:vgf_backend" ,
89- ]) ,
89+ ],
9090 deps = [
9191 "//executorch/backends/arm/test:arm_tester" if runtime .is_oss else "//executorch/backends/arm/test/tester/fb:arm_tester_fb" ,
9292 "//executorch/backends/arm/test:conftest" ,
0 commit comments