summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-05-03 20:04:38 +0200
committerGreg Becker <becker33@llnl.gov>2019-05-04 03:04:38 +0900
commit5ffb27071405c77f825444577fb3066ed32b200c (patch)
tree3c9c8e6d91dce5610bafcb26a5f1a3dbdae44730 /share
parent0425670942d44948ab49cda55be43dfb1adbeccf (diff)
downloadspack-5ffb27071405c77f825444577fb3066ed32b200c.tar.gz
spack-5ffb27071405c77f825444577fb3066ed32b200c.tar.bz2
spack-5ffb27071405c77f825444577fb3066ed32b200c.tar.xz
spack-5ffb27071405c77f825444577fb3066ed32b200c.zip
Added a function that concretizes specs together (#11158)
* Added a function that concretizes specs together * Specs concretized together are copied instead of being referenced This makes the specs different objects and removes any reference to the fake root package that is needed currently for concretization. * Factored creating a repository for concretization into its own function * Added a test on overlapping dependencies
Diffstat (limited to 'share')
-rw-r--r--share/spack/templates/misc/coconcretization.pyt15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/spack/templates/misc/coconcretization.pyt b/share/spack/templates/misc/coconcretization.pyt
new file mode 100644
index 0000000000..eddab6a70c
--- /dev/null
+++ b/share/spack/templates/misc/coconcretization.pyt
@@ -0,0 +1,15 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Concretizationroot(Package):
+ url = 'fake_url'
+
+ version('1.0')
+
+{% for dep in specs %}
+ depends_on('{{ dep }}')
+{% endfor %}
+