Skip to content

Commit f15982d

Browse files
authored
Revert "Add check_for_installed_private_headers_in_cmake_out" (#13685)
Reverts #13485
1 parent e5f94da commit f15982d

File tree

3 files changed

+0
-54
lines changed

3 files changed

+0
-54
lines changed

.ci/scripts/unittest-macos-cmake.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ ${CONDA_RUN} pytest -n auto --cov=./ --cov-report=xml
1111
# Run gtest
1212
LLVM_PROFDATA="xcrun llvm-profdata" LLVM_COV="xcrun llvm-cov" \
1313
${CONDA_RUN} test/run_oss_cpp_tests.sh
14-
${CONDA_RUN} test/check_for_installed_private_headers_in_cmake_out.sh

CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -485,29 +485,24 @@ install(
485485
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/runtime/core
486486
FILES_MATCHING
487487
PATTERN "*.h"
488-
PATTERN "testing_util" EXCLUDE
489488
)
490489
install(
491490
DIRECTORY runtime/executor/
492491
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/runtime/executor
493492
FILES_MATCHING
494493
PATTERN "*.h"
495-
PATTERN "test" EXCLUDE
496-
PATTERN "platform_memory_allocator.h" EXCLUDE
497494
)
498495
install(
499496
DIRECTORY runtime/kernel/
500497
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/runtime/kernel
501498
FILES_MATCHING
502499
PATTERN "*.h"
503-
PATTERN "test" EXCLUDE
504500
)
505501
install(
506502
DIRECTORY runtime/platform/
507503
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/runtime/platform
508504
FILES_MATCHING
509505
PATTERN "*.h"
510-
PATTERN "test" EXCLUDE
511506
)
512507
install(
513508
DIRECTORY extension/kernel_util/
@@ -592,15 +587,11 @@ endif()
592587

593588
if(EXECUTORCH_BUILD_EXTENSION_DATA_LOADER)
594589
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/extension/data_loader)
595-
if(NOT WIN32)
596-
set(data_loader_exclude_pattern "*mman_windows.h")
597-
endif()
598590
install(
599591
DIRECTORY extension/data_loader/
600592
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/extension/data_loader
601593
FILES_MATCHING
602594
PATTERN "*.h"
603-
PATTERN ${data_loader_exclude_pattern} EXCLUDE
604595
)
605596
list(APPEND _executorch_extensions extension_data_loader)
606597
endif()

test/check_for_installed_private_headers_in_cmake_out.sh

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)