[UPDATE] Expand Docker module coverage for full-featured Chrono builds#736
[UPDATE] Expand Docker module coverage for full-featured Chrono builds#736sshawn9 wants to merge 19 commits intoprojectchrono:mainfrom
Conversation
…build Spectra from source
…and build Blaze from source
…build from source
…_SCRIPTS in Dockerfile
|
@sshawn9 Thank you for the contribution. Project Chrono is currently undergoing CI/CD and packaging pipeline upgrades to support both AMD and NVIDIA GPUs. Because of that, I may need to put the review on hold for a few more days until the overall structure is finalized. Once that is done, I should be able to merge your PR. |
Thanks for the update! Take your time with the CI/CD upgrades. Please let me know if any changes or adjustments are needed for this PR to align with the new structure once it's finalized. I'd be more than happy to help update it. |
Summary
This PR extends the Docker build snippets to support a fuller Chrono image with additional optional modules and their dependencies. It adds snippets for Cascade, CSharp, DEM, FMI, FSI, Modal, Multicore, MUMPS, PardisoMKL, Peridynamics, and Postprocess, then wires them into the main Chrono Docker snippet.
It also updates the Docker build configuration for CUDA 12.9 and adds a standalone
release.dockerfileentrypoint for users who want to build the image directly withdocker buildrather than Docker Compose.Related Issue(s)
N/A
Author(s)
@sshawn9
Licensing
By submitting this pull request, I agree that my contribution will be included in Chrono and redistributed under the BSD-3-Clause License.
Backward Compatibility
This change is limited to Docker build infrastructure and does not change Chrono source APIs or runtime behavior outside the generated Docker image. Existing module snippets remain usable independently.
Implementation Notes
chrono.dockerfileto include the new module snippets.CHRONO_CUDA_ARCHITECTUREShandling so CUDA modules can configure with CMake versions before 3.23.release.dockerfileas a standalone Docker build entrypoint mirroring the Compose-based dev image defaults.Verification
Dockerfile snippets were checked against the corresponding Chrono CMake module requirements.
The standalone release Dockerfile and Compose configuration were reviewed for matching build arguments and include paths.
Full Docker image build verification should be performed with:
cd contrib/docker docker compose build devand, for the standalone entrypoint:
Post Submission Checklist
Further Information, Files, and Links
N/A