-
Notifications
You must be signed in to change notification settings - Fork 9
#2454: Add spack-package build to bake file
#2460
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
#2454: Add spack-package build to bake file
#2460
Conversation
|
no modified files to format
|
1802e6a to
bf188b2
Compare
…uests and one for develop-only builds. Also new workflow file was added for develop-only bulds
bf188b2 to
60c5e8a
Compare
spack-package build to bake file
388df5b to
e27d3be
Compare
094c5a2 to
e50a89a
Compare
e50a89a to
5e2beac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Up for discussion whether we want to run this on PRs too.
docker-bake.hcl
Outdated
|
|
||
| group "vt-develop" { | ||
| targets = [ | ||
| "vt-build-amd64-ubuntu-20-04-gcc-10-openmpi-cpp-spack", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really want to test spack package only on develop? 🤔
We could probably change spack install darma-vt@develop to use branch. Are there any other limitations / concerns?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I understand you can only build package with one of the declared versions/branches inside package.py.
In our case it is:
- 1.0.0
- 1.5.0
- develop
https://github.com/DARMA-tasking/spack-package/blob/master/packages/darma-vt/package.py#L59-L61
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, this was probably the reason for setting the build up this way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we really want to test per branch, we could create a script that modifies the package.py to temporarily include version('branch_name', branch='branch_name')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, it seems to be working!
|
Converting to draft - testing spack-package feature branch |
426072e to
94857f4
Compare
|
Could you review DARMA-tasking/spack-package#32? Once that it merged I'll update this branch to use |
94857f4 to
3c94b2f
Compare
3c94b2f to
37af7aa
Compare
Fixes #2454