3939# ~~~
4040# cmake-format -i CMakeLists.txt
4141# ~~~
42- # It should also be cmake-lint clean.
42+ # It should also be checked with a linter via
43+ # ~~~
44+ # cmake-lint CMakeLists.txt
45+ # ~~~
4346#
4447
4548cmake_minimum_required (VERSION 3.24)
4649project (executorch)
4750
4851# MARK: - Start EXECUTORCH_H12025_BUILD_MIGRATION
49- # --------------------------------------------------
5052
5153include (${PROJECT_SOURCE_DIR} /tools/cmake/common/preset.cmake)
5254include (${PROJECT_SOURCE_DIR} /tools/cmake/Utils.cmake)
@@ -84,7 +86,6 @@ include(${PROJECT_SOURCE_DIR}/tools/cmake/preset/default.cmake)
8486print_configured_options()
8587
8688# MARK: - End EXECUTORCH_H12025_BUILD_MIGRATION
87- # ----------------------------------------------------
8889
8990set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
9091
@@ -95,7 +96,8 @@ set(CMAKE_SKIP_BUILD_RPATH OFF)
9596# Don't use the install-rpath during the build phase
9697set (CMAKE_BUILD_WITH_INSTALL_RPATH ON )
9798# Automatically add all linked folders that are NOT in the build directory to
98- # the rpath (per library?) TODO: Doesn't work for us right now because we are
99+ # the rpath (per library?)
100+ # TODO: Doesn't work for us right now because we are
99101# not installing .so's into the correct locations. For example we have
100102# libcustom_ops_aot_lib.so depending on _portable_lib.so, which was eventually
101103# put under <site-packages>/executorch/extension/pybindings/ but this rpath is
0 commit comments