Skip to content

Conversation

tbirdso
Copy link
Contributor

@tbirdso tbirdso commented Dec 14, 2022

Formalizes build steps on respective platforms for building modules that
depend on other modules.

Adapted from ITKBSplineGradient, ITKUltrasound, and other ITK modules
whose build procedures include building at least one other ITK module
before the target module itself.

References:
https://github.com/InsightSoftwareConsortium/ITKBSplineGradient/blob/master/.github/workflows/build-test-package.yml#L164

https://github.com/KitwareMedical/ITKUltrasound/blob/master/.github/workflows/build-test-package.yml#L174

Testing at:

ITKSplitComponents (easy case, no module dependencies)
https://github.com/tbirdso/ITKSplitComponents/actions/runs/3698786787

ITKBSplineGradient (medium case, one module dependency)
https://github.com/InsightSoftwareConsortium/ITKBSplineGradient/actions/runs/3698776628/jobs/6265388050

ITKUltrasound (hard case, five module dependencies)
https://github.com/tbirdso/ITKUltrasound/actions/runs/3698825230/jobs/6265488024

EDIT: Testing has passed 🟢

Copy link
Member

@dzenanz dzenanz 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 on a glance. Someone should review this more carefully.

@tbirdso tbirdso marked this pull request as ready for review December 15, 2022 13:58
@tbirdso
Copy link
Contributor Author

tbirdso commented Dec 15, 2022

Testing has passed 🟢 see links in PR description

Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!!

LGTM!

Todos:

  • Squash the WIP
  • Add documentation to the README.
  • In the documentation update, it would be helpful to mention that the order will matter -- for modules with a complex dependency tree, the base modules should be listed first.

Formalizes build steps on respective platforms for building modules that
depend on other modules.

Adapted from ITKBSplineGradient, ITKUltrasound, and other ITK modules
whose build procedures include building at least one other ITK module
before the target module itself.
@tbirdso
Copy link
Contributor Author

tbirdso commented Dec 15, 2022

@thewtex I've addressed your comments, please take a look through updated documentation to verify.

Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tbirdso awesome!

Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍾

@tbirdso tbirdso merged commit aa3b076 into InsightSoftwareConsortium:master Dec 16, 2022
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.

3 participants