Skip to content

structural changes to the build system#323

Merged
hugary1995 merged 1 commit intomainfrom
notebooks_ci
Feb 9, 2026
Merged

structural changes to the build system#323
hugary1995 merged 1 commit intomainfrom
notebooks_ci

Conversation

@hugary1995
Copy link
Collaborator

This pull request introduces several structural and configuration changes to the build system, focusing on simplifying the build options, improving Python integration, and updating documentation and notebook handling. The most notable changes are the replacement of the old runner and documentation options with a unified tools option, improved handling of editable Python wheel installs, and enhanced support for Jupyter notebooks and documentation workflows.

Build system and configuration changes:

  • Replaced the NEML2_RUNNER, NEML2_PYBIND, and NEML2_DOC options with NEML2_TOOLS and NEML2_WHEEL, consolidating utility binaries and Python wheel builds under new options. Updated CMakeLists.txt and CMakePresets.json accordingly. [1] [2] [3] [4]
  • Improved handling of editable Python wheel installs by adjusting library and binary installation paths and conditional installation of CMake module files and third-party dependencies. [1] [2] [3] [4] [5] [6] [7]

Documentation and notebook workflow improvements:

  • Added a Git submodule for doxygen-awesome-css and removed internal Doxygen download logic, shifting documentation build processes to external scripts and workflows. [1] [2]
  • Updated .gitattributes to disable diff for .ipynb files and introduced .jupytext.toml and .pre-commit-config.yaml to synchronize Jupyter notebooks with Markdown using Jupytext. [1] [2] [3]

CI workflow updates:

  • Refactored GitHub Actions workflows to use new build and documentation scripts, update artifact paths, and adjust build steps for Python and C++ jobs to match the new build options and directory structure. [1] [2] [3] [4] [5] [6]

These changes streamline the build and documentation process, improve Python integration, and enhance notebook management for development and CI.

@hugary1995
Copy link
Collaborator Author

I will wait for #321 to merge first, cuz I need to modify the CI infrastructure for this PR.

@hugary1995 hugary1995 changed the title Quality-of-life improvements structural changes to the build system Feb 8, 2026
@hugary1995 hugary1995 force-pushed the notebooks_ci branch 5 times, most recently from 5b61536 to 9ab96d8 Compare February 9, 2026 03:39
* unified configure flags
* support editable wheel install
* make doxygen-awesome-css a submodule
* do not auto-download doxygen
* better handle notebook tracking
* include notebooks in documentation
* refactor documentation build process
* adapt github actions to use new doc build scripts
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

@hugary1995 hugary1995 merged commit b42943a into main Feb 9, 2026
26 checks passed
@hugary1995 hugary1995 deleted the notebooks_ci branch February 9, 2026 04:40
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