Skip to content

run mtk_build_examples.sh error #11999

Open
@MrJungle1

Description

@MrJungle1

🐛 Describe the bug

error:
[ 80%] Built target log_internal_message
[ 81%] Building CXX object tokenizers/third-party/abseil/absl/log/CMakeFiles/log_internal_check_op.dir/internal/check_op.cc.o
[ 82%] Building CXX object executor_runner/llama_runner/CMakeFiles/mtk_llama_executor_lib.dir/MultiModelLoader.cpp.o
[ 83%] Building CXX object tokenizers/third-party/abseil/absl/log/CMakeFiles/die_if_null.dir/die_if_null.cc.o
[ 83%] Linking CXX static library libabsl_status.a
[ 83%] Linking CXX static library libabsl_raw_hash_set.a
[ 83%] Built target status
[ 83%] Building CXX object executor_runner/llama_runner/CMakeFiles/mtk_llama_executor_lib.dir/ModelChunk.cpp.o
[ 83%] Built target raw_hash_set
[ 83%] Building CXX object tokenizers/third-party/abseil/absl/status/CMakeFiles/statusor.dir/statusor.cc.o
[ 83%] Linking CXX static library libabsl_die_if_null.a
[ 83%] Built target die_if_null
[ 83%] Building CXX object executor_runner/llama_runner/CMakeFiles/mtk_llama_executor_lib.dir/LlamaModelChunk.cpp.o
In file included from /workspace/executorch/examples/mediatek/executor_runner/llama_runner/ModelChunk.cpp:9:
In file included from /workspace/executorch/examples/mediatek/executor_runner/llama_runner/ModelChunk.h:15:
In file included from /workspace/executorch/examples/mediatek/../../../executorch/runtime/executor/method.h:17:
In file included from /workspace/executorch/examples/mediatek/../../../executorch/runtime/core/evalue.h:10:
In file included from /workspace/executorch/examples/mediatek/../../../executorch/runtime/core/exec_aten/exec_aten.h:34:
In file included from /workspace/executorch/examples/mediatek/../../../executorch/runtime/core/array_ref.h:32:
In file included from /workspace/executorch/cmake-mtk-out/lib/cmake/ExecuTorch/../../../include/executorch/runtime/core/portable_type/c10/c10/util/irange.h:5:
In file included from /workspace/executorch/cmake-mtk-out/lib/cmake/ExecuTorch/../../../include/executorch/runtime/core/portable_type/c10/c10/util/TypeSafeSignMath.h:3:
/workspace/executorch/cmake-mtk-out/lib/cmake/ExecuTorch/../../../include/executorch/runtime/core/portable_type/c10/c10/macros/Macros.h:22:10: fatal error: 'c10/macros/cmake_macros.h' file not found
#include <c10/macros/cmake_macros.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 83%] Linking CXX static library libabsl_log_internal_check_op.a
[ 83%] Built target log_internal_check_op
[ 83%] Building CXX object tokenizers/third-party/abseil/absl/flags/CMakeFiles/flags_reflection.dir/reflection.cc.o
1 error generated.
gmake[2]: *** [executor_runner/llama_runner/CMakeFiles/mtk_llama_executor_lib.dir/build.make:93: executor_runner/llama_runner/CMakeFiles/mtk_llama_executor_lib.dir/ModelChunk.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /workspace/executorch/examples/mediatek/executor_runner/llama_runner/LlamaModelChunk.cpp:15:
In file included from /workspace/executorch/examples/mediatek/../../../executorch/extension/evalue_util/print_evalue.h:13:
In file included from /workspace/executorch/examples/mediatek/../../../executorch/runtime/core/evalue.h:10:
In file included from /workspace/executorch/examples/mediatek/../../../executorch/runtime/core/exec_aten/exec_aten.h:34:
In file included from /workspace/executorch/examples/mediatek/../../../executorch/runtime/core/array_ref.h:32:
In file included from /workspace/executorch/cmake-mtk-out/lib/cmake/ExecuTorch/../../../include/executorch/runtime/core/portable_type/c10/c10/util/irange.h:5:
In file included from /workspace/executorch/cmake-mtk-out/lib/cmake/ExecuTorch/../../../include/executorch/runtime/core/portable_type/c10/c10/util/TypeSafeSignMath.h:3:
/workspace/executorch/cmake-mtk-out/lib/cmake/ExecuTorch/../../../include/executorch/runtime/core/portable_type/c10/c10/macros/Macros.h:22:10: fatal error: 'c10/macros/cmake_macros.h' file not found
#include <c10/macros/cmake_macros.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 83%] Linking CXX static library libabsl_statusor.a
[ 83%] Built target statusor
1 error generated.
gmake[2]: *** [executor_runner/llama_runner/CMakeFiles/mtk_llama_executor_lib.dir/build.make:107: executor_runner/llama_runner/CMakeFiles/mtk_llama_executor_lib.dir/LlamaModelChunk.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:6364: executor_runner/llama_runner/CMakeFiles/mtk_llama_executor_lib.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 84%] Linking CXX static library libabsl_flags_reflection.a
[ 84%] Built target flags_reflection
gmake: *** [Makefile:136: all] Error 2

Versions

commit 85cf6ce

cc @cccclai @neuropilot-captain @cbilgin

Metadata

Metadata

Assignees

Labels

module: mediatekDelegate to MediaTek backendpartner: mediatekIssues related to the Mediatek delegatetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions