Commit Graph
836 Commits
Author SHA1 Message Date
Moritz Angermann 66e03e7ce4 ci: import diagnostic Python from the pinned flake 2026-10-18 11:26:34 +09:00
Moritz Angermann bd282bf9ac ci: identify timed-out Intel GHC diagnostic phases 2026-10-18 11:03:22 +09:00
Moritz Angermann 928ca25382 nix: reference BLST capability storage from COFF assembly
Patch the pinned MQ source before planning so Windows assembly references the existing C-owned capability flag instead of declaring redundant COMMON storage. Preserve BLST CPU detection and all instruction sections and relocations.

Add a selected-MinGW producer/linkage regression. The canonical application TH runtime remains the final CI gate.
2026-10-18 07:54:51 +09:00
Moritz Angermann c9c06d6f2e nix: bound Intel diagnostics without a GNU timeout dependency 2026-10-18 07:47:16 +09:00
Moritz Angermann e241a9ba95 Merge current master into stable GHC 9.14 migration
Preserve upstream build caching, agent peer type and channel profile fixes. Keep migration CI diagnostics and runner settings, using the upstream Linux CLI step ID for the termination report.
2026-10-18 07:45:40 +09:00
EvgenyandEvgeny @ SimpleX Chat 9a90d8e230 ci: cache build artifacts for faster builds (#7730)
* ci: cache build artifacts for faster builds

* test build

* compression

* fix macos-latest

* debug build

* better caching

* test cache

* update build

* test cache

* ci: check toolchain restore

* ci: remove Windows toolchain cache

* ci: skip tests on macOS Intel

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-10-17 17:12:08 +01:00
Moritz Angermann 8021d2aa71 nix: capture bounded Intel compiler SIGBUS diagnostics after failure 2026-10-17 22:18:46 +09:00
Moritz Angermann 5e15ffa8fd Add bounded own-process Darwin SIGBUS capture controls 2026-10-17 21:58:59 +09:00
Moritz Angermann ce480d79d0 nix: omit crypt32 module from excluded package schemas 2026-10-17 21:32:28 +09:00
Moritz Angermann 6fdb6b54c5 nix: resolve Windows crypt32 import library metadata 2026-10-17 19:40:35 +09:00
Moritz Angermann 8dfd5f932e Collect bounded Darwin GHC crash reports after CI failure 2026-10-17 18:19:53 +09:00
Moritz Angermann f74428ccab Keep common GHC options in package-specific overrides 2026-10-17 18:18:28 +09:00
Moritz Angermann d29ef5fbdb Use merged stable-haskell fixes without duplicate patches 2026-10-17 17:21:53 +09:00
Moritz Angermann f395ea0515 fix: preserve haskell.nix UCRT pthread flags 2026-10-17 16:38:19 +09:00
Moritz Angermann 3c3857c9d8 fix: backport MinGW exact-fit wide formatting
Apply upstream e7e21db to the verified MinGW 13/14 CRT sources. Exact-fit ISO swprintf currently returns failure after writing the complete namespace path, making the unchanged GHC filesystem helper reject ordinary files. Keep truncation errors and other runtime variants intact.
2026-10-17 16:24:53 +09:00
Moritz Angermann 6845b0ee5e ci: prepare Windows C inputs before the short filesystem check 2026-10-17 16:16:43 +09:00
Moritz Angermann 40ddd6e4cf test: cover exact-fit MinGW wide formatting 2026-10-17 16:13:59 +09:00
Moritz Angermann c218e4182c ci: trace Windows filesystem normalization boundaries 2026-10-17 16:07:23 +09:00
Moritz Angermann c9e438e8af ci: confine Windows probe shell options to compilation 2026-10-17 15:59:54 +09:00
Moritz Angermann e039d6ddc1 ci: check Windows RTS file opens before TH inputs 2026-10-17 15:55:21 +09:00
Moritz Angermann 65ab035fe9 ci: check Intel runtime dependency scope 2026-10-17 13:13:26 +09:00
Moritz Angermann 6361c6bf90 ci: allow focused Intel Darwin Nix builds 2026-10-17 13:13:10 +09:00
Moritz Angermann 664041e36c Resolve bitvec's compiler-owned runtime on Intel Darwin 2026-10-17 12:59:17 +09:00
Moritz Angermann d28b2c0b94 Guard Windows RTS DLL search path conversion failures
Resolve relative paths once, retain successful namespace conversion, and use the resolved absolute path when conversion fails. Preserve the DLL directory cookie and Win32 errors across cleanup.

Apply only to Linux-built Win64 ghc914-sh v2 target RTS packages. Add a real-module scope check and native caller boundary regression; Windows runtime qualification remains separate.
2026-10-17 12:53:26 +09:00
Moritz Angermann ca0deb7050 Declare bitvec's Clang runtime on Intel Darwin 2026-10-17 11:32:27 +09:00
Moritz Angermann 748c146df9 Handle unknown COMDAT function sizes used by GCC thunks 2026-10-17 10:12:23 +09:00
Moritz Angermann 723aacf523 Record native Linux COMDAT runtime regression 2026-10-17 10:03:51 +09:00
Moritz Angermann b494c856a9 Capture Wine exceptions in failed Windows TH diagnostics 2026-10-17 10:02:32 +09:00
Moritz Angermann 03b83dd4df Handle singleton COMDAT functions in i386 musl RTS 2026-10-17 09:55:24 +09:00
Moritz Angermann 38394fd9b8 Use XFTP completion cleanup compatibility fix 2026-10-17 08:58:17 +09:00
Moritz Angermann 8c51745233 Keep patched Android crypton as a dependency-only goal
Disable only its newly promoted local tests and benchmarks before planning. Preserve the original library-only dependency scope, package bounds and flags while retaining the pthread metadata patch.
2026-10-17 08:32:28 +09:00
Moritz Angermann 8c5d240849 Separate manual Nix build group queues
Append the selected group only for workflow_dispatch. Preserve the exact PR and push concurrency keys and keep cancel-in-progress disabled.
2026-10-17 08:22:23 +09:00
Moritz Angermann 4051b8f71f Fix Android pthread metadata before mobile shared linking
Patch crypton and direct-sqlcipher before planning: Bionic supplies pthread in libc and the NDK has no separate libpthread. Preserve compiler threading flags and the shared-link adapter.

Check Android-only source selection and allow the existing Android CI group to be dispatched independently for final-link validation.
2026-10-17 08:20:19 +09:00
Moritz Angermann 43262a5c05 Allow focused static CI dispatch while preserving active PR builds 2026-10-17 07:10:37 +09:00
Moritz Angermann 21ad0edcc4 Defer musl iserv source selection through the module fixed point 2026-10-17 06:52:15 +09:00
Moritz Angermann 7e33bfb4b7 Bound the canonical Windows TH gate and trace failed interpreter calls 2026-10-17 06:45:35 +09:00
Moritz Angermann eb79eece79 Preserve mobile component project metadata 2026-10-17 06:10:16 +09:00
Moritz Angermann c464566763 fix(nix): plan Windows x509 from its patched source
The v2 builder restores the original Cabal description override after source patching and also publishes that metadata into its index. Add the already selected 1.6.8 source as a prepatched local package so crypt32 reaches planning and source packaging. Apply the package patch once.

The actual native source producer changes only the Cabal file. Independent project capture retains Composition and byte-identical non-Windows project text. Production Windows planning, packaging, and final linking remain CI checks.
2026-10-17 05:06:13 +09:00
Moritz Angermann 3bf925bdfe Merge current master into the GHC 9.14 migration
Retain the new badge receipt modules and X.509 dependencies alongside the migrated dependency ranges. Cabal parsing and 84 compiler/platform/flag finalizations pass; full builds remain for CI.
2026-10-17 04:36:54 +09:00
Moritz Angermann 7f1e4cbb55 ci: retain Intel Setup diagnostics after compiler rebuilds 2026-10-17 04:20:00 +09:00
Moritz Angermann f0eacef513 Fix dynamic musl interpreter private AIO symbol registration 2026-10-17 04:15:25 +09:00
Moritz Angermann 6e300d5e43 docs: record current compiler and cross-build results 2026-10-17 04:09:11 +09:00
Moritz Angermann 11b7f33921 Seed SplitMix on Android below API 28
Use Bionic arc4random_buf for the older Android API route and retain the existing getentropy initializer from API 28. Register the real function address in the ARM32 interpreter so loaded SplitMix objects can resolve it.

Both ABI controls verify API26 compilation and linking against the actual NDK headers and providers, and API35 object equality. Final source checks use native LLVM21; exact final NDK18 and production package-tar validation remain for CI after local VM startup failures.
2026-10-17 04:03:38 +09:00
Moritz Angermann ad69b2b1a6 fix(nix): keep Intel Darwin info tables with their entry code
Mark x86 Mach-O info entries as alternate entries in both GHC stages, so LLD preserves tables-next-to-code. Add a production compiler object/link regression to the existing Intel CI job.
2026-10-17 03:32:41 +09:00
spaced4ndy a356512645 Merge branch 'master' into badge-in-app-checkout 2026-10-16 22:07:28 +04:00
spaced4ndy 5a80713699 ci: test the desktop app on Linux runners on request, with an optional Claude session (#7736) 2026-10-16 17:34:43 +00:00
spaced4ndy 7c5b6bb3d7 ci: test the iOS app in the simulator on request, with an optional Claude session (#7737) 2026-10-16 17:33:50 +00:00
Moritz Angermann c5b7a04fed docs: record completed builds and remaining cross-target validation 2026-10-17 02:18:26 +09:00
Moritz Angermann 89ffaea1be Allow musl cross interpreters to load C dependencies
Keep static Haskell libraries and fully static application outputs while planning ghc914-sh iserv projects with a dynamic musl C loader. Scope the policy to Linux-built musl Cabal v2 interpreters and check that scope in static Linux CI.

Normal and profiled target plans preserve all unit IDs, source records and Haskell ways; only the iserv executable-static flag changes. The shared V2 project skeleton changes auxiliary derivation hashes. A small i686 musl probe reproduces static dlopen failure and verifies the dynamic loader under QEMU; full interpreter TH validation remains for canonical CI.
2026-10-17 02:17:58 +09:00
Moritz Angermann 815d8434c3 Fix rebound negation of the Windows invalid handle constant 2026-10-17 02:05:28 +09:00