Skip to content

Conversation

@niklasf
Copy link
Member

@niklasf niklasf commented Oct 8, 2025

rerun-if-changed exactly the copied Stockfish files. This way there is no way to miss newly introduced dependencies (like Stockfish/**/*.sh).

Deterministically choose subdirectory in OUT_PATH as Stockfish build dir, based on the list of source files (but not their contents). No longer attempt to clean up OUT_PATH. Stale data only remains when Stockfish changes the file structure.

Without cleanup, NNUE backups are no longer required.

Remove deletion of corrupted (e.g., partially downloaded) NNUE files. Stockfish build scripts now handle this.

Optionally, NNUE files downloaded manually in the source directory will also be copied and treated as source files, so that fishnet can be built offline.

@niklasf niklasf force-pushed the tweak-idempotent-builds branch from 675bc9e to bd34ba6 Compare October 8, 2025 21:29
rerun-if-changed exactly the copied Stockfish files. This way there is no way
to miss newly introduced dependencies (like Stockfish/**/*.sh).

Deterministically choose subdirectory in OUT_PATH as Stockfish build
dir, based on the list of source files (but not their contents).
No longer attempt to clean up OUT_PATH. Stale data only remains when Stockfish
changes the file structure.

Without cleanup, NNUE backups are no longer required.

Remove deletion of corrupted (e.g., partially downloaded) NNUE files. Stockfish
build scripts now handle this.

Optionally, NNUE files downloaded manually in the source directory will
also be copied and treated as source files, so that fishnet can be built
offline.
@niklasf niklasf changed the title tweak idemponent build strategy tweak idempotent build strategy Oct 8, 2025
@niklasf niklasf merged commit f4b438d into master Oct 11, 2025
17 checks passed
@niklasf niklasf deleted the tweak-idempotent-builds branch October 11, 2025 15:00
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.

3 participants