fangohr / octopus-in-spack

Develop Octopus in spack (software packaging)
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Make it possible to use CMAKE instead of autotools for build process #104

Open fangohr opened 5 months ago

fangohr commented 5 months ago

Currently, we use autotools in the spack/package.py.

Octopus 14.0 provides support for CMake as the build system. This issue is to modify the spack package for Octopus to support CMake as the build system.

Ideally, the user has a choice wether to build Octopus@14.0 with autotools or CMake, but the vision for the future appears to be a purely CMake-based build. So if necessary, we can switch to CMake-only builds from 14.0 (if already possible) or from a later version of Octopus (if CMake support doesn't match the autotools support for the dependencies available through spack).