summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorasmaahassan90 <31959389+asmaahassan90@users.noreply.github.com>2019-12-03 19:33:27 +0300
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-03 10:33:27 -0600
commitfb52f1c7e2079eb09260b6dc8b4cf548e4481c04 (patch)
treeab0dd5b33c610aa0a6bd6f05588d774a6be1b8cb /var
parent88680febc92eca5d09f639eaea45657beddcdfe4 (diff)
downloadspack-fb52f1c7e2079eb09260b6dc8b4cf548e4481c04.tar.gz
spack-fb52f1c7e2079eb09260b6dc8b4cf548e4481c04.tar.bz2
spack-fb52f1c7e2079eb09260b6dc8b4cf548e4481c04.tar.xz
spack-fb52f1c7e2079eb09260b6dc8b4cf548e4481c04.zip
fix_cantera_installation (#13962)
For a successful cantera installation, googletest has to be installed with gmock on, and sundials has to be of version less than 3.2
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cantera/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/cantera/package.py b/var/spack/repos/builtin/packages/cantera/package.py
index fd66cef27c..5d808310d7 100644
--- a/var/spack/repos/builtin/packages/cantera/package.py
+++ b/var/spack/repos/builtin/packages/cantera/package.py
@@ -27,10 +27,10 @@ class Cantera(SConsPackage):
# Required dependencies
depends_on('fmt@3.0.0:3.0.2', when='@2.3.0:')
- depends_on('googletest', when='@2.3.0:')
+ depends_on('googletest+gmock', when='@2.3.0:')
depends_on('eigen', when='@2.3.0:')
depends_on('boost')
- depends_on('sundials', when='+sundials') # must be compiled with -fPIC
+ depends_on('sundials@:3.1.2', when='+sundials') # must be compiled with -fPIC
depends_on('blas')
depends_on('lapack')