summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/openspeedshop-utils/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/openspeedshop-utils/package.py')
-rw-r--r--var/spack/repos/builtin/packages/openspeedshop-utils/package.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/openspeedshop-utils/package.py b/var/spack/repos/builtin/packages/openspeedshop-utils/package.py
index a23888c8db..840bad4c43 100644
--- a/var/spack/repos/builtin/packages/openspeedshop-utils/package.py
+++ b/var/spack/repos/builtin/packages/openspeedshop-utils/package.py
@@ -3,12 +3,10 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-import os
-import os.path
-
import spack
import spack.store
from spack import *
+from spack.pkg.builtin.boost import Boost
class OpenspeedshopUtils(CMakePackage):
@@ -81,6 +79,10 @@ class OpenspeedshopUtils(CMakePackage):
# For boost
depends_on("boost@1.66.0:1.69.0")
+ # TODO: replace this with an explicit list of components of Boost,
+ # for instance depends_on('boost +filesystem')
+ # See https://github.com/spack/spack/pull/22303 for reference
+ depends_on(Boost.with_default_variants)
depends_on("dyninst@master", when='@develop')
depends_on("dyninst@10:", when='@2.4.0:9999')