Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic build script #67

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Generic build script #67

wants to merge 17 commits into from

Conversation

Heinrich-BR
Copy link
Collaborator

@Heinrich-BR Heinrich-BR commented Dec 11, 2024

This PR introduces a build script for Platypus based on spack which allows the user to set options and add external packages and compilers. It should build by itself all of the dependencies, including MFEM and MOOSE.

The script works by starting with a spack environment template which gets modified depending on the script flags, and to which external packages and compilers are added depending on the software already installed on the machine.

There are some issues yet to be resolved (edit: all done now):

  • Correct linking of XDR library for MOOSE build. ✅
  • Exporting of the invocation command for reproducibility. ✅
  • Fixing (potentially upstream) the MFEM include flags to remove Cmake flags. ✅
  • Adding a manual explaining the different options that can be passed to the script. ✅

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

@Heinrich-BR Heinrich-BR self-assigned this Dec 18, 2024
@Heinrich-BR Heinrich-BR added the enhancement New feature or request label Dec 18, 2024
@Heinrich-BR Heinrich-BR marked this pull request as ready for review December 18, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant