From d74e6f5278e67f42e9a020f81c9eb0272f624618 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Fri, 16 Oct 2026 08:06:09 +0000 Subject: feat(driver)!: select LLVM IR output with -S Save native executables by default and LLVM IR with -S, using source-adjacent .out and .ll names. Keep -r independent of output selection and update the manuals and three-platform nightly smoke checks. BREAKING CHANGE: plain compilation and -o now save native executables. Use -S to save textual LLVM IR. Co-Authored-By: Claude Fable 5.1 --- cmake/NativeCompiler.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmake/NativeCompiler.cmake') diff --git a/cmake/NativeCompiler.cmake b/cmake/NativeCompiler.cmake index 8371ee2..0a2ad70 100644 --- a/cmake/NativeCompiler.cmake +++ b/cmake/NativeCompiler.cmake @@ -3,6 +3,9 @@ find_package(Clang REQUIRED CONFIG HINTS "${LLVM_INSTALL_PREFIX}/lib/cmake/clang cpsc_find_dependency(PATH LLD_DIR NAMES LLDConfig.cmake PATH_SUFFIXES lib/cmake/lld cmake) find_package(LLD REQUIRED CONFIG HINTS "${LLVM_INSTALL_PREFIX}/lib/cmake/lld") find_package(Python3 3.9 REQUIRED COMPONENTS Interpreter) +if(NOT LLVM_ENABLE_ZLIB) + message(FATAL_ERROR "Native link resources require LLVM built with zlib support") +endif() if(MINGW) set(cpsc_native_platform windows) -- cgit v1.3.1-4-g156e