Skip to content

Commit 1e4183d

Browse files
authored
[build Folder Migration] Move build/Utils.cmake (#9316)
### Summary A series of diffs as a part of #9117. ### Test plan CI cc @larryliu0820 @lucylq
1 parent 7826a26 commit 1e4183d

File tree

36 files changed

+39
-39
lines changed

36 files changed

+39
-39
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
cmake_minimum_required(VERSION 3.24)
4646
project(executorch)
47-
include(build/Utils.cmake)
47+
include(tools/cmake/Utils.cmake)
4848
include(CMakeDependentOption)
4949

5050
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

backends/apple/mps/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(NOT EXECUTORCH_ROOT)
1616
set(EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
1717
endif()
1818

19-
include(${EXECUTORCH_ROOT}/build/Utils.cmake)
19+
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
2020

2121
if(NOT PYTHON_EXECUTABLE)
2222
resolve_python_executable()

backends/arm/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if(NOT EXECUTORCH_ROOT)
1212
set(EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../..)
1313
endif()
1414

15-
include(${EXECUTORCH_ROOT}/build/Utils.cmake)
15+
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
1616

1717
set(_common_include_directories ${EXECUTORCH_ROOT}/.. ${EXECUTORCH_ROOT}/runtime/core/portable_type/c10)
1818
add_compile_definitions(C10_USING_CUSTOM_GENERATED_MACROS)

backends/cadence/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if(NOT EXECUTORCH_ROOT)
1919
set(EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../..)
2020
endif()
2121

22-
include(${EXECUTORCH_ROOT}/build/Utils.cmake)
22+
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
2323

2424
# Let files say "include <executorch/path/to/header.h>".
2525
set(_common_include_directories ${EXECUTORCH_ROOT}/..

backends/cadence/fusion_g3/operators/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if(NOT CMAKE_CXX_STANDARD)
1111
set(CMAKE_CXX_STANDARD 17)
1212
endif()
1313

14-
include(${EXECUTORCH_ROOT}/build/Utils.cmake)
14+
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
1515
include(${EXECUTORCH_ROOT}/tools/cmake/Codegen.cmake)
1616

1717
if(NOT PYTHON_EXECUTABLE)

backends/cadence/hifi/operators/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if(NOT CMAKE_CXX_STANDARD)
1111
set(CMAKE_CXX_STANDARD 17)
1212
endif()
1313

14-
include(${EXECUTORCH_ROOT}/build/Utils.cmake)
14+
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
1515
include(${EXECUTORCH_ROOT}/tools/cmake/Codegen.cmake)
1616

1717
if(NOT PYTHON_EXECUTABLE)

backends/cadence/reference/operators/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if(NOT CMAKE_CXX_STANDARD)
1111
set(CMAKE_CXX_STANDARD 17)
1212
endif()
1313

14-
include(${EXECUTORCH_ROOT}/build/Utils.cmake)
14+
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
1515
include(${EXECUTORCH_ROOT}/tools/cmake/Codegen.cmake)
1616

1717
if(NOT PYTHON_EXECUTABLE)

backends/vulkan/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ endif()
3232
# provide access to target_link_options_shared_lib which allows libraries to be
3333
# linked with the --whole-archive flag. This is required for libraries that
3434
# perform dynamic registration via static initialization.
35-
include(${EXECUTORCH_ROOT}/build/Utils.cmake)
35+
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
3636

3737
include(cmake/ShaderLibrary.cmake)
3838

backends/vulkan/cmake/ShaderLibrary.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ else()
4141
endif()
4242

4343
# Required to enable linking with --whole-archive
44-
include(${EXECUTORCH_ROOT}/build/Utils.cmake)
44+
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
4545

4646
function(gen_vulkan_shader_lib_cpp shaders_path)
4747
set(VULKAN_SHADERGEN_ENV "")

backends/vulkan/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if(LIB_VULKAN_BACKEND)
3737
# to provide access to target_link_options_shared_lib which allows libraries
3838
# to be linked with the --whole-archive flag. This is required for libraries
3939
# that perform dynamic registration via static initialization.
40-
include(${EXECUTORCH_ROOT}/build/Utils.cmake)
40+
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
4141

4242
include(../cmake/ShaderLibrary.cmake)
4343

0 commit comments

Comments
 (0)