Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ components = [
'source_urls': ['https://github.com/InsightSoftwareConsortium/ITK/archive/'],
'checksums': ['c6b3c33ecc73104c906e0e1a1bfaa41a09af24bf53a4ec5e5c265d7e82bdf69f'],
'srcdir': '%%(builddir)s/ITK-%s' % local_itk_ver,
# we need to take matters into our own hands here to ensure we have a unique build directory per component;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm wondering if it wouldn't be better if this is done in the CMakeMake EB. Currently the build folders are %(start_dir)s/easybuild_obj for these components, aren't they? How about instead if using %(builddir)s/easybuild_obj we use %(builddir)s/easybuild_obj_%(name)s or so?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, that's also an option I guess, yeah...

But let's make that a separate PR, I don't want to block easybuilders/easybuild-easyblocks#1933 over this.

# by default, CMakeMake will (re)use %(builddir)s/easybuild_obj, which causes trouble
'separate_build_dir': False,
'preconfigopts': "mkdir easybuild_obj && cd easybuild_obj && Eigen3_DIR=$EBROOTEIGEN ",
'configopts': local_itk_configopts,
'prebuildopts': "cd easybuild_obj && ",
Expand All @@ -87,6 +90,7 @@ components = [
}],
'checksums': ['a377ae0307231bf70c474e87ebbf07d649faca211febf1c1d981a2039fcfcd0e'],
'srcdir': '%%(builddir)s/elastix-%s' % local_elastix_ver,
'separate_build_dir': False,
'preconfigopts': "mkdir easybuild_obj && cd easybuild_obj && ",
'configopts': local_elastix_configopts,
'prebuildopts': "cd easybuild_obj && ",
Expand Down