summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Green <greenc@fnal.gov>2023-06-24 03:25:39 -0500
committerGitHub <noreply@github.com>2023-06-24 10:25:39 +0200
commit09d9b48957fb7adae92674c04916f4081cb8a257 (patch)
treee9553b3f4bd18c397022fa86d7e90fd825bcc4a3
parent62aa9d87eee63f582720e6d7d32173a8557c2309 (diff)
downloadspack-09d9b48957fb7adae92674c04916f4081cb8a257.tar.gz
spack-09d9b48957fb7adae92674c04916f4081cb8a257.tar.bz2
spack-09d9b48957fb7adae92674c04916f4081cb8a257.tar.xz
spack-09d9b48957fb7adae92674c04916f4081cb8a257.zip
range-v3: remove overbroad boost dependence (#38539)
Co-authored-by: greenc-FNAL <greenc-FNAL@users.noreply.github.com>
-rw-r--r--var/spack/repos/builtin/packages/range-v3/package.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/range-v3/package.py b/var/spack/repos/builtin/packages/range-v3/package.py
index 71a8726868..9ab4c315b4 100644
--- a/var/spack/repos/builtin/packages/range-v3/package.py
+++ b/var/spack/repos/builtin/packages/range-v3/package.py
@@ -7,7 +7,6 @@ import os
import shutil
from spack.package import *
-from spack.pkg.builtin.boost import Boost
class RangeV3(CMakePackage):
@@ -66,13 +65,16 @@ class RangeV3(CMakePackage):
depends_on("cmake@3.6:", type="build")
depends_on("doxygen+graphviz", type="build", when="+doc")
- depends_on("boost@1.59.0: cxxstd=14", type="build", when="+examples cxxstd=14")
- depends_on("boost@1.59.0: cxxstd=17", type="build", when="+examples cxxstd=17")
-
- # 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, type="build")
+ depends_on(
+ "boost+date_time+program_options@1.59.0: cxxstd=14",
+ type="build",
+ when="+examples cxxstd=14",
+ )
+ depends_on(
+ "boost+date_time+program_options@1.59.0: cxxstd=17",
+ type="build",
+ when="+examples cxxstd=17",
+ )
# Fix reported upstream issue
# https://github.com/ericniebler/range-v3/issues/1196 per PR