Skip to content

Commit 93facac

Browse files
rbergerjrpytorchmergebot
authored andcommitted
[NeuralNetInference] Bring up iOS builds (pytorch#131917)
Summary: Mirror Android setup to static link & use lite interpreter on iOS Test Plan: CI Reviewed By: EscapeZero Differential Revision: D60156611 Pull Request resolved: pytorch#131917 Approved by: https://github.com/cccclai
1 parent 53a5e0f commit 93facac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c10/ovrsource_defs.bzl

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def define_c10_ovrsource(name, is_mobile):
4949
"-DC10_BUILD_MAIN_LIB=1",
5050
"-DSUPPORTS_BACKTRACE=0",
5151
],
52+
fbobjc_compiler_flags = ["-Wno-error=global-constructors", "-Wno-error=missing-prototypes"],
5253
public_include_directories = [".."],
5354
public_preprocessor_flags = pp_flags,
5455
public_raw_headers = native.glob([

0 commit comments

Comments
 (0)