Skip to content

Add MinGW/MSYS2 build support and CI#8

Closed
robtaylor wants to merge 41 commits into
mainfrom
mingw-makefile-fixes
Closed

Add MinGW/MSYS2 build support and CI#8
robtaylor wants to merge 41 commits into
mainfrom
mingw-makefile-fixes

Conversation

@robtaylor
Copy link
Copy Markdown
Owner

Rebased version of berkeley-abc#435 with fixes and CI workflow, for testing before upstream submission.

  • Fix LIBS += -lshlwapi (was =, which overwrote all accumulated libs)
  • Normalize MINGW% uname to OS := MINGW for clean conditionals
  • Exclude -lrt/-ldl on MINGW
  • Response file linker rule for 32KB command-line limit
  • New build-mingw.yml CI: MSYS2/MINGW64 on windows-latest

phyzhenli and others added 30 commits January 6, 2026 10:34
…o-required

Fix backward required-time propagation through boxes
…-boxes

Fix two bugs causing problems with &trace and boxes.
…, and absDup cosmetic

- Tim_ManInitPoRequiredAll: only overwrite PO required times when ALL are
  unconstrained; preserve user-specified constraints
- Gia_ObjPropagateRequired: propagate infinity unchanged through LUTs
- Tim_ManGetCoRequired: guard against infinity minus delay arithmetic
- Gia_ManDelayTraceLut: handle infinite required times in slack computation;
  allow negative slack to report timing violations
- Tim_ManCreate: fix required-time loading to address actual POs via
  Tim_ManForEachPo instead of p->pCos[] (wrong for designs with boxes)
- Tim_ManGetArrTimes/Tim_ManGetReqTimes: fix loop-exit detection using
  boolean flag instead of comparing iterator index against PO/PI count
- Gia_ManPrintFlopClasses: use Gia_ManRegBoxNum instead of Gia_ManRegNum

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nity

Fix required time handling for unconstrained POs, infinity arithmetic, and cosmetic problem in absDup.c
Signed-off-by: JingrenWang <wjrforcyber@163.com>
Signed-off-by: JingrenWang <wjrforcyber@163.com>
Refactor(Workflow): Windows build refactor
…ng big files.

Signed-off-by: Drew Lewis <cannada@google.com>
Avoid O(n^2) work on gzipped liberty data
Fix &synch2 crash with creating wrong mapping
alanminko and others added 11 commits March 19, 2026 18:37
Add a new build-mingw.yml workflow that builds ABC using MinGW64/MSYS2
on windows-latest. This provides CI coverage for the MinGW build path
added in the previous commit, using ABC_USE_STDINT_H=1 and
-DWIN32 -DWIN32_NO_DLL to handle MinGW platform quirks.

Co-developed-by: Claude Code v2.1.90 (claude-sonnet-4-6)
@robtaylor
Copy link
Copy Markdown
Owner Author

Not needed any more

@robtaylor robtaylor closed this Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants