Commit graph

5407 commits

Author SHA1 Message Date
Denis Davydov
eb645a8e46 p4est: remove unneded lua dependency (#2559) 2016-12-12 09:51:58 -08:00
Todd Gamblin
d3d87ea190 Add documentation for repositories and namespaces. (#2474)
* Add documentation for repositories and namespaces.

* Update and extend repository documentation per review.

- Also add `-N` argument for `spack spec`
2016-12-12 00:54:20 -08:00
Javier
641db8b9bd New package - r-xgboost (#2493) 2016-12-11 11:49:33 -08:00
Denis Davydov
c8a89d84b5 atlas: fix lapack stage path (#2371)
* atlas: fix lapack stage path

* atlas: add a few links to other package managers
2016-12-11 11:48:23 -08:00
Denis Davydov
d8fd5835b6 rename: add new package (#2486) 2016-12-11 11:44:30 -08:00
Stephen McDowell
7e96b09e63 [docs] missin .. code-block:: console in Spack 101 (#2530)
The advanced [Uninstalling Packages](spack.readthedocs.io/en/latest/tutorial_sc16_spack_basics.html#uninstalling-packages) via hash has a couple missing `.. code-block:: console` directives ;)

I have no idea what branch to direct this to though...
2016-12-11 11:40:36 -08:00
Denis Davydov
62dedc80b1 likwid: add todo (#2531)
* likwid: add todo

* liwkid: add a note on hwloc dependency
2016-12-11 11:39:56 -08:00
Denis Davydov
6475937fc2 numdiff: fix dependency type on macOS (#2538) 2016-12-11 11:38:40 -08:00
Sergey Kosukhin
42dbd4f855 Updated cmor: corrected way to set constraints for the extendee. (#2543) 2016-12-11 11:37:00 -08:00
Jean-Paul Pelteret
70f1e92951 Update Adol-C package (#2556)
Rename developer version, add new version, and make patch version
specific.
2016-12-11 11:35:57 -08:00
Denis Davydov
1570f90fde clang: do xcode mockup iff requested by a package (#2544)
* clang: do xcode mockup iff requested by a package

* add a note

* add pkg to setup_custom_environment() and decide whether or not to use mockup XCode there based on the package
2016-12-10 16:23:39 -08:00
Stephen McDowell
b03881d1bb Eigen 3.3.1 is latest stable version. (#2551)
Main page states [3.3.1 is latest stable](http://eigen.tuxfamily.org/index.php?title=Main_Page).
2016-12-10 16:23:20 -08:00
Stephen McDowell
3887d9b2bc Scotch 6.0.4 is available. (#2552)
Source project page states [6.0.4 is latest stable](http://scotch.gforge.inria.fr/)
2016-12-10 16:23:03 -08:00
Barry Smith
3a1e191b72 Implementation of spack file for Pflotran (#2444)
Supports installing both a "known version" of PETSc/PFlotran that works and
the develop/master branches of both packages

Funded-by: IDEAS
Project: IDEAS/xSDK
Time: 4 hour
2016-12-10 16:22:36 -08:00
Tom Scogland
943c007fb5 update flux dependencies and package (#2541)
* update flux dependencies and package

* refinements from @adamjstewart

* fix flux document generation

The docbook-xsl package has been added, and correctly configures catalog
files to generate documentation correctly with asciidoc.
2016-12-09 17:19:53 -08:00
Denis Davydov
d7e9134d42 astyle: do not set user/group when installing on macOS (#2542)
* astyle: do not set user/group when installing on macOS

* astyle: add new version
2016-12-09 10:58:08 -08:00
Denis Davydov
4d0ea423fb petsc: explicitly disable X11 (#2533)
otherwise petsc may pickup libX11 on login nodes during config/build,
but libX11 may not be available on computation nodes.
2016-12-09 08:43:38 -08:00
becker33
3f8613ae42 Make targets an attribute of compilers (#2500)
* Make targets an attribute of compilers, similar to OS. Allows users to use `spack compiler find` to add compilers for the same platform/os but different targets when spack is installed on a file system mounted on machines with different targets.

* Changed get_compilers() method to treat old compilers with no target as target='any'

* flake8 changes

* Address change requests for comments/code clarity
2016-12-08 22:40:26 -08:00
Sergey Kosukhin
10591fb87f Json loader now returns str objects instead of unicode. (#2524) 2016-12-08 13:42:18 -08:00
Sergey Kosukhin
607f4e7b81 Added packages: cmor and uuid. (#2527)
* Added package 'uuid'.

* Added package 'cmor'.

* Updated 'cmor' and 'uuid': docstring formatting.
2016-12-08 12:09:21 -08:00
scheibelp
065e3d7c0d Revert to-string for CNL operating system (#2526) 2016-12-08 11:41:34 -08:00
Todd Gamblin
be300eb6d5 Add support for parsing R-XML URL versions. (#2525)
* Add support for parsing R-XML URL versions.

* Better url-parse debug output.

- just print the debug stuff all the time.

* fix R-XML versions.
2016-12-08 11:08:58 -08:00
George Hartzell
65df417444 Update emacs: current release, use our x11 bits (#2052)
* Update emacs: current release, use our x11 bits

Add checksum for 25.1 release.

Rework the X support:

- use Spack's X11 bits
- add ability to specify an X toolkit (gtk or athena, default is gtk).
- change toolkit names to align with Emacs' configure usage.

* PEP8 cleanups.

* glib dependency should not be type=build

I'd like to blame that on a typo, but it's a few too many characters
for that to be viable.  I'm not sure what I was thinking.

* Pass X variant down: emacs->pango->cairo

* X variants default to False, warn on bad toolkit

Change the X variants for emacs, pango and cairo to default to False.

Check that the toolkit is a valid choice and give a reasonable error if
not.

* Fix flake8 issue, reword warning text

* gtkplus needs to use +X variant for pango to work

In order for a useful variant of pango to be built into the spec I
needed to make the dependency on gtkplus explicitly specify it's X
variant.  The X variant is the default, but that wasn't enough to make
it happy.  Since it's happiness is the most imporant thing in the
world, this change! :)
2016-12-08 09:43:29 -08:00
Adam J. Stewart
ed8060abe0 Scotch fails to build with latest flex (#2523) 2016-12-08 09:37:18 -08:00
Denis Davydov
cab8788f53 dealii: remove dependencies which are not needed (#2522) 2016-12-08 07:29:22 -08:00
Pramod Kumbhar
29e42143e0 fix for bluegene-q platform (#1980)
* fix for  bluegene-q platform

* change powerpc to ppc64

* change CNK to cnk
2016-12-08 01:01:02 -08:00
scheibelp
83c9f7a4f2 Fix deptypes for deps specified on command line (#2307)
Fixes #2306

Any dependency explicitly mentioned in a spec string ended up with the
build and link deptypes unconditionally. This fixes dependency
resolution to ensure that packages which are mentioned in the spec
string have their deptypes determined by the dependency information
in the package.py files. For example if a package has cmake as a build
dependency, and cmake is mentioned as a dependency in the spec string
for the package, then it ends up with just the build deptype.
2016-12-08 00:54:30 -08:00
scheibelp
30daf95ae8 Use frontend OS for build/run deps by default (#2292)
Packages built targeting a backend may depend on packages like cmake
which can be built against the frontend. With this commit, any build
dependency or child of a build dependency will target the frontend by
default. In compiler concretization when packages copy compilers from
nearby packages, build dependencies use compiler information from
other build dependencies, and link dependencies avoid using compiler
information from build dependencies.
2016-12-08 00:51:19 -08:00
George Hartzell
5f01f273e0 Add version/digest for emacs 25.1 (#2511)
* Add version/digest for emacs 25.1

* Put newest version at top of list
2016-12-07 16:33:41 -08:00
Andrey Prokopenko
bb7b51855a yaml-cpp: add boost dependency (#2517)
yaml-cpp has a boost dependency, and according to [yaml-cpp
page](https://github.com/jbeder/yaml-cpp):
    yaml-cpp 0.5.3 has been released! This is a bug fix release. It also
    will be the last release that uses Boost; futures releases will require
    C++11 instead.
2016-12-07 13:55:12 -08:00
Tom Scogland
e0f5b12475 add ACLOCAL_PATH updates for packages that register m4 macros (#2518) 2016-12-07 13:53:57 -08:00
Oliver Breitwieser
55059a53a3 Fixed spelling of variable (#2516) 2016-12-07 13:08:51 -08:00
George Hartzell
72c01fbd33 Building lua-luafilesystem requires a newish-git (#2515)
See #2059 for background.

I'm unable to install `lmod` because lua-luafilesystem fails.

The luarocks install bits attempt to do a shallow clone of the luafilesystem
sources and the default git on my CentOS 7 test box (`git version 1.8.3.1`)
fails.

This adds a build dependency that ensures that a relatively modern git is
available.
2016-12-07 12:12:53 -08:00
George Hartzell
f3410a0b1d Update texlive digest value (#2514)
* Update texlive digest value

While the discussion in #2494 progresses, this changes fixes the digest
values so that builds succeeed.

* Add warning that texlive is not repeatably installable
2016-12-07 12:02:22 -08:00
Andrey Prokopenko
3088cb171e netcdf: add checksum for 4.3.3.1 version (#2509) 2016-12-07 09:34:31 -08:00
Andrey Prokopenko
8239bd1681 cmake: added checksum for 3.1.0 version (#2508) 2016-12-07 09:33:54 -08:00
Barry Smith
4e6f6320ad hypre, superlu-dist, trilinos - support using develop/master branches of these packages (#2443)
Funded-by: IDEAS
Project: IDEAS/xSDK
Time: 1 hour
2016-12-06 13:55:58 -08:00
Barry Smith
76dae1dc5f hypre, superlu-dist, trilinos - support using develop/master branches of these packages (#2443)
Funded-by: IDEAS
Project: IDEAS/xSDK
Time: 1 hour
2016-12-06 12:10:51 -08:00
Joseph Ciurej
9c57a49bf4 Fixed a few minor issues with the 'fontconfig' package install script. (#2491) 2016-12-06 10:39:59 -08:00
Andrey Prokopenko
9edb31a51c hdf5: added 'pic' variant (#2373) 2016-12-05 11:57:04 -08:00
Todd Gamblin
089e5b5996 Remove CYAML tests from Spack now that the DB is JSON. (#2487) 2016-12-05 10:31:49 -08:00
Adam J. Stewart
9115ab5097 Add Java support to OpenMPI (#2285)
* Update OpenMPI to the AutotoolsPackage

* Add Java support to OpenMPI

* Fix missing commas

* Be more specific about what versions support what flags

* Revert description for thread_multiple variant
2016-12-05 10:15:12 -08:00
Elizabeth Fischer
cd0524b5b7 py-rtree: Added package (#1548)
* py-rtree: Added package

* py-rtree = RTree (spatial indexing) data structure for Python
* libspatialindex = Underlying C library wrapped by py-rtree

* Flake8 and Copyright issues.

* Fix Python syntax error.

* Fixed dependency type error.

* Added new version, based on updates requested in upstream PR

* 1. Change cmake to build dependency.
2. Updated to CMakePackage
2016-12-05 10:08:52 -08:00
Todd Gamblin
41b8f31bcd Use JSON for the database instead of YAML. (#2189)
* Use JSON for the database instead of YAML.

- JSON is much faster than YAML *and* can preserve ordered keys.
  - 170x+ faster than Python YAML when using unordered dicts
  - 55x faster than Python YAML (both using OrderedDicts)
  - 8x faster than C YAML (with OrderedDicts)

- JSON is built into Python, unlike C YAML, so doesn't add a dependency.
- Don't need human readability for the package database.
- JSON requires no major changes to the code -- same object model as YAML.
- add to_json, from_json methods to spec.

* Add tests to ensure JSON and YAML don't need to be ordered in DB.

* Write index.json first time it's not found instead of requiring reindex.

* flake8 bug.
2016-12-05 10:03:58 -08:00
Adam J. Stewart
161d6205b2 Allow spack create to handle packages with period in name (#2351)
* Allow spack create to handle packages with period in name

* Update tests to handle new package name detection scheme
2016-12-05 09:34:14 -08:00
Denis Davydov
24093a932c ghostcript-fonts: fix install on macOS (#2482) 2016-12-05 08:28:35 -08:00
Denis Davydov
2d1ab68656 xextproto: fix on macOS by not running parallel build (#2483) 2016-12-05 08:28:02 -08:00
Massimiliano Culpo
2634e4909f travis: sphinx does not support python 2.6 anymore (#2485) 2016-12-05 08:27:03 -08:00
Todd Gamblin
b8b14c84e0 Bugfix: restore __contains__ method after ArchSpec refactor. (#2481) 2016-12-04 16:22:16 -08:00
George Hartzell
f0dcb5bbf7 Update go to 1.7.4 and 1.6.4 to fix security issues (#2467)
* Update go to 1.7.4 and 1.6.4 to fix security issues

The go team recently rolled out two releases to address security
issues.  Details available on the [go release
site](https://golang.org/doc/devel/release.html).

This commit updates our explicitly supported versions.

It also includes a comment about two CentOS requirements (enable
user_namespace and ensure that the static c library is installed) that
are required for the pacakges to pass their tests.

* Flake8 cleanup
2016-12-03 16:44:03 -08:00