summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-19Remove `LazyReference` from code (#38944)Massimiliano Culpo73-426/+377
A LazyReference object is a reference to an attribute of a lazily evaluated singleton. Its only purpose is to let developers use shorter names to refer to such attribute. This class does more harm than good, as it obfuscates the fact that we are using the attribute of a global object. Also, it can easily go out of sync with the singleton it refers to if, for instance, the singleton is updated but the references are not. This commit removes the LazyReference class entirely, and access the attributes explicitly passing through the global value to which they are attached.
2023-07-19magma: add package name to conflict messages (#38984)Aiden Grossman1-9/+11
Without the package name being present in the conflict messages, it is significantly more difficult to debug concretization failures in environments that contain many packages.
2023-07-19petsc: add version 3.19.3 (#38974)downloadico2-0/+4
2023-07-19rmgdft: add v5.3.1, v5.4.0 and cuda variant (#37813)Emil Briggs1-11/+32
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2023-07-19mesa-glu: Patch register long to long (#38833)Aiden Grossman2-0/+32
mesa-glu still has a couple instances of the register keyword which causes build failures with clang on my platform. This patch removes the register keyword which doesn't have any impact on correctness.
2023-07-19gperf: patch usage of register keyword (#38893)Aiden Grossman2-0/+19
gperf still uses the register keyword in one place which makes compilation fail with c++17. This patch adds in a patch file to remove the usage of the reigster keyword so that it compiles properly.
2023-07-19elfutils: remove conflicts with clang after version 0.186 (#38945)Aiden Grossman1-5/+2
In late 2021 elfutils was patched to make it build with clang, and these patches ended up in version 0.186. This commit updates the conflicts to specify this so elfutils can be built with clang.
2023-07-19amdfftw: turn conflicts into conditional variants (#38221)Carlos Bederián1-76/+51
2023-07-19palace: fix bugs introduced in #38910 (#38983)Sebastian Grimberg1-9/+9
2023-07-18Improve RDKit package (#36566)Rocco Meli3-8/+73
2023-07-18Windows testing: enable tests for installer components (#36970)markus-ferrell1-8/+0
These tests now work without any changes to core. Furthermore, it is surprising that they had to be disabled (at least, as long as the installer.py tests are run on Windows: these tests are more-basic and their functionality would have been exercised automatically).
2023-07-18palace: add v0.11.2 (#38910)Sebastian Grimberg1-36/+49
2023-07-18py-poetry-core: add 1.6.1 and fix url (#38452)Manuela Kuhn1-3/+12
* py-poetry-core: add 1.6.1 and fix url * Update var/spack/repos/builtin/packages/py-poetry-core/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Re-add python upper bound for older versions * Update var/spack/repos/builtin/packages/py-poetry-core/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-07-18Ensure the bootstrap store has a padding length of zero (#38975)Massimiliano Culpo3-17/+27
Without this PR, padded length was propagating from user configuration to bootstrap configuration, and was causing the issue reported in #38963
2023-07-18Windows testing: enable bootstrap test (#36972)markus-ferrell1-2/+0
2023-07-18FleCSPH: update package (#37888)Julien Loiseau1-19/+13
Co-authored-by: Richard Berger <richard.berger@outlook.com>
2023-07-18fftw: fix build with clang15+ (#38889)Aiden Grossman1-0/+7
In Clang 15, -Wint-conversion became an error instead of a warning, breaking the fftw build for clang versions > 15. This patch fixes fftw builds with clang 15+ by passing -Wno-error=int-conversion as a cflag.
2023-07-18test_clear_failures_success: run on Windows too (#36792)markus-ferrell1-2/+3
2023-07-18binary cache docs: remove redundant flag and comment (#38960)Harmen Stoppels1-5/+1
2023-07-18e4s cray: expand spec list (#38947)eugeneswalker1-0/+13
* e4s cray: expand spec list * unzip: require %gcc * remove datatrasnferkit
2023-07-18Windows testing: enable architecture test (#36973)markus-ferrell1-2/+0
Works out of the box: remove skip.
2023-07-18Windows testing: enable "spack clean" tests (#36840)markus-ferrell1-3/+0
They work out out of the box on windows. Simply removing skips.
2023-07-18chameleon: update to version 1.2.0 (#38936)fpruvost1-1/+3
2023-07-18buildcache push: make --allow-root the default and deprecate the option (#38878)Harmen Stoppels15-220/+38
Without --allow-root spack cannot push binaries that contain paths in binaries. This flag is almost always needed, so there is no point of requiring users to spell it out. Even without --allow-root, rpaths would still have to be patched, so the flag is not there to guarantee binaries are not modified on install. This commit makes --allow-root the default, and drops the code required for it. It also deprecates `spack buildcache preview`, since the command made sense only with --allow-root. As a side effect, Spack no longer depends on binutils for relocation
2023-07-18Pin Spack dev dependencies on RtD (#38950)Massimiliano Culpo1-0/+5
2023-07-18Fix default construction of locks (#38953)Massimiliano Culpo1-1/+1
This fixes a typo introduced in a refactor
2023-07-18Update dbcsr and cp2k to latest version (#38939)Taillefumier Mathieu2-11/+22
Co-authored-by: Mikael Simberg <mikael.simberg@iki.fi>
2023-07-18modules: add support for conflict in lua modulefile (#36701)Xavier Delaruelle9-59/+122
Add support for conflict directives in Lua modulefile like done for Tcl modulefile. Note that conflicts are correctly honored on Lmod and Environment Modules <4.2 only if mutually expressed on both modulefiles that conflict with each other. Migrate conflict code from Tcl-specific classes to the common part. Add tests for Lmod and split the conflict test case in two. Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2023-07-18"spack develop": always pull full history for git repos (#38343)Peter Scheibel4-9/+66
2023-07-18Update package.py (#38946)Houjun Tang1-0/+1
2023-07-17wannier90 github (#38927)Rocco Meli1-0/+2
2023-07-17meson: add 1.2.0, 1.1.1 and 1.0.2 (#38935)Michael Kuhn1-0/+3
2023-07-18added new packages (#38941)Andrey Perestoronin16-0/+96
2023-07-18Update gsi-ncdiag/1.1.1 sha256 (#38943)David Huber1-1/+1
2023-07-17py-soupsieve: add 2.4.1 (#38929)Manuela Kuhn1-3/+5
2023-07-17py-setuptools: add 68.0.0 (#38930)Manuela Kuhn1-0/+5
* py-setuptools: add 68.0.0 * [@spackbot] updating style on behalf of manuelakuhn
2023-07-17py-setuptools-rust: add 1.6.0 (#38932)Manuela Kuhn1-3/+6
2023-07-17py-sphinxcontrib-applehelp: add 1.0.4 (#38933)Manuela Kuhn1-1/+3
2023-07-17py-sphinxcontrib-htmlhelp: add 2.0.1 (#38934)Manuela Kuhn1-2/+4
2023-07-17Decompression: fix naming issues (#37749)Dan Lipsa2-35/+76
* When using system tools to unpack a .gz file, the input file needs a different name than the output file. Normally, we generate this new name by stripping off the .gz extension off of the file name. This was not sufficient if the file name did not have an extension, so we temporarily rename the file in that case. * When using system tar utility to untar on Windows, we were (erroneously) skipping the actual untar step if the filename was lacking a .tar extension * For foo.txz, we were not changing the extension of the decompressed file (i.e. we would decompress foo.txz to foo.txz). This did not cause any problems, but is confusing, so has been updated such that the output filename reflects its decompressed state (i.e. foo.tar). * Added test for strip_compression_extension * Update test_native_unpacking to test each archive type with and without an extension as part of the file name (i.e. we test "foo.tar.gz", but also make sure we decompress properly if it is named "foo").
2023-07-17Fix wrong StageComposite keep override (#38938)Harmen Stoppels2-2/+38
`Stage(keep=True)` was ignored when put in a composite that doesn't override the value.
2023-07-17py-pyside: fix build with python3.8 (#38886)Manuela Kuhn1-18/+10
* py-pyside: fix build for version 1.2.2 * Remove check for python version * Fix style * Remove unnecessary patch * Update var/spack/repos/builtin/packages/py-pyside/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-pyside/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Remove py-markupsafe conflict * Update var/spack/repos/builtin/packages/py-pyside/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-pyside/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Move python check removal below suprocess patch * Remove preference of 1.2.2 --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-07-17soapdenovo2: strip optimization flags from injected flags (#38846)snehring1-5/+10
* soapdenovo2: strip optimization flags from injected flags * soapdenovo2: add maintainer * soapdenovo2: only append on cflags * soapdenovo2: clean up some wording and implementation
2023-07-17justbuild: add v1.1.3 (#38925)Alberto Sartori1-0/+1
2023-07-17Fix python import tests (#38928)Manuela Kuhn1-1/+1
Running `spack test run <python package>` resulted in the error ``` 'str' object is not callable ``` because the python executable was not set correctly.
2023-07-17vecgeom: new version 1.2.4 (#38940)Seth R. Johnson1-0/+1
2023-07-17libxc: add kxc and lxc variants (#38937)Ashwin Kumar Karnad1-0/+6
* libxc: add kxc and lxc variants * libxc: add kxc and lxc variants for @5:0: * Apply suggestion from @tldahlgren --------- Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2023-07-17Enable http/2 support by default in curl (#38750)Harmen Stoppels1-1/+1
2023-07-17librsvg: add 2.56.2 and rust upper version limit for 2.51 (#38766)Manuela Kuhn1-7/+22
* librsvg: add rust upper version limit * librsvg: Add 2.56.2
2023-07-17qt-base: fix build on macos, when +network (#38519)Martin Aumüller1-5/+18
* qt-base: always link to GSS framework on macOS On macos, the code in src/network/kernel/qauthenticator.cpp unconditionally includes the header from the GSS framework, so we should link against it. This applies two patches from the dev branch. They are to be cherry-picked into the 6.5 (probably released with 6.5.2) and 6.6 branches, but they apply against 6.3.2 as well. * qt-base: disable libproxy on macOS src/network/CMakeLists.txt disables it on MACOS anyway. And as it is not found without pkg-config, building with +network would break because of the feature being explicitly enabled. * qt-base: don't depend on pkgconfig on macOS On macOS, usage of pkg-config is disabled by unsetting PKG_CONFIG_EXECUTABLE, unless the feature pkg-config is requested explicitly. * qt-base: don't depend on at-spi2-core on macOS Does not build on macOS and seems to be targeted at linux. Qt6 on homebrew does not depend on it, either. * qt-base: fix long lines * qt-base: restrict use of pkgconfig to linux yes, probably not needed on windows, either Co-authored-by: Alec Scott <alec@bcs.sh> * qt-base: disable libproxy on Windows as well according to src/network/CMakeLists.txt it's only used on Unix * qt-base: improvements based on reviewer suggestions --------- Co-authored-by: Alec Scott <alec@bcs.sh>