alalazo
893a5565fe
Merge branch 'develop' of https://github.com/LLNL/spack into features/install_with_phases
...
Conflicts:
lib/spack/spack/__init__.py
var/spack/repos/builtin/packages/gmp/package.py
var/spack/repos/builtin/packages/openjpeg/package.py
2016-07-15 11:02:55 +02:00
Ben Boeckel
5d152edcaf
spec: assign namespaces to the full dependency DAG
2016-07-14 16:33:48 -04:00
Ben Boeckel
faa3d43d9c
package: mention the package that is no concrete
2016-07-14 16:33:38 -04:00
Ben Boeckel
45c675fe7f
spack: introduce dependency types
...
deptypes: allow for different queries
For things like Python modules, they are required for the build and
runtime, but rather than adding a new parameter for what to query across
the dependency DAG, just expose the recursive query parameter.
2016-07-14 16:21:46 -04:00
Ben Boeckel
bae97d17d0
test: use file:// url for git repos
2016-07-14 16:21:45 -04:00
Ben Boeckel
6d2ec9baf7
test/stage: use os.path.realpath on the test paths
...
When var/spack/stage is a symlink, the tests fail since realpath is used
on the resulting path, but not the original path, so the string compare
fails. Smarter path testing might be a better option.
2016-07-14 16:21:45 -04:00
Ben Boeckel
b4682c8ca3
directory_layout: fix error path when specs conflict
2016-07-14 16:21:45 -04:00
Ben Boeckel
e275b567eb
typos: fix some typos
2016-07-14 16:21:45 -04:00
alalazo
b8fccb5f61
CMakePackage : added hook for roo CmakeLists.txt, removed duplicated code from build_environment.py
2016-07-14 12:04:24 +02:00
alalazo
1ecea4c2f1
log : refactored acquire and release semantic to meet the context manager protocol
2016-07-14 09:34:01 +02:00
alalazo
00b8e0b567
package.py : joined and simplified try/except blocks in do_install
2016-07-14 09:11:44 +02:00
alalazo
9d66b85492
log : changed semantic for start / join (now it's explicit)
2016-07-13 22:51:12 +02:00
alalazo
90b131260b
log : changed semantic for start / join (now it's explicit)
2016-07-13 22:50:39 +02:00
alalazo
7cedd620f1
package.py : added CMakePackage, changed qhull, ibmisc, openjpeg to work as examples
2016-07-13 17:36:06 +02:00
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
27aa265abd
Merge pull request #1211 from hartzell/patch-3
...
Typo: verison -> version
2016-07-12 13:53:52 -07: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
fbaff33f3f
Typo: verison -> version
2016-07-11 09:44:20 -07: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