We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72a5a15 commit 21cb165Copy full SHA for 21cb165
1 file changed
src/CMakeLists.txt
@@ -661,6 +661,11 @@ endif ()
661
# core Halide headers.
662
target_precompile_headers(Halide PRIVATE Halide_pch.h)
663
664
+# Util.cpp implements run_with_large_stack(), which is sensitive to CMake's
665
+# forced-include PCH path and produces crashing helper binaries when compiled
666
+# with PCH enabled.
667
+set_source_files_properties(Util.cpp PROPERTIES SKIP_PRECOMPILE_HEADERS ON)
668
+
669
# LLVM sources live in their own object library so they can have a separate PCH.
670
add_library(Halide_LLVM_srcs OBJECT
671
CodeGen_ARM.cpp
0 commit comments