Commit graph

17476 commits

Author SHA1 Message Date
Todd Gamblin
d800c23cec Better activate/deactivate logic.
spack activate
  - now activates dependency extensions
  - ensures dependencies are activated in the python installation.
  - -f/--force option still allows the old activate behavior.

spack deactivate
  - checks for dependents before deactivating (like uninstall)
  - deactivate -a/--all <extension> will deactviate a package and ALL
    of its dependency extensions.
  - deactivate -a/--all <extendee> activates all extensions of <extendee>
    e.g.: spack deactivate -a python
  - deactivate -f/--force option allows removing regardless of dependents.
    - deactivate -f can be run EVEN if a package is not activated.
    - allows for clenup of activations gone wrong.
2015-02-17 00:24:58 -08:00
Todd Gamblin
57f331e2ac Ignore conflicting nose tests in py-nose and py-matplotlib. 2015-02-17 00:22:18 -08:00
Todd Gamblin
67db8ddca8 Factor ignore logic into a predicate builder. 2015-02-17 00:21:15 -08:00
Todd Gamblin
06d6b0b205 More py-setuptools dependencies added. 2015-02-16 21:53:55 -08:00
Todd Gamblin
13376efafc Add package-specific rpath back to shiboken and pyside. 2015-02-16 21:53:34 -08:00
Todd Gamblin
e6b2c27011 Factor out forking logic to build_environment.py. 2015-02-16 21:41:31 -08:00
Todd Gamblin
614c22fc1b Allow forced deactivation -- best effort unlinking
spack deactivate -f will unlink even if Spack thinks the package isn't enabled.
Made deactivate routines idempotent.
2015-02-16 12:41:22 -08:00
Todd Gamblin
8aa3afcfde Python package cleanup.
- Added a number of dependencies to python packages.
- Python packages may still not build without some OS support.
- Example: Numpy needs ATLAS, and will use a system ATLAS install.
  - Atlas requires turning off CPU throttling to build.
  - can't do this as a regular user -- how to build ATLAS with Spack
  - currnetly relying on a system ATLAS install.
2015-02-15 23:04:20 -08:00
Todd Gamblin
847ed8ad39 Add libxslt, cleanup libxml2. 2015-02-15 23:04:04 -08:00
Todd Gamblin
b86eb69552 libgcrypt and libgpg-error packages. 2015-02-15 23:03:33 -08:00
Todd Gamblin
65d60f92f5 qhull package. 2015-02-15 23:02:51 -08:00
Todd Gamblin
36579844d9 Add Tcl/Tk packages. 2015-02-15 23:02:36 -08:00
Todd Gamblin
ce011501f9 Add R package. 2015-02-15 23:02:21 -08:00
Todd Gamblin
b11061f99d Rename py-pyqt4 to py-pyqt. 2015-02-15 12:40:02 -08:00
Todd Gamblin
2f67cdaf10 Better time output on build completion. 2015-02-15 12:39:10 -08:00
Todd Gamblin
d1e03329c5 Memoize all_specs() and exists() for better performance.
- Real bottleneck is calling normalize() for every spec when we read it.
- Need to store graph information in spec files to avoid the need for this.
  - Also, normalizing old specs isn't always possible, so we need to do this anyway.
2015-02-15 11:50:13 -08:00
Todd Gamblin
3c0048dd89 py-sip installs properly into a prefix 2015-02-15 01:59:36 -08:00
Todd Gamblin
c0c0879924 Better extension activation/deactivation 2015-02-15 01:58:35 -08:00
Todd Gamblin
82dc935a50 installed_extensions_for no longer fails when nothing known about pkg 2015-02-15 01:49:50 -08:00
Todd Gamblin
93067d0d63 Add profile option to spack script. 2015-02-15 01:45:05 -08:00
Todd Gamblin
0c94a6e2b0 Merge branch 'features/python-modules' into features/memaxes
Conflicts:
	var/spack/packages/qt/package.py
