Skip to content

Conversation

@JacobDomagala
Copy link
Member

Fixes #2454

@JacobDomagala JacobDomagala self-assigned this Jul 21, 2025
@JacobDomagala JacobDomagala linked an issue Jul 21, 2025 that may be closed by this pull request
@github-actions
Copy link

clang-format output for this changeset:

no modified files to format

@JacobDomagala JacobDomagala force-pushed the 2454-ci-fix-spack-build-azure-and-migrate-it-to-bake-github branch from 1802e6a to bf188b2 Compare July 21, 2025 16:27
…uests and one for develop-only builds. Also new workflow file was added for develop-only bulds
@JacobDomagala JacobDomagala force-pushed the 2454-ci-fix-spack-build-azure-and-migrate-it-to-bake-github branch from bf188b2 to 60c5e8a Compare July 21, 2025 16:28
@JacobDomagala JacobDomagala changed the title #2454: Add new ARG (used for testing spack) and use it with bake #2454: Add spack-package build to bake file Jul 21, 2025
@JacobDomagala JacobDomagala force-pushed the 2454-ci-fix-spack-build-azure-and-migrate-it-to-bake-github branch 4 times, most recently from 388df5b to e27d3be Compare July 22, 2025 08:55
@JacobDomagala JacobDomagala force-pushed the 2454-ci-fix-spack-build-azure-and-migrate-it-to-bake-github branch 5 times, most recently from 094c5a2 to e50a89a Compare July 22, 2025 10:29
@JacobDomagala
Copy link
Member Author

@JacobDomagala JacobDomagala marked this pull request as ready for review July 22, 2025 11:23
@JacobDomagala JacobDomagala force-pushed the 2454-ci-fix-spack-build-azure-and-migrate-it-to-bake-github branch from e50a89a to 5e2beac Compare July 22, 2025 11:24
Copy link
Contributor

@cz4rs cz4rs left a 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",
Copy link
Contributor

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?

Copy link
Member Author

@JacobDomagala JacobDomagala Jul 23, 2025

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

Copy link
Contributor

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.

Copy link
Member Author

@JacobDomagala JacobDomagala Jul 23, 2025

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')

Copy link
Member Author

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!

@JacobDomagala
Copy link
Member Author

Converting to draft - testing spack-package feature branch

@JacobDomagala JacobDomagala force-pushed the 2454-ci-fix-spack-build-azure-and-migrate-it-to-bake-github branch 2 times, most recently from 426072e to 94857f4 Compare July 23, 2025 14:49
@JacobDomagala
Copy link
Member Author

@cz4rs @lifflander

Could you review DARMA-tasking/spack-package#32? Once that it merged I'll update this branch to use master branch again.

@JacobDomagala JacobDomagala requested a review from cz4rs July 23, 2025 15:13
@JacobDomagala JacobDomagala force-pushed the 2454-ci-fix-spack-build-azure-and-migrate-it-to-bake-github branch from 94857f4 to 3c94b2f Compare July 28, 2025 14:20
@JacobDomagala JacobDomagala marked this pull request as ready for review July 28, 2025 14:53
@JacobDomagala JacobDomagala force-pushed the 2454-ci-fix-spack-build-azure-and-migrate-it-to-bake-github branch from 3c94b2f to 37af7aa Compare July 28, 2025 14:54
@lifflander lifflander merged commit 497d1c3 into develop Jul 28, 2025
52 of 54 checks passed
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.

[CI] fix spack build (Azure) and migrate it to bake (GitHub)

4 participants