Skip to content

Commit 5eb9a4c

Browse files
committed
wip ∫ MAY 22 2025 12:58:23
1 parent 62190ce commit 5eb9a4c

File tree

25 files changed

+31
-39
lines changed

25 files changed

+31
-39
lines changed

.github/workflows/build-presets.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,24 +71,16 @@ jobs:
7171
strategy:
7272
fail-fast: false
7373
matrix:
74-
preset: [pybind]
74+
preset: [llm]
7575
with:
7676
job-name: build
7777
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
7878
submodules: recursive
7979
timeout: 90
8080
script: |
8181
set -eux
82-
conda init powershell
83-
powershell -Command "& {
84-
\$ErrorActionPreference = 'Stop'
85-
Set-PSDebug -Trace 1
8682
87-
conda create --yes --quiet -n et python=3.12
88-
conda activate et
83+
conda create --yes --quiet -n et python=3.12
84+
conda activate et
8985
90-
python install_requirements.py
91-
cmake --preset ${{ matrix.preset }}
92-
\$numCores = [System.Environment]::GetEnvironmentVariable('NUMBER_OF_PROCESSORS') - 1
93-
cmake --build cmake-out -j \$numCores
94-
}"
86+
./install_executorch.sh

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ if(EXECUTORCH_BUILD_TESTS)
260260
endif()
261261

262262
# TODO(dbort): Fix these warnings and remove this flag.
263-
set(_common_compile_options -Wno-deprecated-declarations -fPIC)
263+
set(_common_compile_options -fPIC)
264264

265265
# Let files say "include <executorch/path/to/header.h>".
266266
# TODO(#6475): This requires/assumes that the repo lives in a directory named
@@ -622,7 +622,7 @@ if(EXECUTORCH_BUILD_PYBIND)
622622

623623
# compile options for pybind
624624
set(_pybind_compile_options
625-
-Wno-deprecated-declarations
625+
626626
-fPIC
627627
-frtti
628628
-fexceptions

backends/apple/mps/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif()
1818

1919
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
2020

21-
set(_common_compile_options -Wno-deprecated-declarations)
21+
set(_common_compile_options )
2222
set(_common_include_directories ${EXECUTORCH_ROOT}/..)
2323

2424
set(_mps_schema__include_dir "${CMAKE_BINARY_DIR}/schema/include")

backends/cadence/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ add_compile_definitions(C10_USING_CUSTOM_GENERATED_MACROS)
3030
if(EXECUTORCH_CADENCE_CPU_RUNNER)
3131
include(${EXECUTORCH_ROOT}/tools/cmake/Codegen.cmake)
3232

33-
set(_common_compile_options -Wno-deprecated-declarations -fPIC)
33+
set(_common_compile_options -fPIC)
3434

3535
# Find prebuilt libraries. executorch package should contain portable_ops_lib,
3636
# etdump, bundled_program.

backends/qualcomm/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64")
260260

261261
if(CMAKE_BUILD_TYPE STREQUAL "Release")
262262
# need to allow exceptions in pybind
263-
set(_pybind_compile_options -Wno-deprecated-declarations -fPIC -frtti
263+
set(_pybind_compile_options -fPIC -frtti
264264
-fexceptions
265265
)
266266
target_compile_options(

backends/xnnpack/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if(EXECUTORCH_XNNPACK_ENABLE_KLEIDI)
3636
endif()
3737

3838
set(_common_include_directories ${EXECUTORCH_ROOT}/..)
39-
set(_common_compile_options -Wno-deprecated-declarations -fPIC)
39+
set(_common_compile_options -fPIC)
4040

4141
set(_xnnpack_schema__include_dir "${CMAKE_BINARY_DIR}/schema/include")
4242
# Paths to headers generated from the .fbs files.

configurations/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif()
1818

1919
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
2020

21-
set(_common_compile_options -Wno-deprecated-declarations)
21+
set(_common_compile_options )
2222

2323
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
2424
include(${EXECUTORCH_ROOT}/tools/cmake/Codegen.cmake)

examples/apple/mps/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ add_compile_options("-Wall" "-Werror")
3333

3434
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
3535

36-
set(_common_compile_options -Wno-deprecated-declarations -fPIC
36+
set(_common_compile_options -fPIC
3737
-DET_EVENT_TRACER_ENABLED
3838
)
3939

examples/arm/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if(NOT PYTHON_EXECUTABLE)
2727
resolve_python_executable()
2828
endif()
2929

30-
set(_common_compile_options -Wno-deprecated-declarations -fPIC)
30+
set(_common_compile_options -fPIC)
3131

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

examples/devtools/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if(NOT PYTHON_EXECUTABLE)
2929
resolve_python_executable()
3030
endif()
3131

32-
set(_common_compile_options -Wno-deprecated-declarations -fPIC)
32+
set(_common_compile_options -fPIC)
3333

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

0 commit comments

Comments
 (0)