Skip to content

Commit 74c2253

Browse files
committed
Update libexecutorch.a
1 parent d3eacd7 commit 74c2253

File tree

12 files changed

+15
-14
lines changed

12 files changed

+15
-14
lines changed

.ci/scripts/test_llama.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ fi
150150
which "${PYTHON_EXECUTABLE}"
151151

152152
cmake_install_executorch_libraries() {
153-
echo "Installing libexecutorch.a, libextension_module.so, libportable_ops_lib.a"
153+
echo "Installing libprim_ops_lib.a, libextension_module.so, libportable_ops_lib.a"
154154
rm -rf cmake-out
155155
retry cmake \
156156
-DCMAKE_INSTALL_PREFIX=cmake-out \

.ci/scripts/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ build_executorch_runner() {
156156
}
157157

158158
cmake_install_executorch_lib() {
159-
echo "Installing libexecutorch.a and libportable_kernels.a"
159+
echo "Installing libprim_ops_lib.a and libportable_kernels.a"
160160
clean_executorch_install_folders
161161
retry cmake -DBUCK2="$BUCK" \
162162
-DCMAKE_INSTALL_PREFIX=cmake-out \

backends/apple/coreml/scripts/build_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ cmake "$PROTOBUF_DIR_PATH/cmake" -B"$CMAKE_PROTOBUF_BUILD_DIR_PATH" \
5252
-DCMAKE_MACOSX_BUNDLE=OFF \
5353
-DCMAKE_CXX_STANDARD=17
5454

55-
cmake --build "$CMAKE_PROTOBUF_BUILD_DIR_PATH" -j9 -t libprotobuf-lite
55+
cmake --build "$CMAKE_PROTOBUF_BUILDb_DIR_PATH" -j9 -t libprotobuf-lite
5656

5757
# Copy required libraries
5858
echo "ExecuTorch: Copying libraries"
5959
mkdir "$LIBRARIES_DIR_PATH"
60-
cp -f "$CMAKE_EXECUTORCH_BUILD_DIR_PATH/libexecutorch.a" "$LIBRARIES_DIR_PATH"
60+
cp -f "$CMAKE_EXECUTORCH_BUILD_DIR_PATH/libprim_ops_lib.a" "$LIBRARIES_DIR_PATH"
6161
cp -f "$CMAKE_EXECUTORCH_BUILD_DIR_PATH/libexecutorch_core.a" "$LIBRARIES_DIR_PATH"
6262
cp -f "$CMAKE_PROTOBUF_BUILD_DIR_PATH/libprotobuf-lite.a" "$LIBRARIES_DIR_PATH"
6363

backends/cadence/runtime/executor_main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set -e
1515
source "$(dirname "${BASH_SOURCE[0]}")/../../.ci/scripts/utils.sh"
1616

1717
cmake_install_executorch_devtools_lib() {
18-
echo "Installing libexecutorch.a, libportable_kernels.a, libetdump.a, libbundled_program.a"
18+
echo "Installing libprim_ops_lib.a, libportable_kernels.a, libetdump.a, libbundled_program.a"
1919
rm -rf cmake-out
2020

2121
retry cmake -DCMAKE_INSTALL_PREFIX=cmake-out \

docs/source/tutorial-arm-ethos-u.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,8 @@ ExecuTorch's CMake build system produces a set of build pieces which are critica
288288
289289
[This](using-executorch-building-from-source.md) document provides a detailed overview of each individual build piece. For running either variant of the `.pte` file, you will need a core set of libraries. Here is a list,
290290
291-
- `libexecutorch.a`
291+
- `libexecutorch_core.a`
292+
- `libprim_ops_lib.a`
292293
- `libportable_kernels.a`
293294
- `libportable_ops_lib.a`
294295

docs/source/using-executorch-building-from-source.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ Or alternatively, [install conda on your machine](https://conda.io/projects/cond
121121
ExecuTorch's CMake build system covers the pieces of the runtime that are
122122
likely to be useful to embedded systems users.
123123
124-
- `libexecutorch.a`: The core of the ExecuTorch runtime. Does not contain any
125-
operator/kernel definitions or backend definitions.
124+
- `libexecutorch_core.a`: The core of the ExecuTorch runtime. Does not contain any
125+
- `libprim_ops_lib.a`: The implementations and registration of prim ops.
126126
- `libportable_kernels.a`: The implementations of ATen-compatible operators,
127127
following the signatures in `//kernels/portable/functions.yaml`.
128128
- `libportable_kernels_bindings.a`: Generated code that registers the contents

examples/apple/mps/test_mps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set -e
1212
# shellcheck source=/dev/null
1313
source "$(dirname "${BASH_SOURCE[0]}")/../../../.ci/scripts/utils.sh"
1414
cmake_install_executorch_devtools_lib() {
15-
echo "Installing libexecutorch.a, libportable_kernels.a, libetdump.a, libbundled_program.a"
15+
echo "Installing libprim_ops_lib.a, libportable_kernels.a, libetdump.a, libbundled_program.a"
1616
rm -rf cmake-out
1717

1818
retry cmake -DBUCK2="$BUCK" \

examples/devtools/test_example_runner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set -e
1515
source "$(dirname "${BASH_SOURCE[0]}")/../../.ci/scripts/utils.sh"
1616

1717
cmake_install_executorch_devtools_lib() {
18-
echo "Installing libexecutorch.a, libportable_kernels.a, libetdump.a, libbundled_program.a"
18+
echo "Installing libprim_ops_lib.a, libportable_kernels.a, libetdump.a, libbundled_program.a"
1919
clean_executorch_install_folders
2020

2121
retry cmake -DCMAKE_INSTALL_PREFIX=cmake-out \

examples/qualcomm/test_qualcomm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set -e
1212
# shellcheck source=/dev/null
1313
source "$(dirname "${BASH_SOURCE[0]}")/../../../.ci/scripts/utils.sh"
1414
cmake_install_executorch_qnn_lib() {
15-
echo "Installing libexecutorch.a, libqnn_executorch_backend.a"
15+
echo "Installing libprim_ops_lib.a, libqnn_executorch_backend.a"
1616
rm -rf cmake-out
1717

1818
retry cmake -DBUCK2="$BUCK" \

scripts/build_apple_frameworks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ PLATFORM_FLAGS=("OS64" "SIMULATORARM64" "MAC_ARM64")
2626
PLATFORM_TARGET=("17.0" "17.0" "10.15")
2727

2828
FRAMEWORK_EXECUTORCH="executorch:\
29-
libexecutorch.a,\
3029
libexecutorch_core.a,\
3130
libextension_apple.a,\
3231
libextension_data_loader.a,\
3332
libextension_module.a,\
3433
libextension_tensor.a,\
34+
libprim_ops_lib.a,\
3535
:$HEADERS_PATH"
3636

3737
FRAMEWORK_BACKEND_COREML="backend_coreml:\

0 commit comments

Comments
 (0)