Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-08-17 | py-lightning: add v2.0.7 (#39468) | Adam J. Stewart | 1 | -1/+3 | |
2023-08-17 | Delay abstract hashes lookup (#39251) | Harmen Stoppels | 7 | -68/+92 | |
Delay lookup for abstract hashes until concretization time, instead of until Spec comparison. This has a few advantages: 1. `satisfies` / `intersects` etc don't always know where to resolve the abstract hash (in some cases it's wrong to look in the current env, db, buildcache, ...). Better to let the call site dictate it. 2. Allows search by abstract hash without triggering a database lookup, causing quadratic complexity issues (accidental nested loop during search) 3. Simplifies queries against the buildcache, they can now use Spec instances instead of strings. The rules are straightforward: 1. a satisfies b when b's hash is prefix of a's hash 2. a intersects b when either a's or b's hash is a prefix of b's or a's hash respectively | |||||
2023-08-16 | py-numcodecs %oneapi: add cflags -Wno-error=implicit-function-declaration ↵ | eugeneswalker | 1 | -0/+6 | |
(#39454) | |||||
2023-08-16 | pruners-ninja cflags: -Wno-error=implicit-function-declaration (#39452) | eugeneswalker | 1 | -0/+6 | |
2023-08-16 | amrex+sycl: restructure constraint on %oneapi (#39451) | eugeneswalker | 2 | -2/+3 | |
2023-08-16 | hdf5-vol-cache %oneapi: cflags: add ↵ | eugeneswalker | 1 | -0/+6 | |
-Wno-error=incompatible-function-pointer-types (#39453) | |||||
2023-08-16 | faodel: update github URL organization to sandialabs (#39446) | Todd Kordenbrock | 1 | -3/+3 | |
2023-08-16 | Extract Package from PackageNode for error messages | Massimiliano Culpo | 1 | -72/+72 | |
2023-08-16 | Avoid sort on singleton list during edge insertion (#39458) | Harmen Stoppels | 1 | -9/+7 | |
The median length of this list of 1. For reasons I don't know, `.sort()` still like to call the key function. This saves ~9% of total database read time, and the number of calls goes from 5305 -> 1715. | |||||
2023-08-16 | Do not impose provider conditions, if the node is not a provider (#39456) | Massimiliano Culpo | 2 | -8/+30 | |
* Do not impose provider conditions, if the node is not a provider fixes #39455 When a node can be a provider of a spec, but is not selected as a provider, we should not be imposing provider conditions on the virtual. * Adjust the integrity constraint, by using the correct atom | |||||
2023-08-16 | json: minify by default (#39457) | Harmen Stoppels | 1 | -1/+1 | |
2023-08-16 | Add new custom markers to unit tests (#33862) | Massimiliano Culpo | 83 | -500/+214 | |
* Add "only_clingo", "only_original" and "not_on_windows" markers * Modify tests to use the "not_on_windows" marker * Mark tests that run only with clingo * Mark tests that run only with the original concretizer | |||||
2023-08-15 | Fixed HeFFTe package spec to not do the smoke test prior to 2.2.0 (#39435) | Patrick Bridges | 1 | -0/+6 | |
* Fixed HeFFTe package spec to not do the smoke test prior to 2.2.0, where it breaks * Convert test return to 'raise SkipTest' --------- Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | |||||
2023-08-15 | Change semantic for providers | Massimiliano Culpo | 3 | -12/+58 | |
If a possible provider is not used to satisfy a vdep, then it's not a provider of that vdep. | |||||
2023-08-15 | Change "effect_rules" for symmetry with trigger rules | Massimiliano Culpo | 1 | -13/+16 | |
This even though right now we don't have cases where the effect is on another package. | |||||
2023-08-15 | Rework conflicts so that "vendors" is not needed anymore | Massimiliano Culpo | 9 | -88/+39 | |
2023-08-15 | Add a description at the top of lp files | Massimiliano Culpo | 4 | -2/+22 | |
2023-08-15 | Remove commented out code in lp files | Massimiliano Culpo | 2 | -13/+0 | |
2023-08-15 | Reduce line length in lp file | Massimiliano Culpo | 1 | -3/+11 | |
2023-08-15 | Demote warning to debug message | Massimiliano Culpo | 1 | -1/+1 | |
2023-08-15 | Rename "main_node" -> "make_node" | Massimiliano Culpo | 2 | -8/+8 | |
2023-08-15 | Rename ""*_node" -> "*_dupe" | Massimiliano Culpo | 2 | -28/+28 | |
2023-08-15 | Rename "stringify", improve docs | Massimiliano Culpo | 1 | -10/+15 | |
2023-08-15 | Add vendors directive | Massimiliano Culpo | 9 | -9/+109 | |
For the time being this directive prevents the vendored package to be in the same DAG as the one vendoring it. | |||||
2023-08-15 | Add "^" automatically for named conflicts that don't refer to 'this' package | Massimiliano Culpo | 1 | -1/+14 | |
See https://github.com/spack/spack/pull/38447#discussion_r1285291520 | |||||
2023-08-15 | Inline a few functions that are not needed anymore | Massimiliano Culpo | 1 | -20/+8 | |
2023-08-15 | Remove the need for "node_regex" | Massimiliano Culpo | 2 | -12/+21 | |
2023-08-15 | Rename method: "root_node" -> "main_node" | Massimiliano Culpo | 2 | -7/+7 | |
2023-08-15 | Rename const: "root_node_id" -> "main_node_id" | Massimiliano Culpo | 1 | -13/+14 | |
2023-08-15 | Rename atom: "special_case" -> "multiple_nodes_attribute" | Massimiliano Culpo | 1 | -5/+6 | |
2023-08-15 | Rename atom: "facts" -> "pkg_fact" | Massimiliano Culpo | 3 | -87/+87 | |
2023-08-15 | Simplify "node_has_variant" internal atom. | Massimiliano Culpo | 1 | -13/+13 | |
2023-08-15 | Removed leftover TODOs | Massimiliano Culpo | 2 | -14/+5 | |
2023-08-15 | ecp-data-viz-sdk: fix building with new encoding | Massimiliano Culpo | 1 | -3/+4 | |
2023-08-15 | We cannot require "mpich" as an mpi provider and ask for openmpi | Massimiliano Culpo | 1 | -2/+2 | |
2023-08-15 | Improve handling of cases with cycles | Massimiliano Culpo | 5 | -28/+88 | |
To avoid paying the cost of setup and of a full grounding again, move cycle detection into a separate program and check first if the solution has cycles. If it has, ground only the integrity constraint preventing cycles and solve again. | |||||
2023-08-15 | Fix ecp-data-vis-sdk: a package cannot impose constraints on transitive deps | Massimiliano Culpo | 1 | -1/+1 | |
2023-08-15 | Optimize grounding of "can_inherit_flags" | Massimiliano Culpo | 1 | -3/+6 | |
2023-08-15 | Fix computation of max nodes | Massimiliano Culpo | 3 | -30/+39 | |
2023-08-15 | Add unit-tests for use cases requiring separate concretization of build deps | Massimiliano Culpo | 10 | -0/+210 | |
2023-08-15 | Add a new configuration option to select among different concretization modes | Massimiliano Culpo | 5 | -48/+197 | |
The "concretizer" section has been extended with a "duplicates:strategy" attribute, that can take three values: - "none": only 1 node per package - "minimal": allow multiple nodes opf specific packages - "full": allow full duplication for a build tool | |||||
2023-08-15 | Fix a few bugs in the encoding when imposing constraints on build deps only | Massimiliano Culpo | 1 | -14/+12 | |
These bugs would show up when we try to split nodes by imposing different targets or different compilers to all build dependencies. | |||||
2023-08-15 | Construct unification sets on demand, improve heuristic | Massimiliano Culpo | 4 | -31/+81 | |
2023-08-15 | Reduce the number of unification sets to only two | Massimiliano Culpo | 1 | -1/+2 | |
2023-08-15 | Make cycle detection optional, to speed-up grounding and solving | Massimiliano Culpo | 3 | -11/+35 | |
2023-08-15 | Deduplicate trigger and effect conditions in packages | Massimiliano Culpo | 2 | -28/+95 | |
This refactor introduces extra indices for triggers and effect of a condition, so that the corresponding clauses are evaluated once for every condition they apply to. | |||||
2023-08-15 | Extract a function to emit variant rules | Massimiliano Culpo | 1 | -20/+23 | |
2023-08-15 | ASP-based solver: do not optimize on known dimensions | Massimiliano Culpo | 4 | -30/+33 | |
All the solution modes we use imply that we have to solve for all the literals, except for "when possible". Here we remove a minimization on the number of literals not solved, and emit directly a fact when a literal *has* to be solved. | |||||
2023-08-15 | Tweak a unit test by allowing a different type of exception to be raised | Massimiliano Culpo | 1 | -2/+3 | |
2023-08-15 | Reduce the dependency types in a solve | Massimiliano Culpo | 1 | -4/+25 | |
Count the maximum number of nodes based on dependency types |