Todd Gamblin
cee7bfa9f0
Simplify output redirection in spack.util.executable
...
- By default inherit parent's input/output descriptor
- Only use pipes if we need to return output.
- Allows subprocesses (like emacsclient) to detect terminal correctly
2016-01-19 01:16:14 -08:00
Todd Gamblin
ad32f64ef6
Allow completely empty config files.
...
- Previous version would give validation error for an empty file.
Now this is properly ignored.
- Also includes bugfix in ConfigFormatError
2016-01-19 01:16:14 -08:00
Todd Gamblin
8d6342c53d
Merge branch 'mplegendre-multi_pkgsrc_roots' into develop
...
- This moves var/spack/packages to var/spack/repos/builtin/packages.
- Packages that did not exist in the source branch, or were changed in
develop, were moved into var/spack/repos/builtin/packages as part of
the integration.
Conflicts:
lib/spack/spack/test/unit_install.py
var/spack/repos/builtin/packages/clang/package.py
2016-01-19 01:16:08 -08:00
Todd Gamblin
c1e57e49ae
Merge pull request #202 from scheibelp/features/unittest-xml-output-nose
...
Features/unittest xml output nose
2016-01-17 19:14:49 -08:00
Todd Gamblin
97b492756a
Fix create, diy, edit, and repo commands to use multiple repos.
2016-01-17 18:14:35 -08:00
Todd Gamblin
5984bc2ad3
Add namespace option to find command.
2016-01-17 18:12:53 -08:00
Todd Gamblin
358b2ab4ba
Temporary fix: Clang is the default compiler on Mac OS X.
2016-01-17 18:12:08 -08:00
Gregory Becker
8e54babf10
minor parsing bug fix
2016-01-15 17:21:32 -08:00
Gregory Becker
e1a0af8745
cleanup
2016-01-15 16:51:41 -08:00
Gregory Becker
16e9d658d5
Fixed the way flags on deps are attached so that they aren't moved onto the root before normalize/concretize
2016-01-15 16:18:40 -08:00
Gregory Becker
342f4bc2e0
Fixed virtual/cflag combination bug
2016-01-15 14:27:50 -08:00
Todd Gamblin
aa00999fca
update compiler config test.
2016-01-14 12:00:56 -08:00
Todd Gamblin
d869d8e86f
add sanity check on config write as well as validation on read.
2016-01-14 12:00:44 -08:00
Todd Gamblin
b567cb57e1
Add jsonschema validation for config files.
2016-01-14 10:41:35 -08:00
Todd Gamblin
05b30bf83e
Make text wrapping off by default in tty, add a kwarg for it.
2016-01-14 10:26:31 -08:00
Adam J. Stewart
f9fbb57d31
Add NAG Fortran Compiler support
2016-01-13 12:32:04 -06:00
Gregory Becker
848728858c
Removed extra plus signs from command line syntax. Did not yet remove them from printed format
2016-01-12 18:34:26 -08:00
Gregory Becker
5e3c883f2c
Cleanup and proper flag satisfaction for partial specs
2016-01-12 16:25:54 -08:00
Gregory Becker
528f9cd583
Implemented flags as lists for subsetting
2016-01-12 15:22:15 -08:00
Gregory Becker
2ac5ea42af
Fixed concretization
2016-01-11 13:55:11 -08:00
Mario Melara
aab1a67d05
Adding needed import modules. Changed platform_name to platform to prevent syntax errors
2016-01-09 09:42:36 -08:00
Gregory Becker
9615efd940
cleanup: Removing an unnecessary line in an otherwise unchanged file
2016-01-08 18:53:19 -08:00
Gregory Becker
41046499c6
minor bug chasing
2016-01-08 18:51:38 -08:00
Gregory Becker
6e5238d037
Fixing the fix and removing debug printing
2016-01-08 17:44:16 -08:00
Gregory Becker
2b2d4bae4e
Fixing multimethod test for new platforms
2016-01-08 17:38:37 -08:00
Gregory Becker
2b4dd8b9af
Fixed target satisfaction and updated tests accordingly
2016-01-08 16:30:27 -08:00
Gregory Becker
aa28e4e81f
Improved error messages for compiler_for_spec when either zero or multiple compilers returned.
2016-01-08 15:13:48 -08:00
Gregory Becker
d3d37ad0ce
removed the submodule as part of reversion of extraneous commits
2016-01-08 14:29:42 -08:00
Gregory Becker
ba63111f45
brought the architecture test up to date with new changes
2016-01-07 13:05:58 -08:00
Gregory Becker
53d4f82ce1
Improved cray architecture class
2016-01-07 13:01:05 -08:00
Gregory Becker
83917c4c30
Improved target specification
2016-01-07 12:43:39 -08:00
Gregory Becker
6ccd9d6fa4
Cleaned up naming conventions for architecture, split into platform and target
2016-01-07 11:49:01 -08:00
Gregory Becker
b4a0004f44
Improved target cmp_key and to/from yaml functions
2016-01-06 14:50:31 -08:00
Gregory Becker
51bd91edc0
made the compiler strategy more easily controllable
2016-01-06 13:00:22 -08:00
Gregory Becker
61b03b72b0
improved concretize efficiency for determining whether compilers come from the proper strategy
2016-01-05 19:03:25 -08:00
Gregory Becker
93c9c45580
minor tweak of compiler priority while waiting for customizable compiler priorities
2016-01-05 17:19:04 -08:00
Gregory Becker
29e0ff61d7
fixed compiler finding so as not to identify non-existent versions of the intel compiler based on the version numbers of the PrgEnv-intel module
2016-01-05 17:14:35 -08:00
Gregory Becker
c649610473
fixed concretization to only consider compilers found by the proper strategy
2016-01-05 17:00:28 -08:00
Gregory Becker
d6768cf921
minor bug fix
2016-01-05 16:23:32 -08:00
Gregory Becker
48b9023de4
removed debug printing
2016-01-05 14:51:18 -08:00
Gregory Becker
751503c434
fixed haswell targeting bug
2016-01-05 14:47:14 -08:00
Gregory Becker
1edbaa4e62
removed debug printing
2016-01-05 14:13:09 -08:00
Gregory Becker
9848ad32fd
fixed errors caused by crayport on linux and added a darwin architecture
2016-01-05 13:39:53 -08:00
Gregory Becker
d2c2c46541
bug hunting
2016-01-05 11:12:14 -08:00
Gregory Becker
751208cedf
pick last compiler instead of first, will be overwritten by more advanced preferences as mentioned in the email group
2016-01-04 16:35:06 -08:00
Gregory Becker
53808f254e
Support for cray external dependencies implemented in modules
2016-01-04 12:36:48 -08:00
Gregory Becker
ff82e41404
Merge branch 'externals' into crayport
2016-01-04 10:46:25 -08:00
Todd Gamblin
b02faf5641
add/remove/list working for new config format.
...
- mirrors.yaml now uses dict order for precedence, instead of lists of
dicts.
- spack.cmd now specifies default scope for add/remove and for list
with `default_modify_scope` and `default_list_scope`.
- commands that only read or list default to all scopes (merged)
- commands that modify configs modify user scope (highest
precedence) by default
- These vars are used in setup_paraser for mirror/repo/compiler.
- Spack's argparse supports aliases now.
- added 'rm' alias for `spack [repo|compiler|mirror] remove`
2016-01-03 02:27:50 -08:00
Todd Gamblin
21fae634a5
Add Python 3 aliases to our argparse backport.
2016-01-03 01:19:03 -08:00
Todd Gamblin
56937416a9
All tests that call concretize() need to be MockPackagesTests.
2016-01-02 18:18:00 -08:00