Todd Gamblin
76cb3eb7d2
Add help on specs to top of spack -h
2015-05-17 22:29:48 -07:00
Todd Gamblin
203fd861aa
Allow spack install -j to throttle make jobs.
2015-04-07 22:21:19 -07:00
Todd Gamblin
93067d0d63
Add profile option to spack script.
2015-02-15 01:45:05 -08:00
Todd Gamblin
935eba2357
Allow commands to return error codes.
2015-01-05 02:33:15 -05:00
Todd Gamblin
ab3bf61903
Fix for SPACK-50
...
Bad format string in version check.
2014-12-19 11:09:37 -08:00
Todd Gamblin
55bf243f16
Improved website scraping.
2014-11-07 00:17:25 -08:00
Todd Gamblin
6fdfd83e6b
Add test cases for mirroring.
2014-10-15 21:07:41 -04:00
Todd Gamblin
8cc2298181
Merge branch 'features/python-2.6-compatibility' into develop
...
- Changed 'import argparse' to 'from external import argparse' in conflicts.
Conflicts:
lib/spack/spack/cmd/dotkit.py
lib/spack/spack/cmd/unuse.py
lib/spack/spack/cmd/use.py
2014-08-20 09:30:40 -07:00
Todd Gamblin
221cf6acb9
Consolidate most module code into spack.modules and spack.cmd.module
...
- One file with all the module classes (spack/modules.py)
- Has an EnvModule superclass that does most of the work and consolidates common code
- Subclasses have specializations for different module systems (TclModule, Dotkit)
- One command (spack module) for all the types of modules to use
- the one command is used by the scripts, only need to maintain in one place
- has some subcommands for different module types, but they're handled mostly generically.
- Consolidate zsh support into a single setup-env.sh script.
2014-08-16 14:53:57 -07:00
Todd Gamblin
48d5281e3a
Test cases pass; Spack supports Python 2.6!
2014-08-10 18:07:20 -07:00
Todd Gamblin
7714d08e2e
Remvoe dependence on v2.7 argparse by including argparse.
2014-08-10 11:48:07 -07:00
Todd Gamblin
0551638944
Add TAU package and routines to filter files, fix sed calls.
...
- TAU doesn't install to directories with '@' in the name.
- Need to fix up its scripts.
- routines to filter files as sed would, but using python regular expressions.
- TAU package uses this.
2014-07-02 23:24:10 -07:00
Todd Gamblin
3c3f272280
spack mirror now checksums fetched archives.
2014-06-24 11:53:44 -07:00
Todd Gamblin
b6740cf1d1
Make debug and verbose output work properly.
2014-06-22 12:50:34 -07:00
Todd Gamblin
f784757113
Initial ability to swap compilers.
...
Fixes SPACK-16 and forces compiler script to build using compiler wrappers.
- works with gcc and clang on laptop.
2014-06-22 12:49:34 -07:00
Todd Gamblin
59a3b8dc67
Make SSL verification failures recommend spack -k
...
- Adds optional long message to SpackError
- tty now wraps long message text.
2014-04-13 16:38:15 -07:00
Todd Gamblin
81dc27bf41
Move packages and mock packages to /var/spack
2014-03-16 17:05:15 -07:00
Todd Gamblin
b8b334e86c
New, more consistent package directory structure.
...
- Packages now live in <package_name>/package.py
- spack.packages refactored to use a PackageDB object instead of
monolithic module.
- Implementation of mock_packages_test.py is greatly simplified
- Added test to exercise install/uninstall code because that wasn't
covered by existing tests and kept breaking.
2014-03-16 14:51:03 -07:00
Todd Gamblin
9d01df9e8a
Moving utilities to a common LLNL package.
2014-03-14 16:21:15 -07:00
Todd Gamblin
77aeac6501
Support github URLs
2014-03-13 14:51:28 -07:00
Todd Gamblin
0e38a9d16d
Added a -k/--insecure option to make curl not check certs.
2014-03-13 14:24:47 -07:00
Todd Gamblin
3a152ed923
Script to make 'spack python' usable across platforms in shebang scripts.
2014-01-13 04:59:23 +01:00
Todd Gamblin
ce9b3511d0
Add license to python files and spack script.
2014-01-08 10:21:35 +01:00
Todd Gamblin
c9e40b725d
Start of basic documentation
2013-12-12 04:25:31 -08:00
Todd Gamblin
9ef471420d
Tweak for help output
2013-12-09 20:14:47 -08:00
Todd Gamblin
389fa1792d
Added web spider capability for listing versions.
2013-11-23 13:04:36 -08:00
Todd Gamblin
618571b807
Checkpoint commit: much-improved spec class.
...
Still organizing things.
2013-10-07 17:57:27 -07:00
Todd Gamblin
5c761aafab
Add checks for version 2.7
2013-06-02 13:54:46 -07:00
Todd Gamblin
340fe565d4
Use realpath in addition to expanduser to locate spack directory.
2013-05-15 16:47:50 -07:00
Todd Gamblin
453471cb05
Better help formatting.
2013-04-08 23:00:42 -07:00
Todd Gamblin
422d291b11
This adds support for multi-platform methods.
...
You can now do this:
class MyPackage(Package):
def install(self):
...default install...
@platform('bgqos_0')
def install(self):
...specialized install for bgq...
This works on functions other than install, as well (as long as they're in a Package)
2013-04-04 10:22:49 -07:00
Todd Gamblin
e1551de976
Moved install-spack to its own simpler command.
2013-03-25 15:27:28 -07:00
Todd Gamblin
b224d249bb
Print files that are in the way of install.
2013-03-25 11:30:11 -07:00
Todd Gamblin
3229e47e5d
Adding install script
2013-03-25 11:25:27 -07:00
Todd Gamblin
27b9204785
Better spack -h: added cmd descriptions.
...
- each cmd has a desscription attribute that is used for the help strign in argparse.
2013-02-22 00:20:24 -08:00
Todd Gamblin
bd59689fdc
Minor changes; loosened up parallel build for dwarf.
2013-02-21 19:27:27 -08:00
Todd Gamblin
2a908d6a0e
Added help command and purge command.
2013-02-21 19:05:56 -08:00
Todd Gamblin
5d81cfdac6
Require python2.7
2013-02-18 23:52:50 -08:00
Todd Gamblin
38becacace
Dependencies now work. Added libelf, libdwarf.
2013-02-18 23:46:04 -08:00
Todd Gamblin
cc76c0f5f9
Initial version of spack with one package: cmake
2013-02-13 17:50:44 -08:00