Skip to content

Development happens here#82

Merged
msoos merged 5 commits into
masterfrom
develop
May 22, 2026
Merged

Development happens here#82
msoos merged 5 commits into
masterfrom
develop

Conversation

@msoos
Copy link
Copy Markdown
Collaborator

@msoos msoos commented May 22, 2026

No description provided.

msoos and others added 5 commits May 6, 2026 23:40
The bundled GetGitRevisionDescription.cmake module sets HEAD_HASH to the
refspec string ("refs/heads/<branch>") when .git/refs/heads/<branch> does
not exist as a loose ref (i.e. refs are packed), causing the binary to
print "ApproxMC SHA1: refs/heads/develop" instead of the actual hash.

Replace the call with a direct `git rev-parse HEAD` invocation, which
resolves the hash correctly regardless of pack state.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
gcc's spec uses linker-script wrappers libgcc_s_asneeded.so /
libatomic_asneeded.so that have no static counterpart. CMake captures
them in CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES and propagates them to
consumers when a static archive in the link chain has C source. Under
-static the linker then fails with "cannot find -lgcc_s_asneeded".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
flake.lock had grown to ~20 nodes with cadical duplicated 5x, cadiback
3x, and cryptominisat/sbva/evalmaxsat/treedecomp 2x each: approxmc, its
arjun input, and the cryptominisat(s) each independently declared the
same dependencies, so they got separate nodes free to drift apart.

Declare cadiback once as the single anchor (not used by approxmc
directly, but needed to dedup the tree) and route every transitive copy
through follows:
- cryptominisat's cadiback follows ours
- arjun's cadiback/cadical/cryptominisat/sbva/evalmaxsat/treedecomp all
  follow ours

Result: 8 input nodes, exactly one revision of each dependency.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@msoos msoos merged commit 3d38aa8 into master May 22, 2026
13 checks passed
@msoos msoos deleted the develop branch May 22, 2026 23:24
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.

1 participant