Commit graph

3618 commits

Author SHA1 Message Date
Todd Gamblin
acc62abbd0 Rework do_activate/activate and do_deactivate/deactivate semantics.
- packages can now extend only one other package.
- do_activate() and do_deactivate() are now called on the extension,
  and they automatically find the extendee
- activate() and deactivate() are still called on the extendee and are
  passed the extension.
2015-02-02 11:19:53 -08:00
Todd Gamblin
d13bbeb605 Add PYTOHNPATH to modules for python extensions. 2015-02-02 11:19:53 -08:00
Todd Gamblin
bcccf02020 Add setup_extension_environment() method.
- lets packages do some setup before their extensions run install()
2015-02-02 11:19:53 -08:00
Todd Gamblin
82946d2914 Move symlink tree routines to LinkTree class. 2015-02-02 11:19:52 -08:00
Todd Gamblin
9977543478 Added feature: package extensions
- packages can be "extended" by others
- allows extension to be symlinked into extendee's prefix.
- used for python modules.
  - first module: py-setuptools
2015-02-02 11:19:00 -08:00
Todd Gamblin
7215aee224 do_install() passes kwargs to dependencies. 2015-02-02 11:16:24 -08:00
Todd Gamblin
2c1eda66c4 First python extension package: setuptools 2015-02-02 11:16:23 -08:00
Todd Gamblin
adb7d614e6 Add pre-install and pre-uninstall hooks. 2015-02-02 11:16:23 -08:00
Todd Gamblin
ebe0c1d83a New "extends" relation adds another special list to the package class. 2015-02-02 11:16:23 -08:00
Todd Gamblin
88afad3e46 Directory layout can now track installed extensions per package. 2015-02-02 11:16:23 -08:00
Todd Gamblin
ba593ccb26 Fix bug in mirror path construction. 2015-02-02 11:15:24 -08:00
Todd Gamblin
81a4d89e94 Merge pull request #15 from ch4i/features/memaxes
Mitos package
2015-01-25 12:29:15 -08:00
Alfredo Gimenez
6a496ef620 PSAPI v0.6 -> Mitos v0.7 2015-01-23 16:58:15 -08:00
Todd Gamblin
0ac6ffb3ef Add extra gcc dependencies.
- not used until optional/conditional deps are implemented.
2015-01-23 00:05:23 -08:00
Todd Gamblin
3e37903ffd Packages have rpath property. 2015-01-23 00:03:51 -08:00
Todd Gamblin
e6b4530234 Add is_exe function to filesystem. 2015-01-22 13:52:28 -08:00
Alfredo Gimenez
e97db785d6 psapi v0.6 2015-01-21 20:42:44 -08:00
Todd Gamblin
51ed0d3f6f Properly set install RPATHS for cmake builds. 2015-01-19 20:59:23 -08:00
Todd Gamblin
2a0e33876e Add PSAPI 2015-01-19 20:45:27 -08:00
Todd Gamblin
d08c0703a0 Initial build of MemAxes GUI. 2015-01-19 14:07:41 -08:00
Todd Gamblin
b7dacb427d Qt5 & VTK builds. VTK works with Qt 4 and 5. 2015-01-19 14:07:09 -08:00
Todd Gamblin
0211adbdb6 version bump libpng 2015-01-19 14:06:25 -08:00
Todd Gamblin
53c8b4249a Make dbus put a machine id file in the right place. 2015-01-19 14:06:09 -08:00
Todd Gamblin
f35b8b8db4 Better location error output. 2015-01-19 14:05:48 -08:00
Todd Gamblin
a4c19eee14 Qt5 webkit requires gperf 2015-01-19 14:00:54 -08:00
Todd Gamblin
4e3662f318 Dyninst 8.2 works. 2015-01-17 17:09:42 -08:00
Todd Gamblin
c6351b5d00 Fix #11: bug in ProviderIndex
- packages that provided same spec (e.g. mpe) were overwritten in the index
  - Index now has a set of providers instead of a single provider per provided spec.
- see https://github.com/scalability-llnl/spack/issues/11
2015-01-14 00:18:29 -08:00
Todd Gamblin
f73abe6849 Merge branch 'features/dep-graph' into develop 2015-01-13 01:00:55 -08:00
Todd Gamblin
fa67d69585 Merge branch 'develop' of github.com:scalability-llnl/spack into develop 2015-01-13 00:53:04 -08:00
Todd Gamblin
917d82be0d Add list_url for ompss 2015-01-13 00:45:12 -08:00
George Todd Gamblin
1324b32665 Merge pull request #26 in SCALE/spack from ~JAULMES1/spack:develop to develop
# By Luc Jaulmes
# Via Luc Jaulmes
* commit '844c0838487529c0f2edc6f09e6ef86f12364716':
  Updated versions in OmpSs and Extrae, which resolves version-dependency problems with MPI
2015-01-12 22:33:26 -08:00
Luc Jaulmes
844c083848 Updated versions in OmpSs and Extrae, which resolves version-dependency problems with MPI 2015-01-12 20:38:32 +01:00
Todd Gamblin
9db967be98 Fix bug when all deps are back edges.
- Happened with the graph for SAMRAI
2015-01-10 19:23:07 -08:00
Todd Gamblin
011f71a442 Fix bug in STAT graph 2015-01-10 19:09:03 -08:00
Todd Gamblin
36198c525b Merge pull request #10 from justintoo/rose
Add Packages for ROSE and JDK
2015-01-08 09:10:52 -08:00
Justin Too
3a07ec6c7d (Package) Add ROSE compiler package 2015-01-07 14:07:35 -08:00
Justin Too
cd9e4b5b7f (Package) Add Oracle JDK package 2015-01-07 14:07:02 -08:00
Todd Gamblin
935eba2357 Allow commands to return error codes. 2015-01-05 02:33:15 -05:00
Todd Gamblin
5d033fbd0a Expansion works properly, simplified graph code. 2015-01-04 18:49:22 -08:00
Todd Gamblin
b4b8339d0d bugfix for dot graphs of virtual packages. 2015-01-03 17:58:37 -08:00
Todd Gamblin
0a0291678e Factor graph code out into its own module, rework spack graph. 2015-01-03 17:45:54 -08:00
Todd Gamblin
478af54cce Color graph edges. 2014-12-31 14:55:35 -08:00
Todd Gamblin
dba5d020cd Pipelining back edges works, saves more space. 2014-12-30 18:05:47 -08:00
Todd Gamblin
bb3dafa3b5 Reduce number of immediate expand/contracts. 2014-12-29 21:11:28 -08:00
Todd Gamblin
daf1e229f7 More compact graphs: do back edges before forward expansion. 2014-12-29 14:29:44 -08:00
Todd Gamblin
226de0a42d Spec graph works without color. 2014-12-29 01:52:03 -08:00
Todd Gamblin
a6e00f6086 Fix ColorStream 2014-12-29 01:05:21 -08:00
Todd Gamblin
6ffcdc1166 Partially wroking ASCII dependency graph. 2014-12-29 00:03:35 -08:00
Todd Gamblin
860f834aad spack graph allows plotting specific packages. 2014-12-26 13:52:49 -08:00
Todd Gamblin
9dabcc8703 Git package. 2014-12-26 00:07:15 -08:00