mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[NeuralNetInference] Bring up iOS builds (#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: https://github.com/pytorch/pytorch/pull/131917 Approved by: https://github.com/cccclai
This commit is contained in:
parent
53a5e0f1a8
commit
93facac02c
|
|
@ -49,6 +49,7 @@ def define_c10_ovrsource(name, is_mobile):
|
|||
"-DC10_BUILD_MAIN_LIB=1",
|
||||
"-DSUPPORTS_BACKTRACE=0",
|
||||
],
|
||||
fbobjc_compiler_flags = ["-Wno-error=global-constructors", "-Wno-error=missing-prototypes"],
|
||||
public_include_directories = [".."],
|
||||
public_preprocessor_flags = pp_flags,
|
||||
public_raw_headers = native.glob([
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user