File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ set(CMAKE_STRIP
3939)
4040
4141# Sysroot installed by the apt package gcc-riscv64-linux-gnu.
42- set (CMAKE_SYSROOT "/usr/ ${_RISCV_TRIPLE} " )
42+ set (CMAKE_SYSROOT "" )
4343set (CMAKE_FIND_ROOT_PATH "${CMAKE_SYSROOT} " )
4444set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
4545set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
Original file line number Diff line number Diff line change 2222
2323${SUDO} apt-get update
2424${SUDO} apt-get install -y --no-install-recommends \
25+ build-essential \
2526 gcc-riscv64-linux-gnu \
2627 g++-riscv64-linux-gnu \
2728 binutils-riscv64-linux-gnu \
2829 libc6-riscv64-cross \
2930 libc6-dev-riscv64-cross \
31+ cmake \
32+ file \
3033 qemu-user-static
3134
3235riscv64-linux-gnu-gcc --version | head -n1
Original file line number Diff line number Diff line change @@ -8,3 +8,4 @@ set_overridable_option(EXECUTORCH_BUILD_EXTENSION_EVALUE_UTIL ON)
88set_overridable_option (EXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL ON )
99set_overridable_option (EXECUTORCH_BUILD_DEVTOOLS ON )
1010set_overridable_option (EXECUTORCH_ENABLE_BUNDLE_IO ON )
11+ set_overridable_option (EXECUTORCH_ENABLE_LOGGING ON )
You can’t perform that action at this time.
0 commit comments