alalazo
ad16830f71
log : added timeout to avoid deadlocks on daemon join
2016-07-13 11:20:23 +02:00
alalazo
468a6431f9
package.py : workaround for a known bug that was not fixed in python 2.6
...
https://bugs.python.org/issue1515
2016-07-13 11:08:19 +02:00
alalazo
5cc59507f7
package.py : hdf5 and lzo have examples of run_tests
2016-07-13 09:27:09 +02:00
alalazo
97c2224cd6
package.py : extra arguments, fixed inheritance issue
...
- added attribute to hold extra arguments in PackageBase instances
- fixed registration from within packages
- examples : hdf5, lzo
2016-07-13 09:27:09 +02:00
alalazo
813cb032c4
package.py : updated logic to log.py rework
...
Conflicts:
lib/spack/spack/package.py
2016-07-13 09:27:09 +02:00
alalazo
513cdd580e
do_install : can stop at an arbitrary phase
...
Now uses a StopIteration exception as a signal
2016-07-13 09:27:09 +02:00
alalazo
9af964a6d6
log_output : moved from os.fork to multiprocessing.Process
2016-07-13 09:27:09 +02:00
alalazo
440e71ff13
build_environment : moved from os.fork to multiprocessing.Process
2016-07-13 09:27:09 +02:00
alalazo
857d7bfe0f
do_install : can stop at an arbitrary phase
...
The mechanism would be simpler if we could leverage exceptions to raise signals. Unfortunately forking does not permit to do so.
2016-07-13 09:27:09 +02:00
alalazo
a43c63f149
package : added EditableMakefile
...
Modifications :
- added EditableMakefile to PackageBase subclasses
- astyle modified as an example
- preliminary hook to stop at a certain phase of install
2016-07-13 09:27:09 +02:00
alalazo
8f75d34331
package : added a stub for AutotoolsPackage, examples in szip and swiftsim
2016-07-13 09:27:09 +02:00
alalazo
8ed028e2d6
package : introduced InstallPhase, added decorators for prerequisites and sanity_checks of phases
2016-07-13 09:27:09 +02:00
alalazo
a36f3764af
package : added hooks for generic phases
2016-07-13 09:27:09 +02:00
Todd Gamblin
283d621b6e
Add documentation for fetching submodules.
2016-07-11 13:27:37 -07:00
Todd Gamblin
86b1b28906
Add submodules
option for git fetching.
2016-07-11 13:27:35 -07:00
Todd Gamblin
7f6541ef02
Merge pull request #1190 from davydden/feature/version_dev
...
add special treatment of @develop version
2016-07-11 11:31:54 -07:00
Denis Davydov
306e601d4e
document special treatment of development version
2016-07-11 19:50:33 +02:00
George Hartzell
1682257b35
Typo: verison -> version
2016-07-11 09:42:49 -07:00
Denis Davydov
b29d5e6032
add special treatment of develop version
2016-07-10 14:21:52 +02:00
Todd Gamblin
b0f4052bd8
Merge pull request #1169 from davydden/feature/install_argument_tests_petsc_fixes
...
--run-tests install argument and petsc fixes
2016-07-09 12:10:16 -07:00
Todd Gamblin
c086ccdab6
Merge pull request #1200 from glennpj/lowpackname
...
Have ``spack create`` default to lower case name for package
2016-07-08 13:29:52 -07:00
Glenn Johnson
33d0660abc
Have `spack create
` default to lower case name
...
This will create package directories with lower case names when using
`spack create`. The documentation was modified to reflect this.
2016-07-08 15:11:37 -05:00
George Hartzell
1b9e8a0e65
Fix typo
...
Comamnds -> Commands
2016-07-08 11:01:08 -07:00
Todd Gamblin
b9148b1751
Merge pull request #1125 from NERSC/docs/cray
...
Update documentation for use on Cray
2016-07-06 15:06:20 -07:00
Gregory Becker
403a55afb2
Minor bug fix
2016-07-06 14:54:25 -07:00
Gregory Becker
663b30b3e8
Update target autodetection for linux platform
2016-07-06 14:54:22 -07:00
Denis Davydov
081918d71a
add --run-tests argument for install()
2016-07-06 22:45:30 +02:00
Todd Gamblin
03fdb2058a
Merge pull request #1176 from epfl-scitas/features/version_minor_improvements
...
spack.Version : like a duck!
2016-07-06 09:01:19 -07:00
alalazo
9b926a480f
qa : flake8 issues
2016-07-06 17:03:32 +02:00
alalazo
780a57367d
version : modified __getitem__ to return either an item or a Version instance + unit tests
2016-07-06 17:00:48 +02:00
alalazo
32e086f44a
version : modified __repr__ to return a string representation of the object + unit tests
2016-07-06 15:24:10 +02:00
William Killian
1f64f08cb3
(bugfix) fixed typo of spec --> raw_spec
2016-07-05 13:32:37 -07:00
Todd Gamblin
d687e332ad
Fix compile bugs for gcc on Mac OS X with macports.
...
- add macports to things that are cleaned out of the environment.
- linker incompatibilities cause issues with packages like OpenSSL.
- also clean up NOQA stuff in OpenSSL
2016-07-04 22:59:02 -07:00
Todd Gamblin
690937f953
Add --dirty
option to spack install
.
...
- Allow install to be run without cleaning the environment.
2016-07-04 22:58:01 -07:00
Todd Gamblin
6bac1598f6
Merge branch 'fix-archive' of https://github.com/mwilliammyers/spack into mwilliammyers-fix-archive
2016-07-04 21:35:33 -07:00
Todd Gamblin
890df7153a
Merge branch 'efischer/160311-StagedPackage' of https://github.com/citibeth/spack into citibeth-efischer/160311-StagedPackage
2016-07-04 00:27:32 -07:00
Glenn Johnson
31e9ded768
Remove more variables from build environment
...
Remove the LIBRARY_PATH and CPATH environment variables before building
a package.
2016-07-01 20:59:14 -05:00
Mario Melara
56adb5d9a5
Change arch spec and fix typo
...
Changed old arch specs to new arch specs. Changed intallation to
installation
2016-06-30 17:03:07 -07:00
Mario Melara
16a4c49f98
Remove Cray examples of config files
...
Removed examples of Cray config files and added them under Spack on
Cray. Any users of Cray can just look at the Spack on Cray section to
get an idea of what's used. If they want more information they can click
links to the sections.
2016-06-30 17:01:18 -07:00
Mario Melara
d784d561fc
Add more documentation fix arch spec
...
Added more documentation for Spack on Cray. Also fixed the architecture
spec to be linux-debian7-x86_64 since it was reversed in the previous
commit.
2016-06-30 16:59:36 -07:00
Elizabeth Fischer
6327877a6f
PEP-8
2016-06-30 09:19:57 -04:00
Elizabeth Fischer
50ac98bc04
Merge remote-tracking branch 'upstream/develop' into efischer/160630-StagedPackage
...
# Conflicts:
# lib/spack/docs/packaging_guide.rst
# lib/spack/spack/package.py
Mostly minor/formatting issues in lib/spack/spack/package.py (the heavyweight merge was already done recently). Only one serious issue: it looks like the feature branch had accidentally deleted the line `spack.hooks.post_install(self)`. This got added back in from develop.
2016-06-30 09:13:24 -04:00
Todd Gamblin
0e422dec8c
Merge pull request #1141 from adamjstewart/fixes/license_docs
...
Fix missing code blocks in licensed software documentation
2016-06-30 02:22:38 -07:00
Todd Gamblin
bc2fa76588
Merge pull request #1146 from scheibelp/features/doc-caching
...
added documentation for automatic caching of resources fetched during installs
2016-06-30 02:13:16 -07:00
Todd Gamblin
30d083c6b7
Merge branch 'efischer/160401-RecursiveModules' of https://github.com/citibeth/spack into citibeth-efischer/160401-RecursiveModules
2016-06-30 02:12:00 -07:00
Peter Scheibel
cfd380d514
added documentation for automatic caching of resources fetched during installs
2016-06-29 18:23:40 -07:00
Adam J. Stewart
06de8c56af
Fix missing code blocks in licensed software documentation
2016-06-29 12:35:38 -05:00
Todd Gamblin
eb388306fd
Merge pull request #1112 from adamjstewart/features/dependencies
...
Make spack create automatically add dependencies for build system
2016-06-29 07:57:33 -07:00
Todd Gamblin
c996632113
Add spack purge --cache to purge local archive cache.
2016-06-29 01:41:55 -07:00
Todd Gamblin
bc1320d83a
Merge branch 'features/cache-archives' of https://github.com/scheibelp/spack into scheibelp-features/cache-archives
2016-06-29 00:57:26 -07:00