File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 14
14
#include < cstring>
15
15
#include < limits>
16
16
17
+ #include < executorch/runtime/platform/compat_unistd.h>
17
18
#include < fcntl.h>
18
19
#include < sys/stat.h>
19
20
#include < sys/types.h>
20
- # include < executorch/runtime/platform/compat_unistd.h >
21
+
21
22
22
23
#include < executorch/runtime/core/error.h>
23
24
#include < executorch/runtime/core/result.h>
Original file line number Diff line number Diff line change 100
100
#endif // (__cplusplus) >= 202002L
101
101
102
102
/// Define a C symbol with weak linkage.
103
- // Building on Windows also need this. Windows build uses clang-cl compiler, which supports __attribute__((weak)).
103
+ // Building on Windows also need this. Windows build uses clang-cl compiler,
104
+ // which supports __attribute__((weak)).
104
105
#define ET_WEAK __attribute__((weak))
105
106
106
107
/**
Original file line number Diff line number Diff line change @@ -663,8 +663,8 @@ def get_ext_modules() -> List[Extension]:
663
663
# portable kernels, and a selection of backends. This lets users
664
664
# load and execute .pte files from python.
665
665
BuiltExtension (
666
- src_dir = "%BUILD_TYPE%/" , # Set the src directory based on build configuration for windows.
667
- src_name = "_portable_lib.cp*" , # Rename _portable_lib.* to _portable_lib.cp* to avoid _portable_lib.lib is selected on windows.
666
+ src_dir = "%BUILD_TYPE%/" ,# Set the src directory based on build configuration for windows.
667
+ src_name = "_portable_lib.cp*" ,# Rename _portable_lib.* to _portable_lib.cp* to avoid _portable_lib.lib is selected on windows.
668
668
modpath = "executorch.extension.pybindings._portable_lib" ,
669
669
)
670
670
)
You can’t perform that action at this time.
0 commit comments