From 3b34931f6886a44709c35eb0a41535f88b3e2002 Mon Sep 17 00:00:00 2001 From: Chris Green Date: Fri, 19 Apr 2019 17:34:55 -0500 Subject: 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). --- var/spack/repos/builtin/packages/mysql/package.py | 8 ++++---- 1 file 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') -- cgit v1.2.3-70-g09d2