File tree Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ jobs:
109
109
strategy :
110
110
fail-fast : false
111
111
matrix :
112
- preset : [pybind]
112
+ preset : [pybind, windows ]
113
113
with :
114
114
job-name : build
115
115
ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Original file line number Diff line number Diff line change 120
120
]
121
121
}
122
122
},
123
+ {
124
+ "name" : " windows" ,
125
+ "displayName" : " Build ExecuTorch for Windows" ,
126
+ "inherits" : [" common" ],
127
+ "cacheVariables" : {
128
+ "CMAKE_SYSTEM_NAME" : " Windows" ,
129
+ "EXECUTORCH_BUILD_PRESET_FILE" : " ${sourceDir}/tools/cmake/preset/windows.cmake"
130
+ },
131
+ "toolset" : " ClangCL" ,
132
+ "condition" : {
133
+ "lhs" : " ${hostSystemName}" ,
134
+ "type" : " equals" ,
135
+ "rhs" : " Windows"
136
+ }
137
+ },
123
138
{
124
139
"name" : " zephyr" ,
125
140
"displayName" : " Build ExecuTorch for Zephyr RTOS" ,
Original file line number Diff line number Diff line change
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+ #
4
+ # This source code is licensed under the BSD-style license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+
8
+ # keep sorted
9
+ set_overridable_option (EXECUTORCH_BUILD_EXTENSION_DATA_LOADER ON )
10
+ set_overridable_option (EXECUTORCH_BUILD_EXTENSION_EVALUE_UTIL ON )
11
+ set_overridable_option (EXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR ON )
12
+ set_overridable_option (EXECUTORCH_BUILD_EXTENSION_MODULE ON )
13
+ set_overridable_option (EXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL ON )
14
+ set_overridable_option (EXECUTORCH_BUILD_EXTENSION_TENSOR ON )
15
+
16
+ # Below options are not yet buildable on Windows, but should be.
17
+ set (EXECUTORCH_BUILD_PORTABLE_OPS OFF CACHE BOOL "" )
18
+ #set_overridable_option(EXECUTORCH_BUILD_EXECUTOR_RUNNER ON)
19
+ #set_overridable_option(EXECUTORCH_BUILD_KERNELS_OPTIMIZED ON)
20
+ #set_overridable_option(EXECUTORCH_BUILD_KERNELS_QUANTIZED ON)
21
+ #set_overridable_option(EXECUTORCH_BUILD_XNNPACK ON)
You can’t perform that action at this time.
0 commit comments