summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-03-13Add missing import.citibeth1-1/+1
2016-03-13Fix for Python 2.6citibeth1-1/+1
2016-03-13Reverted bad changecitibeth1-7/+3
2016-03-13Fixed for Python 2.6Elizabeth F2-4/+7
2016-03-13(1) Added "spack spconfig" command.citibeth2-33/+197
(2) Neatened up the spconfig.py auto-generated file.
2016-03-11A new subclass StagedPackage(Package) is introduced. This PR shouldElizabeth F2-2/+145
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 #536 from adamjstewart/fixes/doc_typosbecker332-7/+7
Documentation typo fixes
2016-03-11Documentation typo fixesAdam J. Stewart2-7/+7
2016-03-11Invert and rename the `nobuild` option in package.yaml configs to `buildable`.Matthew LeGendre4-22/+21
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 pull request #532 from mplegendre/bugfix/ordering_satisfiesTodd Gamblin1-7/+10
Fix issue with preferred satisfies not being respected
2016-03-10Fix issue with preferred satisfies not being respectedMatthew LeGendre1-7/+10
2016-03-10Merge pull request #531 from mplegendre/bugfix/github-530Todd Gamblin1-1/+1
Fix type error that was causing mis-ordering of compiler versions
2016-03-10Fix type error that was causing mis-ordering of compiler versionsMatthew LeGendre1-1/+1
2016-03-10Indentation change.Todd Gamblin1-11/+11
2016-03-10Merge branch 'mplegendre-features/external-packages' into developTodd Gamblin22-182/+1124
2016-03-10Merge pull request #451 from epfl-scitas/fixes/intel_openmpiTodd Gamblin1-3/+15
Fix : OpenMPI with Intel compiler (and similar issues)
2016-03-10Merge remote-tracking branch 'upstream/develop' into developKelly (KT) Thompson10-73/+241
2016-03-10cc : handle spaces in folders?alalazo1-1/+1
2016-03-10cc : converted indents to spacesalalazo1-1/+1
2016-03-10Merge branch 'fixes/intel_openmpi' of github.com:epfl-scitas/spack into ↵Massimiliano Culpo0-0/+0
fixes/intel_openmpi
2016-03-10Fixed shell quoting errorMassimiliano Culpo1-1/+1
2016-03-10Merge branch 'develop' of https://github.com/LLNL/spack into fixes/intel_openmpiMassimiliano Culpo106-897/+1796
2016-03-10Add 'provders' back into packages.yaml schemaTodd Gamblin1-2/+11
2016-03-10Merge branch 'mplegendre-features/external-packages' into developTodd Gamblin22-182/+1115
2016-03-10Refactored external packages slightly.Todd Gamblin4-84/+158
- Move `Spec.__cmp__` out of spec, into concretize as `cmp_specs`. - `Spec.__cmp__` was never called (except explicitly) due to rich comparison operators from `key_ordering` - Refactor `_find_other_spec` to free function `find_spec`. Add a test for it to make sure it works.
2016-03-10whitespace and formattingTodd Gamblin3-25/+26
2016-03-10Remove vestigial variants in directory name.Todd Gamblin1-5/+1
2016-03-10Minor tweaks to abi code.Todd Gamblin1-18/+18
2016-03-10remove unnecessary importTodd Gamblin1-1/+0
2016-03-10update mirror config documentation.Todd Gamblin1-5/+5
- mirrors.yaml uses Spack's OrderedDict rather than lists.
2016-03-10Merge pull request #513 from alfredo-gimenez/developTodd Gamblin1-26/+37
Variants and fixes to thrift package
2016-03-10Merge pull request #527 from LLNL/bugfix/github-525Todd Gamblin3-17/+132
Bugfix/GitHub 525
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-09Fix #525: sbang handles symlinks & directories properly.Todd Gamblin1-11/+32
2016-03-09Add unit test for sbang patching.Todd Gamblin2-6/+100
2016-03-09Merge branch 'develop' of https://github.com/KineticTheory/spack into developKelly (KT) Thompson0-0/+0
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-09Merge branch 'features/external-packages' of github.com:mplegendre/spack ↵Matthew LeGendre1-2/+2
into features/external-packages Conflicts: lib/spack/docs/site_configuration.rst
2016-03-09Update documentation for new packages.yaml config format.Matthew LeGendre2-53/+49
2016-03-09Fix problem with pure integer arguments in preferred versions list (e.g, 2 ↵Matthew LeGendre2-5/+6
instead of 2.7.3)
2016-03-09Fixes #524Todd Gamblin3-17/+49
- Had attempted to add more functionality by assigning different meanign None, True, and False values "keep_stage" (where False was "always delete"). - Turns out that's not really worth the complexity. Having the third "always delete" sense is hardly ever useful but makes the code hard to understand.
2016-03-09change of url for mpfrNicolas Richart1-1/+2
2016-03-09Merge branch 'pkg-qt' into develop.Kelly (KT) Thompson1-0/+3
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) Thompson93-842/+1469