summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2019-05-21 07:38:58 +0200
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-05-21 07:38:58 +0200
commit5d6461b895b01da6d06a9bbff0ecdf78ba17b8d5 (patch)
tree16728e516c112498a2a1d8d7c1dce6b003a19747
parenta34142ed30045003bcde4f09b0b36257d0f0b413 (diff)
downloadspack-5d6461b895b01da6d06a9bbff0ecdf78ba17b8d5.tar.gz
spack-5d6461b895b01da6d06a9bbff0ecdf78ba17b8d5.tar.bz2
spack-5d6461b895b01da6d06a9bbff0ecdf78ba17b8d5.tar.xz
spack-5d6461b895b01da6d06a9bbff0ecdf78ba17b8d5.zip
dealii: fix symengine constraints (#11517)
disable symengine constraints due to limitations of Spack
-rw-r--r--var/spack/repos/builtin/packages/dealii/package.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/dealii/package.py b/var/spack/repos/builtin/packages/dealii/package.py
index 43c4fc4296..fb7230b913 100644
--- a/var/spack/repos/builtin/packages/dealii/package.py
+++ b/var/spack/repos/builtin/packages/dealii/package.py
@@ -148,6 +148,14 @@ class Dealii(CMakePackage, CudaPackage):
depends_on('slepc@:3.6.3', when='@:8.4.1+slepc+petsc+mpi')
depends_on('slepc~arpack', when='+slepc+petsc+mpi+int64')
depends_on('sundials@:3~pthread', when='@9.0:+sundials')
+ # Both Trilinos and SymEngine bundle the Teuchos RCP library.
+ # This leads to conflicts between macros defined in the included
+ # headers when they are not compiled in the same mode.
+ # See https://github.com/symengine/symengine/issues/1516
+ # FIXME: uncomment when the following is fixed
+ # https://github.com/spack/spack/issues/11160
+ # depends_on("symengine@0.4: build_type=Release", when="@9.1:+symengine+trilinos^trilinos~debug") # NOQA: ignore=E501
+ # depends_on("symengine@0.4: build_type=Debug", when="@9.1:+symengine+trilinos^trilinos+debug") # NOQA: ignore=E501
depends_on('symengine@0.4:', when='@9.1:+symengine')
# do not require +rol to make concretization of xsdk possible
depends_on('trilinos+amesos+aztec+epetra+ifpack+ml+muelu+sacado+teuchos', when='+trilinos+mpi~int64~cuda')
@@ -157,13 +165,6 @@ class Dealii(CMakePackage, CudaPackage):
depends_on('trilinos@master+amesos+aztec+epetra+ifpack+ml+muelu+rol+sacado+teuchos~amesos2~ifpack2~intrepid2~kokkos~tpetra~zoltan2', when='+trilinos+mpi~int64+cuda')
depends_on('trilinos@master+amesos+aztec+epetra+ifpack+ml+muelu+rol+sacado+teuchos~hypre~amesos2~ifpack2~intrepid2~kokkos~tpetra~zoltan2', when='+trilinos+mpi+int64+cuda')
- # Both Trilinos and SymEngine bundle the Teuchos RCP library.
- # This leads to conflicts between macros defined in the included
- # headers when they are not compiled in the same mode.
- # See https://github.com/symengine/symengine/issues/1516
- depends_on("symengine build_type=Release", when="^symengine ^trilinos~debug")
- depends_on("symengine build_type=Debug", when="^symengine ^trilinos+debug")
-
# Explicitly provide a destructor in BlockVector,
# otherwise deal.II may fail to build with Intel compilers.
patch('https://github.com/dealii/dealii/commit/a89d90f9993ee9ad39e492af466b3595c06c3e25.patch',