summaryrefslogtreecommitdiff
path: root/var
AgeCommit message (Collapse)AuthorFilesLines
2016-03-13Fixed for Python 2.6Elizabeth F1-3/+6
2016-03-11A new subclass StagedPackage(Package) is introduced. This PR shouldElizabeth F1-0/+47
not change the behavior for existing packages that subclass from spack.Package. If a package subclasses spack.StagedPackage instead of spack.Package, the install() phase (run inside a forked process) is now separated into sub-stages: a) spconfig: Generate a script spconfig.py that will configure the package (eg by running CMake or ./configure) This is for use if the user wishes to build externally from Spack. Therefore, the Spack compiler wrappers are NOT used here. Currently, that means that RPATH support is up to the user. b) configure: Configure the project (eg: runs configure, CMake, etc). This will configure it for use within Spack, using the Spack wrapper. c) build: eg: "make" d) install: eg: "install" If one chooses to use StagedPackage instead of Package, then one must implement each of the install sub-stages as a separate method. StagedPackage.install() then calls each of the sub-stages as appropriate. StagedPackage can be configured to only run certain sub-stages. This is done by setting the optional kwarg install_phases when calling do_install(). Setting install_phases() ONLY has an effect on StagedPackage, not on any existing packages. By default, install_phases is set to make StagedPackage run the same stages that are normally run for any package: configure, build, install (and NOT spconfig). The ability for Spack to run stages selectively for StagedPackage instances will enable new functionality. For example, explicit CMake/Autotools helpers that allow Spack to help configure a user's project without fetching, building or installing it. ------------- One implementation of StagedPackage is provided, CMakePackage. This has the following advantage for CMake-based projects over using the standard Package class: a) By separating out the phases, it enables future new functionality for packages that use it. b) It provides an implementation of intall_spconfig(), which will help users configure their CMake-based projects. CMakePackage expects users to implement configure_args() and configure_env(). These methods provide the package-specific arguments and environment needed to properly configure the package. They are placed in separated functions because they are used in both the spconfig and configure stages. TODO: 1. Generate spconfig.py scripts that are more readable. This allows the users to understand how their project is configured. 2. Provide a practical way for the user to ACCESS the spconfig stage without building the project through Spack. 3. The CMAKE_TRANSITIVE_INCLUDE_PATH stuff needs to be reworked; it should be considered provisional for now. 4. User of Autotools might wish to make a similar ConfigurePackage subclass of StagedPackage. --------------- One package using CMakePackage is introduced. See ibmisc/package.py.
2016-03-11Merge pull request #528 from citibeth/efischer/160309-EmacsTodd Gamblin1-0/+19
Added Emacs package
2016-03-11Merge pull request #526 from KineticTheory/developTodd Gamblin2-3/+39
Provide instructions for cmake/3.5.0 (plus 2 new variants) and qt/5.4.2
2016-03-11+ Rename variant 'sphinxbuild' to 'doc' as recommended in the discussion ofKelly (KT) Thompson1-6/+4
PR#526. Also, remove a debug print statement that was accidentally committed.
2016-03-10Merge remote-tracking branch 'upstream/develop' into developKelly (KT) Thompson4-39/+60
2016-03-10Merge branch 'mplegendre-features/external-packages' into developTodd Gamblin7-2/+149
2016-03-10whitespace and formattingTodd Gamblin1-2/+3
2016-03-10Merge pull request #513 from alfredo-gimenez/developTodd Gamblin1-26/+37
Variants and fixes to thrift package
2016-03-09Fixed upElizabeth F1-23/+6
2016-03-09Added emacs package.Elizabeth F1-0/+36
2016-03-09Merge pull request #522 from epfl-scitas/bugfix/mpfrTodd Gamblin1-1/+2
change of url for mpfr
2016-03-09+ Provide download/build instructions for qt/5.4.2.Kelly (KT) Thompson2-1/+21
- This version provides updates to provided cmake scripts that are required for building cmake-gui. + Provide download/build instructions for version 3.5.0. - When building the +qt variant, add a validate function to ensure that qt-5.4.0 is not used (this version of qt has errors related to cmake).
2016-03-09change of url for mpfrNicolas Richart1-1/+2
2016-03-09Merge pull request #520 from LLNL/bugfix/remove-hdf5-unsupported-variantTodd Gamblin1-4/+7
Removing `unsupported` variant from HDF5.
2016-03-09Merge remote-tracking branch 'upstream/develop' into develop.Kelly (KT) Thompson24-76/+302
2016-03-09Add some descriptive language to a list comprehension.Todd Gamblin1-0/+3
2016-03-09Remove unneccessary depends_onAlfredo Adolfo Gimenez1-1/+0
2016-03-09Removing `unsupported` variant from HDF5.Todd Gamblin1-4/+7
- `unsupported` shouldn't be a variant.
2016-03-09Merge branch 'develop' into features/external-packagesMatthew LeGendre67-182/+1352
Conflicts: lib/spack/spack/package.py
2016-03-09Merge @citibeth and @alalazo's petsc fixes from #515 and #517Todd Gamblin1-8/+11
2016-03-09Merge branch 'efischer/160309-HypreFix' of git://github.com/citibeth/spack ↵Todd Gamblin1-7/+21
into citibeth-efischer/160309-HypreFix
2016-03-09Merge pull request #501 from adamjstewart/patches/m4Todd Gamblin4-0/+15
Add patch to allow PGI to build M4
2016-03-09Patch config.hin, not extern-inline.m4Adam J. Stewart3-27/+11
2016-03-09petsc : added variants and logic to build various flavorsalalazo1-23/+69
2016-03-09Added shared library capability.Elizabeth F1-2/+5
2016-03-09Fixed issues with hypre:Elizabeth F1-7/+21
1. --with-lapack-lib was wrong. 2. --with-MPI was wrong; set env vars for MPI wrappers instead. 3. Added version 2.10.1 4. Added shared library variant (True by default). Hypre can build shared or static libraries, but not both in the same build.
2016-03-08Variants and fixes to thrift packageAlfredo Gimenez1-26/+38
2016-03-08Add more versions to AutotoolsAdam J. Stewart2-0/+3
2016-03-08Avoid race in pango's `make install`, set parallel=FalseTodd Gamblin1-1/+1
2016-03-07Autoreconf is necessary after patchAdam J. Stewart2-0/+16
2016-03-07Add patch to allow PGI to build M4Adam J. Stewart2-0/+12
2016-03-07Merge pull request #486 from RemoteConnectionManager/paraview_fixTodd Gamblin1-3/+10
Paraview new version
2016-03-07Merge pull request #491 from citibeth/efischer/160229-NewPackages-2Todd Gamblin6-12/+84
(2) New packages added: blitz, netcdf-cxx4, netcdf-fortran, proj, udunits2
2016-03-06Update OpenSSL to 1.0.2gErik Schnetter1-0/+1
2016-03-05Fixed URLscitibeth3-5/+2
Removed vestigal mpi variant in netcdf-fortran
2016-03-05Merge branch 'adamjstewart-features/libsigsegv' into developTodd Gamblin2-1/+26
2016-03-05Minor tweaks to m4 -- be sure to add sigsegv args explicitly.Todd Gamblin1-1/+7
2016-03-05Merge branch 'features/libsigsegv' of https://github.com/adamjstewart/spack ↵Todd Gamblin2-0/+19
into adamjstewart-features/libsigsegv
2016-03-05Make libsigsegv an optional dependencyAdam J. Stewart1-1/+3
2016-03-05Merge pull request #343 from adamjstewart/features/mpcTodd Gamblin1-0/+6
Add different URL for older source code
2016-03-05Make openssl a variant in libevent.Todd Gamblin1-4/+8
2016-03-05Merge branch 'eschnett/libevent' of https://github.com/eschnett/spack into ↵Todd Gamblin1-0/+3
eschnett-eschnett/libevent
2016-03-05Merge pull request #487 from spakin/llvm-3.7.1Todd Gamblin1-2/+17
Added LLVM 3.7.1 support
2016-03-05Merge pull request #495 from alfredo-gimenez/developTodd Gamblin1-2/+2
Fixed unmatched function signature for do_fetch in jdk package
2016-03-04Adding zfp package.Mark Miller1-0/+26
2016-03-04Fixed unmatched function signature for do_fetch in jdk packageAlfredo Gimenez1-2/+2
2016-03-04GNU m4 depends on libsigsegvAdam J. Stewart2-0/+17
2016-03-04Update package.pyElizabeth Fischer1-1/+1
Updated homepage URL to general NetCDF homepage.
2016-03-04Update package.pyElizabeth Fischer1-153/+0
Removed comments on configure options.