Skip to content

More build instructions #890

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

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

scheibelp
Copy link
Collaborator

@scheibelp scheibelp commented Jul 10, 2025

Fixes #867

Builds on #697 (merged)

In terms of the requests from 867, this currently implements:

  • Generate build instructions for (a) the application along (b) with all its the package dependencies
  • Generate instructions on where to fetch the source repo for the application (and its dependencies), which branch/release/version to use and what patches, if any, to apply
    • (update July 11): I think I'm doing something more useful, namely downloading all the source using spack mirror create)
    • (update July 14): now this dumps the urls into url-info.txt; moreover, the sources are only downloaded if the --download option is specified
  • Dump the entire spack concretizer output
  • If possible, dump the spack runtime environment variables used when running the experiment.
    • (there is not an easy way that occurs to me to generate exactly this, but I write a superset of it)
  • Write out any conflicts (e.g., CUDA version MFEM doesn't work with - which may be listed in Laghos or MFEM package)
  • Write out runtime parameters and environment variables that are set
    • (I now copy the execute_experiment scripts into the output directory)

Other minor changes:

  • show-build now creates the output dir if it didn't exist before

@github-actions github-actions bot added the feature New feature or request label Jul 10, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jul 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.48%. Comparing base (67bdaeb) to head (7d9a94f).
Report is 8 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #890   +/-   ##
========================================
  Coverage    41.48%   41.48%           
========================================
  Files           22       22           
  Lines         1509     1509           
  Branches       213      213           
========================================
  Hits           626      626           
  Misses         838      838           
  Partials        45       45           
Flag Coverage Δ
unittests 41.48% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spack build commands
2 participants