summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-03-17Spack on Windows package portsJohn Parent27-199/+648
CMake - Windows Bootstrap (#25825) Remove hardcoded cmake compiler (#26410) Revert breaking cmake changes Ensure no autotools on Windows Perl on Windows (#26612) Python source build windows (#26313) Reconfigure sysconf for Windows Python2.6 compatibility Fxixup new sbang tests for windows Ruby support (#28287) Add NASM support (#28319) Add mock Ninja package for testing
2022-03-17Add Github Actions for Windows (#24504)John Parent11-8/+262
Setup Installer CI (#25184), (#25191) Co-authored-by: Zack Galbreath <zack.galbreath@kitware.com> Co-authored-by: lou.lawrence@kitware.com <lou.lawrence@kitware.com> Co-authored-by: Betsy McPhail <betsy.mcphail@kitware.com>
2022-03-17Relocate spack_cmd and scripts from installer to root bin (#24651)John W. Parent6-81/+63
Relocate spack_cmd and scripts from installer to root bin Refactor documentation, installer, and launcher to facilitate that change
2022-03-17Use Python's zipfile, if available (#24556)Betsy McPhail1-3/+21
* Style fixes * Use Python's zipfile, if available The compression libs are optional in Python. Rely on python as a first attempt then fall back to `unzip`
2022-03-17Windows: VS and CMake supportBetsy McPhail4-30/+33
Fix: Building packages with CMake is broken (#24241) vsInstallPaths needs to be renamed vs_install_paths (#24297)
2022-03-17Packaging of netlib-lapack for windows (#24993)Jared Popelar11-123/+297
MSVC's internal CMake and Ninja now detected by spack external find and added to packages.yaml Saving progress on packaging zlib for Windows Fixing the shared CMake flag * Loading Intel's ifx Fortran compiler into MSVC; if there are multiple versions of MSVC installed and detected, ifx will only be placed into the first block written in compilers.yaml. The version number of ifx can be detected using MSVC's version flag (instead of /QV) by using ignore_version_errors. This commit also provides support for detection of Intel compilers in their own compiler block by adding ifx.exe to the fc/f77_name blocks inside intel.py * Giving CMake a Fortran compiler argument * Adding patch file for removing duplicated mangling header for versions 3.9.1 and older; static and shared now successfully building on Windows * Have netlib-lapack depend on ninja@1.10 Co-authored-by: John R. Cary <cary@txcorp.com> Co-authored-by: Jared Popelar <jpopelar@txcorp.com> Making a default config.yaml for Windows Small path length for build_stage Provide more prerequisite details, mention default config.yaml Killing an unnecessary setvars call Replacing some lost changes, proofreading, updating windows-supported package list Co-authored-by: John Parent <john.parent@kitware.com>
2022-03-17Windows: Create installer and environmentlou.lawrence@kitware.com20-12/+1002
* Add 'make-installer' command for Windows * Add '--bat' arg to env activate, env deactivate and unload commands * An equivalent script to setup-env on linux: spack_cmd.bat. This script has a wrapper to evaluate cd, load/unload, env activate/deactivate.(#21734) * Add spacktivate and config editor (#22049) * spack_cmd: will find python and spack on its own. It preferentially tries to use python on your PATH (#22414) * Ignore Windows python installer if found (#23134) * Bundle git in windows installer (#23597) * Add Windows section to Getting Started document (#23131), (#23295), (#24240) Co-authored-by: Stephen Crowell <stephen.crowell@kitware.com> Co-authored-by: lou.lawrence@kitware.com <lou.lawrence@kitware.com> Co-authored-by: Betsy McPhail <betsy.mcphail@kitware.com> Co-authored-by: Jared Popelar <jpopelar@txcorp.com> Co-authored-by: Ben Cowan <benc@txcorp.com> Update Installer CI Co-authored-by: John Parent <john.parent@kitware.com>
2022-03-17MSVC Compiler Find and vcvars env integration (#22856)Betsy McPhail3-2/+86
Made the vcvars batch script location a member variable of the msvc compiler subclass, initialized from the compiler executable path. Added a setup_custom_environment() method to the msvc subclass that sources the vcvars script, dumps the environment, and copies the relevant environment variables to the Spack environment. Added class variables to the Windows OS and MSVC compiler subclasses to enable finding the compiler executables and determining their versions.
2022-03-17use pytest stdout/err capture (#22584)loulawrence3-44/+59
* On windows, write to StringIO without redirection in test cases to avoid conflicting with logger
2022-03-17Features/windows install (#22204)Ben Cowan4-25/+50
* Fixed path and uid issues. * Added needed import statement; kluged .exe extension. * Got package to build. Some manual intervention necessary, including sourcing the MSVC setup script and having certain configuration parameters. * Removed CMake executable suffix hack.
2022-03-17Allow 'spack external find' to find executables on the system path (#22091)Betsy McPhail5-51/+247
Co-authored-by: Lou Lawrence <lou.lawrence@kitware.com>
2022-03-17Windows: Symlink supportBetsy McPhail20-44/+224
To provide Windows-compatible functionality, spack code should use llnl.util.symlink instead of os.symlink. On non-Windows platforms and on Windows where supported, os.symlink will still be used. Use junctions when symlinks aren't supported on Windows (#22583) Support islink for junctions (#24182) Windows: Update llnl/util/filesystem * Use '/' as path separator on Windows. * Recognizing that Windows paths start with '<Letter>:/' instead of '/' Co-authored-by: lou.lawrence@kitware.com <lou.lawrence@kitware.com> Co-authored-by: John Parent <john.parent@kitware.com>
2022-03-17Create rename utility functionBetsy McPhail11-23/+45
os.rename() fails on Windows if file already exists. Create getuid utility function (#21736) On Windows, replace os.getuid with ctypes.windll.shell32.IsUserAnAdmin(). Tests: Use getuid util function Co-authored-by: lou.lawrence@kitware.com <lou.lawrence@kitware.com> Co-authored-by: Betsy McPhail <betsy.mcphail@kitware.com>
2022-03-17Workarounds for install errors on Windows (#21890)Betsy McPhail4-24/+43
1. Forwarding sys.stdin, e.g. use input_multiprocess_fd, gives an error on Windows. Skipping for now 3. subprocess_context needs to serialize for Windows, like it does for Mac. Co-authored-by: lou.lawrence@kitware.com <lou.lawrence@kitware.com> Co-authored-by: John Parent <john.parent@kitware.com>
2022-03-17Adding basic Windows features (#21259)Ben Cowan6-3/+138
* Snapshot of some MSVC infrastructure added during experiments a while ago. Rebasing from spack/develop. * Added platform and OS definitions for Windows. * Updated Windows platform file to conform to new archspec use. * Added Windows as a platform; introduced some debugging code. * Added type annotations. * Fixed copyright. * Removed print statements. * Ensure `spack arch` returns correctly on Windows (#21428) * Correctly identify windows as 'windows-Windows10-AMD64'
2022-03-17assimp: depends on pkgconfig; disable bundled dependencies (#29551)Wouter Deconinck1-0/+4
* [assimp] depends_on pkgconfig and disable hunter, build zlib/minizip
2022-03-17openssh: Update to version 8.9 (#29539)Erik Schnetter1-0/+1
2022-03-17PackageViewMixin: fix symlinks conflict issue (#29515)Harmen Stoppels1-2/+2
`stat`'ing a file in the dst dir is the wrong thing to do, you should `lstat` to capture broken symlinks.
2022-03-17fastjet: use mirror for sources (#29357)Valentin Volkl1-1/+5
as a workaround for https://github.com/spack/spack/issues/20050
2022-03-17Add intermediate folder in lib to LD_LIBRARY_PATH (#29519)haralmha1-0/+3
2022-03-17openssl: Deprecate old versions (#29554)Erik Schnetter1-2/+2
2022-03-17New package: py-quart (#29142)Jen Herting1-0/+29
* [py-quart] created template * [py-quart] - added homepage - added description - added dependencies - removed fixmes * [py-quart] removed setuptools dependency
2022-03-17assimp: remove -Werror to allow compilation on Intel oneAPI (#29552)Wouter Deconinck1-0/+3
2022-03-17python: allow versions with garbage suffix (#29543)Tom Scogland1-1/+3
* python: allow versions with garbage suffix Ubuntu 22.04 preview python prints version as 3.10.2+, the + causes version parsing to fail and breaks detection. * Add version comment * match VALID_VERSION regex
2022-03-16libiconv,lmod: improvements for static builds (#29493)Seth R. Johnson2-1/+2
* libiconv: compile with pic even when static build * lmod: require shared lua It seems to be unable to detect lua-posix when using a static lua: ``` Error: The follow lua module(s) are missing: posix ```
2022-03-16openssl: Security update (#29538)Erik Schnetter1-1/+3
2022-03-16[py-configparser] added version 5.2.0 (#29136)Jen Herting1-2/+7
* [py-configparser] added version 5.2.0 * [py-configparser] fixed setuptools versions and added setuptools_scm
2022-03-16New package: py-hypercorn (#29141)Jen Herting1-0/+25
* [py-hypercorn] created template * [py-hypercorn] - added homepage - added description - added dependencies - removed fixmes * [py-hypercorn] removed setuptools dependency and added version restriction for py-typing-extensions
2022-03-16py-numpy: add v1.22.3 (#29425)Adam J. Stewart1-0/+1
2022-03-16diffutils: work around for nvhpc not 11 compliant for __builtin_add_overflow ↵Olivier Cessenat2-0/+18
(#28451)
2022-03-16Py kosh (#29532)Charles Doutriaux1-1/+2
2022-03-15constrain dependency as needed by neovim (#29252)Alberto Invernizzi1-1/+1
2022-03-15Added R 4.1.3 to package.py (#29495)Simon Flood1-0/+1
2022-03-15optimize instantiation and comparison of versions (#29429)Tom Scogland1-4/+14
Re-work the checks and comparisons around commit versions, when no commit version is involved the overhead is now in the noise, where one is the overhead is now constant rather than linear.
2022-03-15Add changes to test functions for checking spack versions of hdf5 with (#29159)Larry Knox1-1/+29
develop in the version string. The versions from the HDF5 code were not matching because 'develop-' is not part of the HDF5 version. Also, the develop-x.x versions in spack omit the release version (third) number because the branch spans all of the release versions.
2022-03-15libdrm: add docs variants and missing dependency (#29423)Harmen Stoppels1-4/+18
2022-03-15spla: add version 1.5.4 (#29509)Simon Frasch1-0/+1
2022-03-15py-stomp-py: Add new package (#29380)haralmha1-0/+23
* py-stomp-py: Add package * Specify python and py-docopt dependencies
2022-03-15h5z-zfp: fix build with Fujitsu compiler (#29029)FJ-NaokiMatsumura5-2/+102
2022-03-15jogl: new package (#29332)Toyohisa Kameyama2-0/+124
2022-03-15glugen: new package. (#29312)Toyohisa Kameyama3-0/+355
2022-03-14petsc, py-petsc4py: add 3.16.5 (#29505)Carlos Bederián2-0/+2
* petsc: add 3.16.5 * py-petsc4py: add 3.16.5
2022-03-14amr-wind: Fix hypre dependency. (#29504)Jon Rood1-1/+1
2022-03-14py-pybind11: 2.9.1 (#29387)Axel Huebl1-1/+5
* py-pybind11: 2.9.1 Add the latest releases of pybind11. * Bump requirements according to `pyproject.toml`
2022-03-14Update: py-cmake (#28760)Axel Huebl1-3/+20
* Update: py-cmake Add additional dependencies as declared by the `py-cmake` repository. Note: for either from-source or from-binary builds, this downloads additional software via the network. We might want to propose upstream patches to make this work on nodes without internet connection. * Add Review Comments + Newest Version * Add: Ninja Preferred generator according to outputs and upstream repo logic * Attempt to use resource() for CMake source
2022-03-14[py-watchdog] added version 2.1.6 (#29137)Jen Herting1-16/+45
* [py-watchdog] switched to pypi and audited dependencies * [py-watchdog] added version 2.1.6 * [py-watchdog] updated dependencies for old versions * [py-watchdog] added when for variant * [py-watchdog] added some newlines to make flake8 happy
2022-03-14ci: add e4s mac stack (#29476)eugeneswalker2-0/+105
2022-03-14mpich: fix the detection of the package (#29284)Sergey Kosukhin2-26/+27
2022-03-14Dyninst: add v12.1.0 (#29482)Tim Haines1-0/+1
2022-03-14vecgeom: add v1.1.19 (#29488)Ben Morgan1-2/+7
Adjust build args for new CUDA build mechanism.