File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ include(CMakePrintHelpers)
7
7
set (TORCHCHAT_ROOT $ENV{TORCHCHAT_ROOT} )
8
8
cmake_print_variables(TORCHCHAT_ROOT)
9
9
10
- find_package (executorch CONFIG REQUIRED PATHS ${TORCHCHAT_ROOT} /build /install /lib/cmake/ExecuTorch)
11
- set (_common_include_directories ${TORCHCHAT_ROOT} /build /src)
10
+ find_package (executorch CONFIG REQUIRED PATHS ${TORCHCHAT_ROOT} /et- build /install /lib/cmake/ExecuTorch)
11
+ set (_common_include_directories ${TORCHCHAT_ROOT} /et- build /src)
12
12
cmake_print_variables(_common_include_directories)
13
13
14
14
target_include_directories (executorch INTERFACE ${_common_include_directories} ) # Ideally ExecuTorch installation process would do this
@@ -19,7 +19,7 @@ target_link_libraries(
19
19
runner_et PRIVATE
20
20
executorch
21
21
extension_module
22
- ${TORCHCHAT_ROOT} /build /src/executorch/cmake-out/extension/data_loader/libextension_data_loader.a # This one does not get installed by ExecuTorch
22
+ ${TORCHCHAT_ROOT} /et- build /src/executorch/cmake-out/extension/data_loader/libextension_data_loader.a # This one does not get installed by ExecuTorch
23
23
optimized_kernels
24
24
portable_kernels
25
25
cpublas
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ install_executorch() {
49
49
echo " Building and installing C++ libraries"
50
50
echo " Inside: ${PWD} "
51
51
mkdir cmake-out
52
- cmake -DCMAKE_BUILD_TYPE=Release -DEXECUTORCH_BUILD_OPTIMIZED=ON -DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON -DEXECUTORCH_BUILD_EXTENSION_MODULE=ON -DEXECUTORCH_BUILD_XNNPACK=ON -S . -B cmake-out -G Ninja
52
+ cmake -DCMAKE_BUILD_TYPE=Release -DEXECUTORCH_ENABLE_LOGGING=ON -DEXECUTORCH_LOG_LEVEL=Info - DEXECUTORCH_BUILD_OPTIMIZED=ON -DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON -DEXECUTORCH_BUILD_EXTENSION_MODULE=ON -DEXECUTORCH_BUILD_XNNPACK=ON -S . -B cmake-out -G Ninja
53
53
cmake --build cmake-out
54
54
cmake --install cmake-out --prefix ${TORCHCHAT_ROOT} /et-build/install
55
55
popd
You can’t perform that action at this time.
0 commit comments