summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorChris Green <greenc@fnal.gov>2019-04-19 17:34:55 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2019-04-19 15:34:55 -0700
commit3b34931f6886a44709c35eb0a41535f88b3e2002 (patch)
tree4695748b919f8f03d0244c5cb66a847cbfae19ff /var
parent56c233b0b70320c0d5534d736d2bebc83e379fd3 (diff)
downloadspack-3b34931f6886a44709c35eb0a41535f88b3e2002.tar.gz
spack-3b34931f6886a44709c35eb0a41535f88b3e2002.tar.bz2
spack-3b34931f6886a44709c35eb0a41535f88b3e2002.tar.xz
spack-3b34931f6886a44709c35eb0a41535f88b3e2002.zip
mysql: 5.7.X versions link boost (#11237)
Fixes #11226 MySQL 5.7.X and Boost 1.59.0 have a closer relationship than MySQL >= 8.0 and their corresponding Boost versions: 5.7.X needs to link against boost libraries which is indicated by marking boost as a link dependency (removing the 'type' reverts to the default, which includes link and build).
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/mysql/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/mysql/package.py b/var/spack/repos/builtin/packages/mysql/package.py
index 86784df7ae..8e5c534d0a 100644
--- a/var/spack/repos/builtin/packages/mysql/package.py
+++ b/var/spack/repos/builtin/packages/mysql/package.py
@@ -79,10 +79,10 @@ class Mysql(CMakePackage):
depends_on('boost@1.66.0 cxxstd=14', type='build', when='@8.0.11 cxxstd=14')
depends_on('boost@1.66.0 cxxstd=17', type='build', when='@8.0.11 cxxstd=17')
# 5.7.X
- depends_on('boost@1.59.0 cxxstd=98', type='build', when='@5.7.0:5.7.999 cxxstd=98')
- depends_on('boost@1.59.0 cxxstd=11', type='build', when='@5.7.0:5.7.999 cxxstd=11')
- depends_on('boost@1.59.0 cxxstd=14', type='build', when='@5.7.0:5.7.999 cxxstd=14')
- depends_on('boost@1.59.0 cxxstd=17', type='build', when='@5.7.0:5.7.999 cxxstd=17')
+ depends_on('boost@1.59.0 cxxstd=98', when='@5.7.0:5.7.999 cxxstd=98')
+ depends_on('boost@1.59.0 cxxstd=11', when='@5.7.0:5.7.999 cxxstd=11')
+ depends_on('boost@1.59.0 cxxstd=14', when='@5.7.0:5.7.999 cxxstd=14')
+ depends_on('boost@1.59.0 cxxstd=17', when='@5.7.0:5.7.999 cxxstd=17')
depends_on('ncurses')
depends_on('openssl')