summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-15Kluge to get the gfortran linker to work correctly for SciPy on Big Sur. ↵Ben Cowan1-0/+8
(#20367) * Kluge to get the gfortran linker to work correctly on Big Sur. * Fixed formatting error; stetting the other. * Removed spaces. * Added comment, mainly to re-trigger Spack CI.
2020-12-15concretizer: don't use one_of_iff for range constraints (#20383)Todd Gamblin2-58/+50
Currently, version range constraints, compiler version range constraints, and target range constraints are implemented by generating ground rules from `asp.py`, via `one_of_iff()`. The rules look like this: ``` version_satisfies("python", "2.6:") :- 1 { version("python", "2.4"); ... } 1. 1 { version("python", "2.4"); ... } 1. :- version_satisfies("python", "2.6:"). ``` So, `version_satisfies(Package, Constraint)` is true if and only if the package is assigned a version that satisfies the constraint. We precompute the set of known versions that satisfy the constraint, and generate the rule in `SpackSolverSetup`. We shouldn't need to generate already-ground rules for this. Rather, we should leave it to the grounder to do the grounding, and generate facts so that the constraint semantics can be defined in `concretize.lp`. We can replace rules like the ones above with facts like this: ``` version_satisfies("python", "2.6:", "2.4") ``` And ground them in `concretize.lp` with rules like this: ``` 1 { version(Package, Version) : version_satisfies(Package, Constraint, Version) } 1 :- version_satisfies(Package, Constraint). version_satisfies(Package, Constraint) :- version(Package, Version), version_satisfies(Package, Constraint, Version). ``` The top rule is the same as before. It makes conditional dependencies and other places where version constraints are used work properly. Note that we do not need the cardinality constraint for the second rule -- we already have rules saying there can be only one version assigned to a package, so we can just infer from `version/2` `version_satisfies/3`. This form is also safe for grounding -- If we used the original form we'd have unsafe variables like `Constraint` and `Package` -- the original form only really worked when specified as ground to begin with. - [x] use facts instead of generating rules for package version constraints - [x] use facts instead of generating rules for compiler version constraints - [x] use facts instead of generating rules for target range constraints - [x] remove `one_of_iff()` and `iff()` as they're no longer needed
2020-12-15fmt: added v7.1.3, update URLs (#20404)Dr. Christian Tacke1-2/+3
2020-12-15bison: added versions up to v3.7.4 (#20400)Ryan Mast1-0/+5
2020-12-15gromacs: removed mentions of non-existing variants (#20405)AMD Toolchain Support1-1/+0
2020-12-15dealii, piranha, trilinos: remove mentions of non-existing variants (#20406)Massimiliano Culpo3-6/+2
2020-12-15Bugfix/docs: correct and expand smoke test documentation (#20278)Tamara Dahlgren1-70/+151
2020-12-15comgr: disable hip compile test from /opt/rocm (#20330)Mark W. Krentel2-2/+20
2020-12-15outputs: restore default output of fetch/build/total times (#20394)Tamara Dahlgren1-5/+4
2020-12-15package sanity: ensure all variant defaults are allowed values (#20373)Massimiliano Culpo19-25/+36
2020-12-14Bugfix: Correct the git URL (#20391)Tamara Dahlgren1-1/+1
2020-12-14ParaView: add new ParaView-5.9.0-RC2 release (#20222)Vicente Bolea1-2/+3
* ParaView: add new ParaView-5.9.0-RC2 release Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com> * Update var/spack/repos/builtin/packages/paraview/package.py Indeed, I misunderstood the previous review. This looks good to me too. Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-12-14bazel: add latest versions up to 3.7.1 (#20355)Ryan Mast1-1/+4
2020-12-14boost: added v1.75.0 (#20366)Tim Haines1-0/+1
2020-12-14mysql: fixed variant mismatch with boost (#20370)Andre Sailer1-1/+1
Require boost at cxxstd=14 if cxxstd=14 is selected, not 11
2020-12-14likwid: Add variant for Nvidia GPU profiling feature (#20337)Thomas Gruber1-4/+34
2020-12-14WarpX: PSATD on (#20342)Axel Huebl1-4/+4
Enabling PSATD is not mutually exclusive with other runtime options anymore, so we can always compile with support for it to ease usability.
2020-12-14Propagate cuda_arch downstream from LBANN, Hydrogen and DiHydrogen (#20345)Brian Van Essen3-2/+12
2020-12-14gradle: updated versions up to v6.7.1 (#20358)Ryan Mast1-1/+38
2020-12-14concretizer: remove clingo command-line driver (#20362)Todd Gamblin1-216/+0
I was keeping the old `clingo` driver code around in case we had to run using the command line tool instad of through the Python interface. So far, the command line is faster than running through Python, but I'm working on fixing that. I found that if I do this: ```python control = clingo.Control() control.load("concretize.lp") control.load("hdf5.lp") # code from spack solve --show asp hdf5 control.load("display.lp") control.ground([("base", [])]) control.solve(...) ``` It's just as fast as the command line tool. So we can always generate the code and load it manually if we need to -- we don't need two drivers for clingo. Given that the python interface is also the only way to get unsat cores, I think we pretty much have to use it. So, I'm removing the old command line driver and other unused code. We can dig it up again from the history if it is needed.
2020-12-14libmaus2: new package at v2.0.767 (#20300)takanori-ihara1-0/+27
2020-12-14wps: fix build for aarch64 (#20363)Tomoyasu Nojiri2-0/+13
2020-12-11Debugging support: fix compiler wrapper log on Mac OS (#20333)Ben Cowan1-0/+2
This fixes a logging error observed on macOS 11.0.1 (Big Sur). When performing a Spack install in debugging mode (e.g. `spack -d install py-scipy`) Spack is supposed to write a log of compiler wrapper command line invocations to the current working directory. Due to a regression error introduced by #18205, these files were no-longer generated, and Spack was printing errors such as "No such file or directory: None/." This is because the log file directory gets set from `spack.main.spack_working_dir`, but that variable is not set in the spawned process. This PR ensures that the working directory (at the time of the "spack install" invocation) is persisted to the subprocess.
2020-12-11fio: added v3.25 (#20302)yellowhat1-1/+2
2020-12-11dd4hep: added v01-15, edm4hep variant and updated url_for_version (#20304)vvolkl1-19/+32
2020-12-11albert: added v4.0a (#20306)Levi Baber1-0/+1
2020-12-11root: added v6.22.06 (#20309)Dr. Christian Tacke1-0/+1
2020-12-11prmon: added v2.1.1 (#20318)vvolkl1-0/+1
2020-12-11Add amazonlinux (x86/arm) dockerfile (#20320)Christian Kniep1-0/+70
Co-authored-by: Christian Kniep <kniec@amazon.com>
2020-12-11py-dadi: added new package at v2020-12-02 (#20314)Desmond Orton1-0/+27
2020-12-11openjdk: bump version 1.8 and 11 (#20315)Ryan Marcellino1-0/+4
2020-12-11caliper: add a variant to enable Fortran support (#20332)QuellynSnead1-1/+4
2020-12-11py-angel: new package at v3.0 (#20331)manifest1-0/+23
2020-12-11py-torchvision: add v0.8.2 (#20328)Adam J. Stewart1-1/+3
2020-12-11py-torch: add v1.7.1 (#20327)Adam J. Stewart1-0/+1
2020-12-11py-pyarrow: fix build for aarch64 (#20335)Tomoyasu Nojiri2-0/+16
2020-12-11flux: added v0.20.0 and v0.21.0 (#20322)Robert Pavel2-1/+6
Fixed hard tab in flux-sched edit and unbound hwloc in flux-core after testing to better support modern MPIs in spack environments Verified that flux-core@0.17 is when hwloc@2: became viable
2020-12-11curl: added v7.64.0, v7.74.0 (#20321)Dr. Christian Tacke1-2/+4
2020-12-10Tests: enable re-use of post-install tests in smoke tests (#20298)Tamara Dahlgren2-3/+8
2020-12-10hepmc: Add 2.06.11, switch to https (#20286)Dr. Christian Tacke1-3/+4
2020-12-10Add a new NEST version, 2.20.0. (#20316)Itaru Kitayama2-1/+2
* Add a new NEST version, 2.20.0. * Scalasca requires Score-P as a 'run' dependency. Co-authored-by: Itaru Kitayama <itaru.kitayama@riken.jp>
2020-12-10AMD ROCm Release: Bump up versions(3.9.0 and 3.10.0) for miopen-hip (#20296)arjun-raj-kuppala2-2/+32
2020-12-09votca-*: add v1.6.3 (#20308)Christoph Junghans5-5/+10
2020-12-09Adding NVIDIA HPC SDK 20.11 (#20287)Filippo Spiga1-0/+4
2020-12-09Adding CUDA 11.1.1 (#20289)Filippo Spiga1-0/+4
2020-12-09AMD ROCm Release: Bump up migraphx recipe with 3.9.0 and 3.10.0 (#20299)arjun-raj-kuppala2-8/+33
2020-12-09Below changes were added to lammps recipe: (#20288)AMD Toolchain Support1-2/+7
1) amdfftw library support 2) opt added in supported packages
2020-12-09New patch release SLEPc 3.14.1 (#20291)Jose E. Roman1-0/+1
2020-12-09openssl: add 1.1.1i (#20294)Michael Kuhn1-0/+1
2020-12-08Command Reference: add link to spack test docs (#20054)Adam J. Stewart1-0/+2