Barry Smith
ef2c42a889
Do not check directory layout for external packages ( #2172 )
...
External packages do not have an spec.yaml file so don't check for it.
Without this change any time a package depends on an external package
when the new package is installed you will get the error
Install prefix exists but contains no spec.yaml
This problem has also haunted me since I started using Spack since PETSc
depends on Python and I used an external python but fortunately it
was relatively easy to debug once I could reproduce it at will.
Funded-by: IDEAS
Project: IDEAS/xSDK
Time: 1 hour
2016-10-29 20:57:41 -07:00
Matthew Scott Krafczyk
c2d58d39dd
Import dso_suffix from spack.build_environment in abi.py ( #2174 )
...
Fixes #1845
2016-10-29 16:47:06 -07:00
scheibelp
23683c65de
Use Spec.format for token substitution in modules ( #1848 )
...
This replaces a custom token-based substitution format with calls to
Spec.format in modules.py
This also resolves a couple issues:
- LmodModules set configuration globally instead of in its initializer
which meant test-specific configuration was not applied
- Added support for setting hash_length=0 for LmodModules. This only
affects the module filename and not the directory names for the
hierarchy tokens in the path. This includes an additional unit test.
2016-10-29 13:56:34 -07:00
Adam J. Stewart
58409a2eaf
Fix rpath linking for NAG, add documentation on setup ( #2142 )
2016-10-27 15:28:09 -07:00
Elizabeth Fischer
12270b9dbf
Remove support for deprecated package. See also #2085 and #2086 ( #2090 )
2016-10-26 21:53:08 -07:00
George Hartzell
bf08bd7076
Fix typo: _choiches -> _choices ( #2127 )
...
The breaks `spack create`.
2016-10-26 20:39:08 -07:00
George Hartzell
e652a32f05
typo: vlaues -> values ( #2147 )
2016-10-26 17:51:01 -07:00
Elizabeth Fischer
3895c974a0
Removed documentation on false paths as per #2083 ( #2146 )
...
Removed documentation on false paths as per #2083
2016-10-26 17:11:54 -07:00
Denis Davydov
9f54cea5c5
document recommended usage of system blas/lapack ( #2081 )
...
* document recommended usage of system blas/lapack
* update doc
* minor
* reword
2016-10-26 16:22:18 -07:00
Massimiliano Culpo
37dc719d13
ProcessError : now the exception is correctly pickled and passed across processes. ( #2143 )
2016-10-26 15:17:20 -07:00
Massimiliano Culpo
e73ab84680
spack install : added --log-format option (incorporates test-install command) ( #2112 )
...
* spack install : added --log-format option (incorporates test-install command)
fixes #1907
* qa : removed extra whitespace
2016-10-26 14:22:46 -07:00
Denis Davydov
33fb7bbd1b
add a unit test for conretization with develop version ( #2064 )
2016-10-26 01:49:52 -07:00
Denis Davydov
39772e4c4c
filter system paths ( #2083 )
...
* add filter_system_paths()
* filter system paths in set_build_environment_variables()
* two function: lib/inc + bin
* reverse order in bin
* fix order
* minor
* improvements of the code
* more cleanup
* alternative solution for filter_bins
* fiddle base alalazo's approach
* minor
* minor
2016-10-25 11:25:13 -07:00
Adam J. Stewart
a250792202
Find compatibility versions of GCC ( #2099 )
2016-10-25 11:07:49 -07:00
Massimiliano Culpo
7a575d2f4b
multimethod.py : calls functools.wraps before returning the correct method fixes #2118 ( #2119 )
2016-10-25 08:30:40 -07:00
Massimiliano Culpo
b27e78cd78
spack setup : fixed regression after #1186 ( #2117 )
2016-10-25 07:53:11 -07:00
Todd Gamblin
0f6a5cd385
Merge pull request #1186 from epfl-scitas/features/install_with_phases
...
do_install : allow for an arbitrary number of phases
2016-10-24 17:13:49 -07:00
Todd Gamblin
c1ad4bde28
Rename EditableMakefile to MakefilePackage
2016-10-24 16:41:20 -07:00
Joseph Ciurej
7dd14870ce
Bug Fix : Apply Compiler Flags Specified by Manual Compiler Configuration ( #1532 )
...
* Fixed a bug causing config-specified compiler flags to be ignored.
Updated the compiler config so all flags are in a separate section.
* Updated the documentation for the `compilers.yaml` file spec.
* Implemented basic testing for the 'flags' section of compiler config.
* Fixed a few minor problems with the manual compiler config documentation.
2016-10-24 14:37:03 -07:00
George Hartzell
e35c023c61
Typo: becuase -> because ( #2110 )
2016-10-24 14:28:04 -07:00
Elizabeth Fischer
4f0b7cd2c2
Small fix to docs. ( #2092 )
2016-10-24 11:09:02 -07:00
Massimiliano Culpo
8af9881e9b
spack test : exits after ctrl+c fixes #2029 ( #2082 )
2016-10-24 11:07:08 -07:00
alalazo
7bd735416d
package.py : moved each specialized package to its own module file
2016-10-23 22:38:19 +02:00
alalazo
e0f3188970
spack setup : improved error message
2016-10-23 19:10:07 +02:00
alalazo
fa3f07c092
CMakePackage, AutotoolsPackage : added default behavior on check
2016-10-23 19:02:46 +02:00
alalazo
ebbbed166e
Merge branch 'develop' of https://github.com/LLNL/spack into features/install_with_phases_rebase
2016-10-23 13:35:12 +02:00
alalazo
284ed13fa6
spack.error : fixed pickling and representation to permit to pass FetchErrors
2016-10-23 13:34:29 +02:00
alalazo
bdf4832269
spack build, spack configure : added commands
2016-10-22 17:08:52 +02:00
alalazo
484aaf50cc
CMakePackage : changed method name from wdir
to build_directory
2016-10-22 14:54:26 +02:00
alalazo
8091a3d6cb
do_install : use build_system_class attribute instead of type(self).__base__
2016-10-22 10:48:16 +02:00
alalazo
c84123dce5
spack info : shows the build-system class used
2016-10-22 10:39:33 +02:00
Matthew LeGendre
859d296105
Don't clear LD_LIBRARY_PATH and friends from compiler wrappers ( #2074 )
...
* Don't clear LD_LIBRARY_PATH and friends from compiler wrappers
* remove debugging print
2016-10-21 16:25:12 -07:00
alalazo
482f60d1d3
packages : moved decorators into AutotoolsPackage and CMakePackage
2016-10-22 01:03:07 +02:00
alalazo
012da99644
spack create : fixed typo
2016-10-22 00:10:37 +02:00
alalazo
e8dafd1090
Removed space before colon in FIXME:
, added one line description of guess classes
2016-10-21 23:54:11 +02:00
alalazo
715e029361
spack info : added phases
2016-10-21 22:44:41 +02:00
Matthew LeGendre
5ff08386af
Remove unnecessary blackslash for flake8
2016-10-21 13:17:23 -07:00
alalazo
fd2b72fd0f
qa : flake8 issues
2016-10-21 22:15:29 +02:00
alalazo
04821c7be8
spack create : now creates packages that are derived from AutotoolsPackage and CMakePackage
2016-10-21 22:12:21 +02:00
Matthew LeGendre
73b46a92bc
Fix concretize bug where provider sort couldn't handle version ranges
2016-10-21 11:59:41 -07:00
Adam J. Stewart
52158d9316
Add new Version property to handle joined version numbers ( #2062 )
...
* Add new version property to handle joined version numbers
* Add unit test for new joined property
* Add documentation on version.up_to() and version.joined
2016-10-21 07:49:36 -07:00
Massimiliano Culpo
aa86432ec6
patch directive : fixed retrieval from urls ( fixes #1584 ) ( #2039 )
...
* patch directive : fixed retrieval from urls fixes #1584
- add support for 'gz' archives
- fixed bugs with URL patches
- updated nwchem
* patch directive : added checksum to UrlPatch
- refactored classes in patch.py
- updated nwchem
* patch directive : added caching
2016-10-21 07:32:52 -07:00
alalazo
2251428f0a
CMakePackage : changed list()
to []
2016-10-21 13:01:55 +02:00
alalazo
5ce3071143
do_install : removed install_self from the list of arguments (leftover after rebasing #1956 )
2016-10-21 12:51:38 +02:00
alalazo
213e3f0860
Merge branch 'develop' of https://github.com/LLNL/spack into features/install_with_phases_rebase
...
Conflicts:
lib/spack/spack/cmd/install.py
lib/spack/spack/cmd/setup.py
2016-10-21 12:38:43 +02:00
scheibelp
8111a4bb9d
Don't cache truncated dag hash for spec ( #2048 )
...
If Spec.dag_hash was called for the first time with a 'length'
specified, the cached hash was truncated. This ensures that the
full hash is cached.
2016-10-18 22:34:46 -07:00
Massimiliano Culpo
0a3cc5e8e3
Package.do_install
: removed install_self
from arguments (#1956 )
...
* Removes the extra argument from Package.do_install while maintaining the changes in behavior pulled in #1603
* install : removed -i and -d shorthands (breaks backward compatibility)
* Change ':' to ','
2016-10-18 14:25:07 -07:00
Eric
306eea5e59
Support for bazel ( #2023 )
...
* Add package bazel
* Add support for bazel-based builds
2016-10-18 07:46:42 -07:00
Adam J. Stewart
d891143a08
Ignore GPG/PGP signatures/checksums when finding available downloads ( #2028 )
...
* Ignore GPG/PGP signatures/checksums when finding available downloads
* Remove duplicated basename
2016-10-16 14:46:29 -07:00
Todd Gamblin
193f68083f
Platform-specific config scopes ( #2030 )
...
* Add platform-specific configuration scopes.
* Update `spack config` to use the new scope arguments.
2016-10-15 17:00:11 -07:00