Skip to content

Track shared library changes for tool rebuilds#5148

Merged
SeanTAllen merged 1 commit intomainfrom
fix-tool-rebuild-deps
Apr 7, 2026
Merged

Track shared library changes for tool rebuilds#5148
SeanTAllen merged 1 commit intomainfrom
fix-tool-rebuild-deps

Conversation

@SeanTAllen
Copy link
Copy Markdown
Member

Each tool's build command only depended on its own .pony files, so changes to the shared pony_compiler library under tools/lib/ didn't trigger tool rebuilds — you had to manually delete the binary or make clean.

Adds a CMake stamp file that globs all .pony files under tools/lib/ and have each tool's build command depend on it. Adding new shared libraries under lib/ only requires updating the glob in the top-level CMakeLists.txt.

Closes #5142

Each tool's build command only depended on its own .pony files, so
changes to the shared pony_compiler library under tools/lib/ didn't
trigger rebuilds. Add a stamp file that globs tools/lib/*.pony and
have each tool depend on it.

Closes #5142
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Apr 7, 2026
@SeanTAllen SeanTAllen merged commit d228805 into main Apr 7, 2026
17 of 18 checks passed
@SeanTAllen SeanTAllen deleted the fix-tool-rebuild-deps branch April 7, 2026 03:27
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Apr 7, 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.

build system doesn't see changes in pony source for tools

2 participants