summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-02-25 11:55:56 +0100
committerGitHub <noreply@github.com>2021-02-25 11:55:56 +0100
commita258d40c2831419fdac45c160cd65db6d74a4308 (patch)
tree0a86002d0bf8f70731cf9a11bdefe370c3b286f9
parent127a630ba35e9742176dc07f64a2fb7368f8084b (diff)
downloadspack-a258d40c2831419fdac45c160cd65db6d74a4308.tar.gz
spack-a258d40c2831419fdac45c160cd65db6d74a4308.tar.bz2
spack-a258d40c2831419fdac45c160cd65db6d74a4308.tar.xz
spack-a258d40c2831419fdac45c160cd65db6d74a4308.zip
kcov: add missing dependency (#21932)
kcov CMakeLists.txt generates the "kcov" executable only if certain dependencies are found. These dependencies are "libbfd", "libopcodes" and "libiberty", hence the dependency on binutils.
-rw-r--r--var/spack/repos/builtin/packages/kcov/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kcov/package.py b/var/spack/repos/builtin/packages/kcov/package.py
index 68296c06cb..5365d5d6bc 100644
--- a/var/spack/repos/builtin/packages/kcov/package.py
+++ b/var/spack/repos/builtin/packages/kcov/package.py
@@ -19,6 +19,8 @@ class Kcov(CMakePackage):
depends_on('cmake@2.8.4:', type='build')
depends_on('zlib')
depends_on('curl')
+ depends_on('elfutils')
+ depends_on('binutils +libiberty', type='link')
def cmake_args(self):
# Necessary at least on macOS, fixes linking error to LLDB