axom icon indicating copy to clipboard operation
axom copied to clipboard

Add ability to turn of Conduit dependency in Spack package

Open white238 opened this issue 5 years ago • 5 comments

Someone might want a version of Axom without Conduit/Sidre but with the rest of our functionality.

white238 avatar Feb 13 '20 23:02 white238

Don't we have that situation with some of our codes already?

rhornung67 avatar Feb 13 '20 23:02 rhornung67

Don't we have that situation with some of our codes already?

To the best of my knowledge, we're all building with hdf5 and conduit which are the main external dependencies for Sidre.

I think it would be nice to have the ability to build without these dependencies easily through spack.

gzagaris avatar Feb 13 '20 23:02 gzagaris

I agree. I just thought people were doing this already.

rhornung67 avatar Feb 14 '20 00:02 rhornung67

Seems like a reasonable idea.

@rhornung67 -- We were building that way in travis for our builds that did not have TPLs, since sidre is the only component that requires TPLs (the rest have optional dependencies). But, those builds were not run through spack.

I guess the benefit of being able to turn off sidre would be to generate an appropriate host-config for a given SYS_TYPE, and to be able to build other optional dependencies.

kennyweiss avatar Feb 14 '20 01:02 kennyweiss

Possibilities:

  • Make Conduit optional dependency and turn off all components that use Conduit if it's off.
  • others?

Also add Spack configuration to test this.

rhornung67 avatar Dec 20 '21 22:12 rhornung67