Skip to content

Commit be72722

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Move all headers under executorch dir. (#2707)
Summary: bypass-github-export-checks Reviewed By: kimishpatel Differential Revision: D55409522
1 parent 853fb5b commit be72722

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build/build_apple_frameworks.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ mkdir -p "$HEADERS_PATH"
151151
//extension/module: \
152152
| rsync -av --files-from=- "$SOURCE_ROOT_DIR" "$HEADERS_PATH/executorch"
153153

154-
cp "$SOURCE_ROOT_DIR/extension/apple/ExecuTorch/Exported/"{*.h,*.modulemap} "$HEADERS_PATH"
154+
cp "$SOURCE_ROOT_DIR/extension/apple/ExecuTorch/Exported/"*.h "$HEADERS_PATH/executorch"
155+
cp "$SOURCE_ROOT_DIR/extension/apple/ExecuTorch/Exported/"*.modulemap "$HEADERS_PATH"
155156

156157
echo "Creating frameworks"
157158

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module ExecuTorch {
2-
umbrella header "ExecuTorch.h"
2+
umbrella header "ExecuTorch/ExecuTorch.h"
33

44
export *
55
}

0 commit comments

Comments
 (0)