Balay/petsc remove boost dependency (#8508)

* petsc: remove dependency on boost - its required only as a dependency on trilinos

Also set COPTFLAGS='' etc - this way CFLAGS is the primary way optimization flags are set by spack

* petsc: update pkgs with petsc~boost dependency

* fix flake8

* boost is optional for trilinos - so adjust petsc dependency on boost [via trilinos] accordingly

* do not add boost dependency on petsc [due to trilinos requirement]. Trilinos adds this dependency anyway.
This commit is contained in:
Satish Balay
2018-06-24 21:22:14 +05:30
committed by Adam J. Stewart
parent f6140375e9
commit df45b6f56d
4 changed files with 16 additions and 13 deletions

View File

@@ -73,10 +73,10 @@ class Ceed(Package):
depends_on('nekcem@0b8bedd', when='@1.0.0+nek')
# PETSc, HPGMG
# For a +quickbuild we disable boost, hdf5, and superlu-dist in PETSc.
# For a +quickbuild we disable hdf5, and superlu-dist in PETSc.
# Ideally, these can be turned into recommendations to Spack for
# concretizing the PETSc spec, if Spack ever supports recommendations.
depends_on('petsc@3.8.3~boost~hdf5~superlu-dist',
depends_on('petsc@3.8.3~hdf5~superlu-dist',
when='@1.0.0+petsc+quickbuild')
depends_on('petsc@3.8.3+mpi+double~int64', when='@1.0.0+petsc~mfem')
# The mfem petsc examples need the petsc variants +hypre, +suite-sparse,