From a6fc1625ea8f825a7161354eb9167a281542fa29 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 13 Oct 2026 05:13:32 +0000 Subject: build: package Windows releases as ZIP archives Co-Authored-By: Claude Fable 5.1 --- AGENTS/ARCH.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'AGENTS') diff --git a/AGENTS/ARCH.md b/AGENTS/ARCH.md index fb33471..baa8a74 100644 --- a/AGENTS/ARCH.md +++ b/AGENTS/ARCH.md @@ -88,6 +88,14 @@ Windows `mingw32-make -C build install` builds the HTML manual and invokes `install.ps1` through Windows PowerShell with the build directory and `CMAKE_INSTALL_PREFIX`. The default Windows prefix is the per-user Programs directory above; explicit prefixes are preserved. Unix still invokes `install.sh`. +The release target explicitly passes the configured Windows flag to +`cmake/Release.cmake`, since a standalone CMake script otherwise describes the +host platform. Windows packages `cpsc.exe`, `doc/cpsc.html`, `install.ps1` and +`LICENSE` as `build/cpsc-VERSION-Windows-ARCH.zip` using CMake's default Deflate +compression. Unix retains `.tar.xz`, the POSIX installer and the man page. +Linux smoke tests can configure an isolated build with `-DWIN32=TRUE` to exercise +HTML/ZIP packaging; the resulting renamed Linux executable is only a test fixture, +not a usable Windows release. Build pin: developed and tested against **LLVM 18**. (The historical LLVM 19 breakage — `ArithmeticHandler.cc` touching `llvm::Module` through a transitive include — is gone -- cgit v1.3.1-4-g156e