fangohr / octopus-in-spack

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

Add flavours as variants #89

Closed iamashwin99 closed 6 months ago

iamashwin99 commented 1 year ago

This MR tries to add metavariants to define a group of optional dependencies in order to give users an easy way to define "frequently used together dependencies" quickly. for eg:

spack install octopus +mpi +netcdf+parmetis+arpack+cgal+pfft+pnfft+python+likwid+libyaml+elpa+nlopt+etsf-io+sparskit+berkeleygw+nfft~debug~cuda~metis~scalapack 

becomes

spack install octopus +flavour=full_mpi~debug~cuda~metis~scalapac

We could base these flavours based on the EasyBuild package sets that octopus developers use if needed.