summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-03-30Make -j flag less exceptional (#22360)Harmen Stoppels8-44/+97
* Make -j flag less exceptional The -j flag in spack behaves differently from make, ctest, ninja, etc, because it caps the number of jobs to an arbitrary number 16. Spack will behave like other tools if `spack install` uses a reasonable default, and `spack install -j <num>` *overrides* that default. This will be particularly useful for Spack usage outside of a traditional HPC context and for HPC centers that encourage users to compile on login nodes with many cores instead of on compute nodes, which has become increasingly common as individual nodes have more cores. This maintains the existing default value of min(num_cpus, 16). However, as it is right now, Spack does a poor job at determining the number of cpus on linux, since it doesn't take cgroups into account. This is particularly problematic when using distributed builds with slurm. This PR also introduces `spack.util.cpus.cpus_available()` to consolidate knowledge on determining the number of available cores, and improves core detection for linux. This should also improve core detection for Docker/ Kubernetes, which also use cgroups.
2021-03-30libLBFGS: Add new package. (#22639)Rémi Lacroix1-0/+29
2021-03-30stat: new version 4.1.0 (#22523)Gregory Lee1-1/+7
* fix issue #22228 build of gdk-pixbuf * added stat 4.1.0 and GUI variant
2021-03-30Add setup_dependent_build_environment() method to nvhpc package (#22578)Scott McMillan1-0/+17
Fix #22520 Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
2021-03-30claw: support for gcc10 (#22618)Sergey Kosukhin1-0/+7
2021-03-30Correct the sha256 ioapi v3.2 (#22633)Hao Lyu1-1/+1
The sha256 of [ioapi-3.2](https://www.cmascenter.org/ioapi/download/ioapi-3.2.tar.gz) should be `0a3cbf236ffbd9fb5f6509e35308c3353f1f53096efe0c51b84883d2da86924b`
2021-03-30New recipe for rocm-opencl-runtime ,bump up version for rdc for rocm-4.1.0 ↵Sreenivasa Murthy Kolam2-1/+52
Release (#22645)
2021-03-30Add sshfs (#22636)Harmen Stoppels1-0/+25
2021-03-30New versions of SIRIUS (#22637)Harmen Stoppels1-0/+2
2021-03-30SpackCommand objects can set global args (#22318)Harmen Stoppels3-5/+31
This commit extends the API of the __call__ method of the SpackCommand class to permit passing global arguments like those interposed between the main "spack" command and the subsequent subcommand. The functionality is used to fix an issue where running ```spack -e . location -b some_package``` ends up printing the name of the environment instead of the build directory of the package, because the location arg parser also stores this value as `arg.env`.
2021-03-30Bootstrapping: swap store before configuration (#22631)Massimiliano Culpo3-6/+45
fixes #22294 A combination of the swapping order for global variables and the fact that most of them are lazily evaluated resulted in custom install tree not being taken into account if clingo had to be bootstrapped. This commit fixes that particular issue, but a broader refactor may be needed to ensure that similar situations won't affect us in the future.
2021-03-30cuda: add dev variant and ABI variant for ncurses (#22536)lorddavidiii2-0/+13
* ncurses: add variant +abi5 for version 5 ABI * cuda: add variant dev, which makes cuda-gdb useable - cuda-gdb needs libncurses.so.5, which most distros doesn't have see also https://docs.nvidia.com/cuda/cuda-gdb/index.html#common-issues-oss
2021-03-30curl package: add new stable version 7.75.0 (#22635)Yan Hang1-0/+1
2021-03-30Bootstrap: add _builtin config scope (#22610)Harmen Stoppels1-2/+5
2021-03-30Fix clearing cache of InternalConfigScope (#22609)Harmen Stoppels3-38/+47
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-03-30Update hiop package (#22232)Asher Mancinelli1-18/+124
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-03-30py-numpy: Add the setting to use fujitsu-ssl2 (#22604)takanori-ihara1-0/+22
* py-numpy: Add the setting to use fujitsu-ssl2 * py-numpy: Fix for comments
2021-03-30Bugfixes in LBANN software stack identified by clingo (#22554)Brian Van Essen4-39/+26
* Fixed a bug in the DiHydrogen package where the variant legacy was changed to distconv and wasn't fully propagated. Cleaned up the openmp variants on the blas library packages in DiHydrogen and Elemental. Extended support for Aluminum v1.0 in LBANN, Hydrogen, and DiHydrogen. Fixed a when clause in the LBANN dependencies. * Removed the upper range limit for the Aluminum library dependence * Update var/spack/repos/builtin/packages/dihydrogen/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-03-30spath: new releases (#22625)Cameron Stanavige1-0/+3
This commit adds the url and the two releases/versions to the package.
2021-03-29move binary indices are stored into the misc_cache (#22500)Danny McClanahan2-13/+20
Remote buildcache indices need to be stored in a place that does not require writing to the Spack prefix. Move them from the install_tree to the misc_cache.
2021-03-29bugfix for active when pkg is already active error (#22587)Cyrus Harrison1-2/+7
* bugfix for active when pkg is already active error Co-authored-by: Greg Becker <becker33@llnl.gov>
2021-03-29Externals are preferred even when they have non-default variant valuesMassimiliano Culpo5-1/+58
fixes #22596 Variants which are specified in an external spec are not scored negatively if they encode a non-default value.
2021-03-29Enforce uniqueness of the version_weight atom per nodeMassimiliano Culpo5-7/+49
fixes #22565 This change enforces the uniqueness of the version_weight atom per node(Package) in the DAG. It does so by applying FTSE and adding an extra layer of indirection with the possible_version_weight/2 atom. Before this change it may have happened that for the same node two different version_weight/2 were in the answer set, each of which referred to a different spec with the same version, and their weights would sum up. This lead to unexpected result like preferring to build a new version of an external if the external version was older.
2021-03-29bumpup version for hipify-clang,rocm-gdb-api,rocm-gdb for rocm-4.1.rel (#22622)Sreenivasa Murthy Kolam3-6/+9
2021-03-29Make stage use concrete specs from environment (#22320)Harmen Stoppels2-1/+121
* Make stage use concrete specs from environment Same as in https://github.com/spack/spack/pull/21642, the idea is that we want to easily stage a package that fails to build in a complex environment. Instead of making the user create a spec by hand (basically transforming all the rules in the environment manifest into a spec, defying the purpose of the environment...), use the provided spec as a filter for the already concretized specs. This also speeds up things, cause we don't have to reconcretize.
2021-03-29ELPA: Add missing Python build dependency. (#22466)Rémi Lacroix2-0/+12
Also patch the "manual_cpp" Python script with proper shebang to ensure the Spack provided Python is used instead of the system Python.
2021-03-29Add "spack [cd|location] --source-dir" (#22321)Harmen Stoppels3-58/+82
2021-03-29hdf5: fix link error in dependent packages with %fj (#22512)Tomoki, Karatsu1-0/+4
2021-03-29libfuse: run system install script based on a variant (#22518)Harmen Stoppels2-1/+37
2021-03-29py-matplotlib: add v3.4.0 (#22574)Adam J. Stewart1-6/+10
2021-03-29py-numpy: add v1.20.2 (#22603)Adam J. Stewart1-0/+1
2021-03-28graphite2: add python@3.6: as dependency (#22126)darmac1-0/+2
* graphite2: add python@3.6: as dependency * graphite2: refine python type to run * graphite2: change phthon to test type
2021-03-28Flang default is False. Include a warning to deter people from using it. ↵Nichols A. Romero1-2/+3
(#22524) * Flang default is False. Include a warning to deter people from using it. * Fix flake8 issue.
2021-03-28mpich: fix device detection (#22502)Adam J. Stewart1-5/+2
2021-03-28py-joblib: add v1.0.1 (#22501)Adam J. Stewart1-3/+13
2021-03-28gdrcopy: add v2.2 (#22528)Hervé Yviquel1-8/+2
2021-03-28qt: fix qt@4+gui on darwin (#22602)Seth R. Johnson1-3/+3
2021-03-28mpfr: new version 4.1.0 (#22541)Robert Mijakovic1-0/+2
Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de>
2021-03-28py-scipy: add v1.6.2 (#22543)Adam J. Stewart1-17/+22
2021-03-28mumps: new version 5.3.5 (#22542)Robert Mijakovic0-0/+0
Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de>
2021-03-28hepmc3: add version 3.2.3 (#22601)Valentin Volkl1-0/+1
2021-03-28edm4hep: add version 0.3.1 (#22600)Valentin Volkl1-0/+1
2021-03-28[dd4hep] add new version (#22599)Valentin Volkl1-0/+1
2021-03-27gmp: add version 6.2.1 (#22570)Jen Herting1-0/+1
2021-03-27opensubdiv: add version 3.4.3 and change version number format (#22571)Jen Herting1-1/+6
2021-03-27mochi-margo: add v0.9.2, v0.9.3 and v0.9.4 (#22368)Phil Carns2-1/+4
Also mark a margo version deprecated that was previously omitted by mistake
2021-03-27liblouis: new package (#22141)darmac1-0/+21
2021-03-27New R package vcfr (#22495)Desmond Orton1-0/+39
2021-03-26ucx: add v1.9.0, v1.10.0 (#22527)Hervé Yviquel1-1/+2
2021-03-26py-torchvision: add v0.9.1 (#22556)Adam J. Stewart1-1/+3