aboutsummaryrefslogtreecommitdiff
path: root/AGENTS
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-13 05:13:32 +0000
committer_ov4 <ov4@ov4.org>2026-10-13 05:13:32 +0000
commita6fc1625ea8f825a7161354eb9167a281542fa29 (patch)
treeb610b85c1ca9a94481cfcb1f19ee192508fb9a60 /AGENTS
parent8b633927930095d2a8f6ffd48dc2f88a21b3e0bf (diff)
build: package Windows releases as ZIP archives
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS')
-rw-r--r--AGENTS/ARCH.md8
1 files changed, 8 insertions, 0 deletions
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