3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-15 11:35:42 +00:00
z3/.github/workflows
copilot-swe-agent[bot] 66b0f58e23
Add single-threaded WASM build for z3-solver without SharedArrayBuffer
- Add makeCCSinglethreadWrapper() in make-cc-wrapper.ts that generates
  synchronous async wrappers using EM_ASM instead of threads +
  MAIN_THREAD_ASYNC_EM_ASM. Refactor shared error-handler code into a
  SHARED_ERROR_HANDLERS constant used by both variants.

- Add build-wasm-singlethread.ts: new build script that compiles a
  separate libz3.a (in build-singlethread/) and z3-built-singlethread.js
  without -pthread / USE_PTHREADS=1. Uses -DSINGLE_THREAD -DPOLLING_TIMER
  and ALLOW_MEMORY_GROWTH instead of a fixed 2 GB SharedArrayBuffer.

- Add src/node-singlethread.ts and src/browser-singlethread.ts entry
  points. Browser variant reads initZ3SingleThread from global scope
  (load z3-built-singlethread.js via importScripts in a Web Worker).

- Add tests for both new entry points (node-singlethread.test.ts,
  browser-singlethread.test.ts).

- Update package.json: add build:wasm:singlethread script; add exports
  map so users can do import { init } from 'z3-solver/singlethread'.

- Update PUBLISHED_README.md: document the single-threaded variant,
  explain when to use it (no COOP/COEP headers), and provide a Web
  Worker usage example.

- Update wasm.yml CI: add check-singlethread parallel job.
- Update wasm-release.yml: build single-threaded artifact before publish.

- Guard scoped_timer.cpp with #if defined(SINGLE_THREAD) &&
  !defined(__EMSCRIPTEN_PTHREADS__) so that thread-based timer creation
  is skipped in single-threaded Emscripten builds (POLLING_TIMER covers
  the primary cancel_eh<reslimit> use-case).
2026-07-13 04:05:49 +00:00
..
shared Upgrade agentic workflows to gh-aw v0.36.0 (#8122) 2026-01-08 11:50:35 -08:00
a3-python.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
a3-python.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
academic-citation-tracker.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
academic-citation-tracker.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
agentics-maintenance.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
android-build.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
api-coherence-checker.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
api-coherence-checker.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
build-warning-fixer.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
build-warning-fixer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
build-z3-cache.yml Bump actions/cache from 6.0.0 to 6.1.0 (#10023) 2026-07-03 13:18:39 -07:00
ci.yml Fix OCaml static build: ensure stublibs dir is in ld.conf after ocamlfind install (#10003) 2026-06-30 08:43:02 -07:00
code-conventions-analyzer.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
code-conventions-analyzer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
code-simplifier.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
code-simplifier.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
compare-stats-anomaly-reporter.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
compare-stats-anomaly-reporter.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
copilot-setup-steps.yml update aw to current version 2026-01-08 18:15:03 +00:00
coverage.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
cross-build.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
csa-analysis.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
csa-analysis.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
docs.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
fstar-master-build.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
issue-backlog-processor.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
issue-backlog-processor.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
mark-prs-ready-for-review.yml Bump actions/github-script from 8.0.0 to 9.0.0 (#9296) 2026-04-19 16:49:03 +02:00
memory-safety-report.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
memory-safety-report.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
memory-safety.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
msvc-static-build-clang-cl.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
msvc-static-build.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
nightly-validation.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
nightly.yml Ensure Nightly release source archive always matches the workflow commit (#10094) 2026-07-12 17:32:45 -07:00
nuget-build.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
ocaml.yaml opt: validate strict optimization optima faithfully with delta-rational bounds (#10059) 2026-07-09 10:39:23 -07:00
ostrich-benchmark.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
ostrich-benchmark.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
pyodide-pypi.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
qf-s-benchmark.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
qf-s-benchmark.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
release-notes-updater.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
release-notes-updater.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
release.yml Pin macOS wheel target to 13.0 in release and nightly workflows (#10054) 2026-07-06 17:55:01 -07:00
smtlib-benchmark-finder.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
smtlib-benchmark-finder.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
specbot-crash-analyzer.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
specbot-crash-analyzer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
tactic-to-simplifier.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
tactic-to-simplifier.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
tptp-benchmark.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
tptp-benchmark.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
wasm-release.yml Add single-threaded WASM build for z3-solver without SharedArrayBuffer 2026-07-13 04:05:49 +00:00
wasm.yml Add single-threaded WASM build for z3-solver without SharedArrayBuffer 2026-07-13 04:05:49 +00:00
Windows.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
wip.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
workflow-suggestion-agent.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
workflow-suggestion-agent.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
zipt-code-reviewer.lock.yml Regenerate gh-aw lock workflows to remove stale model-multiplier runtime hook (#10099) 2026-07-12 18:30:19 -07:00
zipt-code-reviewer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00