Skip to content

Respect disabled components during install#228

Merged
zayenz merged 4 commits into
mainfrom
feature/clean-disabled-install
Jul 14, 2026
Merged

Respect disabled components during install#228
zayenz merged 4 commits into
mainfrom
feature/clean-disabled-install

Conversation

@zayenz

@zayenz zayenz commented Jul 13, 2026

Copy link
Copy Markdown
Member

Autotools installations created files and directories for components that had been disabled. Example data headers were always part of the installed header set, while FlatZinc executables, launchers, and MiniZinc directories could outlive the component boundary.

This change:

  • installs example data headers only when examples are enabled;
  • keeps the complete example-header inventory for documentation, licensing, and source statistics;
  • installs fzn-gecode, mzn-gecode, solver configurations, and the MiniZinc library only when FlatZinc is enabled; and
  • creates MiniZinc directories only when there are files to install.

The existing Autoconf install smoke assertions now also cover the example headers and FlatZinc launcher.

Closes #107.
Closes #108.

@zayenz zayenz marked this pull request as ready for review July 14, 2026 05:36
@zayenz zayenz force-pushed the feature/clean-disabled-install branch from 6a95a30 to 13640e0 Compare July 14, 2026 05:40
@zayenz zayenz merged commit 51d3b54 into main Jul 14, 2026
14 checks passed
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