2015-02-12 10:01:58 -08:00
Gregory L. Lee
5c2608b032 typo: Self -> self 2015-02-09 15:55:18 -08:00
Todd Gamblin
25af341954 Python package improvements. 2015-02-09 02:54:49 -08:00
Todd Gamblin
d1d0b85d80 Add Alfredo to contributors. 2015-02-09 01:13:56 -08:00
Todd Gamblin
1e5bbe60f7 Merge pull request #18 from ch4i/features/memaxes
Features/memaxes
2015-02-09 01:06:06 -08:00
Alfredo Gimenez
27617670f0 qt with hardware accelerated opengl working 2015-02-09 00:01:07 -08:00
Todd Gamblin
aae364b4c9 "spack extensions" shows total extension count. 2015-02-08 23:26:15 -08:00
Todd Gamblin
c077f05705 Move dpeendency environment setup to build_environemnt. 2015-02-08 22:01:00 -08:00
Todd Gamblin
f81b136547 import fix in cmd/clean 2015-02-08 19:43:10 -08:00
Todd Gamblin
20ec80295d setup_extension_environment is now setup_dependent_environment.
- other packages, like Qt, can now use this to set up relevant build
  variables and env vars for their dependencies.

- not just extensions anymore.
2015-02-08 19:41:17 -08:00
Todd Gamblin
60a385d4a4 Minor textual error in extensions command. 2015-02-08 19:40:28 -08:00
Todd Gamblin
e51e01f4f0 Cleaned up python to remove redundant line. 2015-02-08 19:39:36 -08:00
Todd Gamblin
befe72b9b9 directory_layout now raises an error when an install fails. 2015-02-08 19:36:30 -08:00
Alfredo Gimenez
9e878075ac mesa 8.0.5 working 2015-02-08 16:09:13 -08:00
Alfredo Gimenez
cc684a3ebe older mesa for 2.6 kernel (not workin yet) 2015-02-08 13:34:45 -08:00
Alfredo Gimenez
1605e04d44 mesa and systemd (systemd not working yet) 2015-02-07 22:08:50 -08:00
Alfredo Gimenez
932f3930f4 util-linux added 2015-02-07 09:18:34 -08:00
Alfredo Gimenez
676cc84c9e more mesa dependencies 2015-02-06 17:24:55 -08:00
Alfredo Gimenez
5fdf5438ea flex and bison 2015-02-06 16:55:48 -08:00
Alfredo Gimenez
d95d48bbe6 py-mako and fix for setup-env.sh 2015-02-06 16:43:21 -08:00
Gregory L. Lee
5cc369c2b8 add dependent packages to PYTHONPATH for build 2015-02-06 16:35:35 -08:00
Alfredo Gimenez
a4ac1977a4 merge with python-modules 2015-02-06 16:27:33 -08:00
Todd Gamblin
457f2d1d51 Fix libpng to use a better URL
Sourceforge URLs like this eventually die when the libpng version is bumped:
    http://sourceforge.net/projects/libpng/files/libpng16/1.6.14/libpng-1.6.14.tar.gz/download

But ones like this give you a "permanently moved", which curl -L will follow:
    http://download.sourceforge.net/libpng/libpng-1.6.16.tar.gz
2015-02-06 08:37:22 -08:00
Todd Gamblin
3a3e4d4391 Do not automatically activate extensions on install. 2015-02-04 15:47:03 -08:00
Todd Gamblin
a9e189972a Bugfix in spak extensions 2015-02-04 15:42:41 -08:00
Todd Gamblin
5bde8359e8 More information in extensions command. 2015-02-02 11:20:36 -08:00
Todd Gamblin
2d9190d264 Add extensions command. 2015-02-02 11:20:36 -08:00
Todd Gamblin
6b90017efa Fixed dumb link_tree bug, added test for link tree. 2015-02-02 11:20:35 -08:00
Todd Gamblin
6400ace901 Add "spack extensions" command to list activated extensions. 2015-02-02 11:19:54 -08:00
Todd Gamblin
70c8bf44b8 Fix for install sanity check -- don't count hidden dir layout files. 2015-02-02 11:19:54 -08:00