Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-09-05 | spack deprecate: deprecate --link-type flag (#46202) | Harmen Stoppels | 1 | -10/+5 | |
2024-09-03 | solver: minor cleanup and optimization (#46176) | Massimiliano Culpo | 2 | -15/+4 | |
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> | |||||
2024-09-03 | database: remove a few class properties (#46175) | Harmen Stoppels | 4 | -56/+51 | |
2024-09-02 | db: type hints (#46168) | Harmen Stoppels | 2 | -69/+73 | |
2024-09-02 | projections: simplify expression (#46167) | Harmen Stoppels | 1 | -6/+1 | |
2024-09-02 | remove dead code: fs.is_writable_dir was used on file (#46166) | Harmen Stoppels | 1 | -24/+2 | |
2024-09-02 | package_base: sort deprecated versions later in `preferred_version` (#46025) | Wouter Deconinck | 3 | -8/+7 | |
2024-09-02 | cuda: add v12.6.1 (#46143) | pauleonix | 1 | -1/+2 | |
Update build system conflict between CUDA 12.6 and Clang 18 | |||||
2024-09-02 | docs: update conditional definition arch (#46139) | Georgia Stuart | 1 | -1/+1 | |
Signed-off-by: Georgia Stuart <gstuart@umass.edu> Co-authored-by: Jordan Galby <67924449+Jordan474@users.noreply.github.com> | |||||
2024-09-01 | Remove redundant inspect.getmodule(self) idiom in packages (#46073) | Harmen Stoppels | 22 | -97/+62 | |
2024-08-30 | Remove `DetectedPackage` class (#46071) | Massimiliano Culpo | 9 | -95/+55 | |
This PR simplifies the code doing external spec detection by removing the `DetectedPackage` class. Now, functions accepting or returning lists of `DetectedPackage`, will accept or return list of specs. Performance doesn't seem to change if we use `Spec.__reduce__` instead of `DetectionPackage.__reduce__`. | |||||
2024-08-29 | CMakePackage: Set policy CMP0042 NEW on macos (#46114) | Chris Marsh | 1 | -0/+5 | |
so linking to shared libraries works well at runtime on darwin for all packages with cmake_minimum_required < 3. | |||||
2024-08-29 | windows_establish_runtime_linkage: post install hook (#46103) | Harmen Stoppels | 2 | -2/+0 | |
2024-08-29 | Executable: make the timeout message readable (#46098) | Tamara Dahlgren | 1 | -3/+3 | |
2024-08-29 | Remove "get_compiler_duplicates" (#46077) | Massimiliano Culpo | 2 | -37/+0 | |
This function is used only in tests. | |||||
2024-08-28 | Don't check checksums on spack-develop packages (#46076) | Jordan Galby | 1 | -0/+1 | |
Fix regression introduced in spack 0.22.1 where Spack would ask about checksums on spack-develop packages. | |||||
2024-08-28 | For "when:" and install_environment.json: Support fully qualified hostname ↵ | Jordan Galby | 2 | -2/+4 | |
(#45522) | |||||
2024-08-28 | buildcache.py: elide string not spec (#46074) | Harmen Stoppels | 2 | -7/+6 | |
2024-08-28 | Drop now redundant use of inspect (#46057) | Harmen Stoppels | 8 | -14/+9 | |
inspect.isclass -> isinstance(..., type) inspect.getmro -> cls.__mro__ | |||||
2024-08-28 | Spec.from_detection now accounts for external prefix (#46063) | Massimiliano Culpo | 6 | -69/+38 | |
Change the signature of Spec.from_detection to set the external prefix, and the external modules, if they are present. Delete "spack.package_prefs.spec_externals" since it is unused. | |||||
2024-08-28 | Remove llnl.util.lang.has_method, use built-in hasattr instead (#46072) | Massimiliano Culpo | 1 | -14/+4 | |
2024-08-27 | spack_yaml: delete custom deepcopy (#46048) | Harmen Stoppels | 1 | -15/+0 | |
2024-08-27 | Remove "prevent_cray_detection" context manager (#46060) | Massimiliano Culpo | 3 | -18/+2 | |
This context manager was used to prevent detecting a platform as "cray". Since now Cray machines are detected as linux, we can remove the context manager. | |||||
2024-08-27 | config.py: tell don't ask (#46040) | Harmen Stoppels | 1 | -20/+13 | |
2024-08-27 | Remove a few unused classes and globals (#46054) | Massimiliano Culpo | 1 | -68/+0 | |
2024-08-27 | Move `spack.compilers._to_dict` to `Compiler` (#46051) | Massimiliano Culpo | 2 | -30/+35 | |
2024-08-27 | abi.py: remove (#46047) | Harmen Stoppels | 3 | -198/+0 | |
2024-08-26 | jsonschema: remove optional deps (#46041) | Harmen Stoppels | 2 | -173/+188 | |
2024-08-26 | distro.py: avoid excessive stat calls (#46030) | Harmen Stoppels | 2 | -11/+58 | |
2024-08-26 | cuda: add v12.6 (#45558) | pauleonix | 1 | -2/+2 | |
2024-08-26 | `ci generate`: don't warn when no cdash config (#46004) | Todd Gamblin | 1 | -1/+2 | |
Right now if you run `spack ci generate` you get a warning about CDash credentials even if there's no CDash configuration specified. We should only warn if there was actually a CDash config. Signed-off-by: Todd Gamblin <tgamblin@llnl.gov> | |||||
2024-08-26 | compilers: avoid redundant fs operations and cache (#46031) | Harmen Stoppels | 2 | -13/+17 | |
2024-08-24 | variant.py: extract spec bits into spec.py (#45941) | Harmen Stoppels | 5 | -166/+156 | |
2024-08-24 | PythonExtension: use different bin dir on Windows (#45427) | John W. Parent | 1 | -1/+7 | |
2024-08-24 | mirror: fetch by digest (#45809) | Harmen Stoppels | 8 | -182/+173 | |
Source mirrors store entries by digest and add a human readable alias of the form 'name-version'. If no digest is available, the alias is used as the primary storage location. Spack erroneously fetches by alias when the digest path does not exist. This is problematic if `version(..., sha256=...)` changes in package.py, and the mirror is populated with the old shasum. That would result in an error when a digest is available, but in case of git versions with a modified commit sha, the wrong sources would be fetched without error. With this PR, only the digest path is used, not the alias, in case a digest is available. This is also a small performance optimization, as the number of request is halved for mirrors that don't contain the sources. Further, for git sources the tag was used as a digest, but this is a moving target. Only commit sha is used now. Also whenever the alias already existed, Spack used to keep it in place when updating the mirror cache, which means that aliases would always point to outdated mirror entries whenever digests are modified. With this PR the alias is moved in place. Lastly, fix a recent regression where `Stage.disable_mirrors` disabled mirrors but not the local download cache, which was the intention. | |||||
2024-08-23 | Substitute `__import__` with `importlib.import_module` (#45965) | Massimiliano Culpo | 8 | -49/+15 | |
2024-08-23 | spack create: add depends_on(<lang>) statements (#45296) | Harmen Stoppels | 4 | -106/+236 | |
2024-08-23 | Add missing MultiMethodMeta metaclass in builders (#45879) | Harmen Stoppels | 10 | -280/+277 | |
* Add missing MultiMethodMeta metaclass in builders and remove the Python 2 fallback option in favor of hard errors to catch similar issues going forward. The fallback option can cause about 10K stat calls due to use of `realpath` in the inspect module, depending on how deep Spack itself is nested in the file system, which is ... undesirable. * code shuffling to avoid circular import * more reshuffling * move reserved variant names into variants module | |||||
2024-08-22 | Add a new audit to find missing package.py files (#45868) | Massimiliano Culpo | 1 | -1/+28 | |
* Add a new audit to find missing package.py files * Remove directory without package.py | |||||
2024-08-22 | Windows: port tests for mirror/blame (#45259) | Nicole C. | 2 | -8/+6 | |
2024-08-22 | Make spack compiler find use external find (#45784) | Massimiliano Culpo | 16 | -1107/+336 | |
so that there is no duplicate detection logic for compilers | |||||
2024-08-21 | Windows: Port icu4c; define cxx std flags for MSVC (#45547) | John W. Parent | 1 | -0/+24 | |
* Adds an MSBuild system + Builder to the icu4c package * Adds custom install method as MSBuild system does not vendor an install target * The cxxstd variant is not supported on Windows (there are no config options you use to tell the build system what cxx standard to build against), so the variant definition was updated to occur everywhere except Windows Also, this commit defines the c/cxx..._flag properties of the MSVC compiler (although they are not used by `icu4c` and not strictly necessary to bundle with this PR). | |||||
2024-08-20 | spack bootstrap status --dev: function call for new interface (#45822) | Greg Becker | 1 | -1/+1 | |
2024-08-20 | Increase min version for sparse_checkout (#45818) | psakievich | 2 | -2/+4 | |
* Increase min version for sparse_checkout * Update git_fetch.py * style | |||||
2024-08-20 | Unify url and oci buildcache push code paths (#45776) | Harmen Stoppels | 10 | -142/+206 | |
2024-08-19 | build_environment: explicitly disable ccache if disabled (#45275) | Harmen Stoppels | 1 | -1/+4 | |
2024-08-19 | Simplify URLFetchStrategy (#45741) | Harmen Stoppels | 10 | -233/+93 | |
2024-08-19 | Remove deprecated `--safe-only` in spack version cmd (#45765) | Alec Scott | 2 | -19/+3 | |
2024-08-17 | util/web.py: parse new GitLab JS dropdown links (#45764) | Wouter Deconinck | 3 | -4/+31 | |
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com> | |||||
2024-08-16 | include_concrete: read from older env formats properly (#45766) | Greg Becker | 3 | -39/+43 | |
* include_concrete: read from older env formats properly * spack env rm: fix logic for checking env includes * regression test Signed-off-by: Todd Gamblin <tgamblin@llnl.gov> |