Commit graph

5321 commits

Author SHA1 Message Date
Denis Davydov
c350bd1216 dealii: fix config without mpi (#2856)
* dealii: fix config without mpi

* dealii: add check of variants
2017-01-19 11:24:09 -08:00
Quinn
f511f7b558 Adding some fixes to packages that use configure_args function without setting spec set or directly referencing it (#2868)
* Adding 'self.' to the spec call for configure_args

* Updating this to set spec to self.spec

* More updates to the configure_args spec calls

* Another spec issue

* Another spec issue.

* And another spec issue

* Switching cmor back to self.spec.
2017-01-19 06:26:39 -08:00
Adam J. Stewart
4dad5aab84 Add spack edit option for build systems (#2865) 2017-01-18 18:49:48 -08:00
Erik Schnetter
9b7001fda1 OpenMPI: Update auto-detection of Verbs library location (#2124) 2017-01-18 14:54:39 -08:00
Adam J. Stewart
02f92fc7f8 Massive conversion from Package to AutotoolsPackage (#2845)
* Massive conversion from Package to AutotoolsPackage

* Forgot to convert p4est to AutotoolsPackage

* Fix typo

* Fix broken link in docs
2017-01-18 10:34:09 -08:00
Denis Davydov
5812081b80 gmsh: add 2.16 (#2857) 2017-01-18 09:34:05 -08:00
Denis Davydov
ddfbb14ad9 octave: add 4.2.0; fix Blas/Lapack; use AutotoolsPackage (#2858)
* octave: add 4.2.0; fix Blas/Lapack; use AutotoolsPackage

* fix a bug
2017-01-18 09:33:45 -08:00
Adam J. Stewart
026e2d0fe6 Convert 3 more new packages to PythonPackage (#2841) 2017-01-18 08:51:38 -08:00
Erik Schnetter
6242aaef6c papi: Update to 5.5.1 (#2849) 2017-01-18 08:18:38 -08:00
Erik Schnetter
70042f9e7d hwloc: Update to 1.11.5 (#2851) 2017-01-18 08:18:08 -08:00
Erik Schnetter
b452a7619c curl: update to 7.52.1 (#2852) 2017-01-18 08:17:50 -08:00
Erik Schnetter
a23fcd2a93 cmake: Update to 3.7.2 (#2853) 2017-01-18 08:17:31 -08:00
Erik Schnetter
3bd0101fb9 jemalloc: Update to 4.4.0 (#2850) 2017-01-18 08:16:59 -08:00
Adam J. Stewart
f0f230d480 Allow spack create to detect packages that need to run autoreconf (#2848) 2017-01-17 17:42:45 -08:00
Denis Davydov
a040c8c743 oce: add 0.18 and fix patching (#2844)
* oce: add 0.18 and fix patching

* oce: simplify the patch
2017-01-17 14:40:07 -08:00
Jason Sarich
a1f7006400 check if node is already deleted (#2799)
* check if node is already deleted

* fix variable name
2017-01-17 14:23:32 -08:00
Denis Davydov
190a5b575c p4est: switch to AutotoolsPackage (#2839) 2017-01-17 11:05:34 -08:00
Adam J. Stewart
061076aea9 Support scionlib version detection (#2818) 2017-01-17 10:54:36 -08:00
Todd Gamblin
1856317777 Bump version to 0.10.0 2017-01-16 20:01:07 -08:00
Todd Gamblin
1bd13827c9 Add release branches to travis testing. 2017-01-16 20:01:07 -08:00
Adam J. Stewart
c0aaa8fcea Add PythonPackage base class
- Add a PythonPackage class with build system support.
  - Support build phases in PythonPackage
  - Add a custom sanity check for PythonPackages
  - Get rid of nolink dependencies in python packages

- Update spack create to use new PythonPackage class

- Port most of Python packages to new PythonPackage class

- Conducted a massive install and activate of Python packages.
  - Fixed bugs introduced by install and activate.

- Update API docs on PythonPackage
2017-01-16 20:00:31 -08:00
Adam J. Stewart
1f49493fee Major improvements to spack create (#2707)
* Initial changes to spack create command

* Get 'spack create <url>' working again

* Simplify call to BuildSystemGuesser

* More verbose output of spack create

* Remove duplicated code from spack create and spack checksum

* Add better documentation to spack create docstrings

* Fix pluralization bug

* Flake8

* Update documentation on spack create and deprecate spack edit --force

* Make it more obvious when we are renaming a package

* Further deprecate spack edit --force

* Fix unit tests

* Rename default template to generic template

* Don't add automake/autoconf deps to Autotools packages

* Remove changes to default $EDITOR

* Completely remove all traces of spack edit --force

* Remove grammar changes to make the PR easier to review
2017-01-16 17:13:12 -08:00
Mario Melara
beafcfd3ef Set MPI environment variables to the compiler wrappers on Cray (#2762)
* Set MPI[lang] env var to compiler wrappers on cray

Sets MPICC, MPICXX, MPIFC etc to point to the compiler wrappers on Cray systems.
Some packages look for MPIs via environment variables - e.g adios

* Use spec to check for Cray

* os is no longer used.
2017-01-16 16:15:37 -08:00
Adam J. Stewart
6eed279fce Don't duplicate spack test in spack help (#2837) 2017-01-16 14:56:38 -08:00
George Hartzell
aa3cc0ea81 Add lmod support for spack module loads (#2758)
The `spack module loads` command only supported tcl and dotkit.
This adds support for lmod.
2017-01-16 03:25:39 -08:00
Jon Rood
6e8058ad41 Specify Python location in VisIt in a more uniform fashion. (#2803) 2017-01-16 03:21:52 -08:00
Todd Gamblin
de7be6694f Fix issue with Mac OS version detection in m4 package. (#2835) 2017-01-16 03:03:52 -08:00
Denis Davydov
8365dbd959 petsc: add 64bit variant (#2655)
* petsc: add 64bit variant

* hypre: add int64 variant

* superlu-dist: add int64 variant

* petsc: add int64 variant

* metis: rename idx64 to int64 to make it consistent with other packages

* mumps: rename idx64 to int64 to make it consistent with other packages

* dealii: rename 64bit to int64 to make it consistent with other packages
2017-01-16 02:23:07 -08:00
Axel Huebl
e2697e4a37 isl: add latest version (#2834)
added latest version of isl. Needed to get llvm/clang in the latest
trunk to build via spack, but there are more versions available.
what is the policy regarding those? Add what we need for now?
2017-01-16 01:17:35 -08:00
becker33
a091eeceab Parser fix (#2769)
* Fixed parser to eliminate need for escape quotes. TODO: Fix double call to shlex, fix spaces in spec __str__

* Fixed double shlex

* cleanup

* rebased on develop

* Fixed parsing for multiple specs; broken since #360

* Revoked elimination of the `-` sigil in the syntax, and added it back into tests

* flake8

* more flake8

* Cleaned up dead code and added comments to parsing code

* bugfix for spaces in arguments; new bug found in testing

* Added unit tests for kv pairs in parsing/lexing

* Even more flake8

* ... yet another flake8

* Allow multiple specs in install

* unfathomable levels of flake8

* Updated documentation to match parser fix
2017-01-15 19:17:54 -08:00
Jon Rood
b2f29b855b Updating BoxLib with the ability to build again. (#2813)
* Updating BoxLib with the ability to build again.

* Using Spack MPI compilers directly.

* Fixing typo.

* Using tarball from github archive for boxlib.
2017-01-15 17:07:44 -08:00
Adam J. Stewart
e3a631c90e Add Astra package (#2800) 2017-01-15 16:23:52 -08:00
Adam J. Stewart
f480e3449e Added customization for make targets in 'build' and 'install' phases for CMakePackage (#2742)
* Added customization for make targets in 'build' and 'install' phases for CMakePackage

* Use rst in build system docs so that Sphinx generates nice API docs

* Allow AutotoolsPackages to be built in a different directory

* Flake8

* Fix missing import

* Allow configure to be located in different directory

* Update espressopp to use build targets

* Flake8

* Sphinx fix, lists must be a new paragraph

* Back out change that allowed a configure script in a different directory than build_directory

* Add missing deps, build in parallel

* Missing space for rst list
2017-01-15 16:23:16 -08:00
Jean-Paul Pelteret
4b7b595e3c New package: CppAD (#2832) 2017-01-15 16:20:26 -08:00
Adam J. Stewart
f2d4c15395 Remove cmake build dep from CMakePackages (#2684) 2017-01-15 03:18:52 -08:00
Adam J. Stewart
7fce4c5083 Add list_url to cmake (#2714) 2017-01-15 03:16:41 -08:00
Axel Huebl
3f7b4ab7aa Clang & Boost: No PCH (#2827)
Although it hurts a little, officially pre-compiled headers in
boost are only supported for gcc & msvc and the latest clang
releases still fail to build boost with it.

Therefore, I disabled building those to get boost build with
clang 3.9.0 on an Ubuntu 14.04 (x86).

Links to documentation and boost bug reports are inline, so
people can later on check if they still apply. Seems just to
be a bug in `Boost.Build` that tries to set `-o` with multiple
output files.
2017-01-15 02:38:14 -08:00
Todd Gamblin
0d367bbd20 Add a test to exercise non-buildable external packages. (#2833) 2017-01-15 02:37:20 -08:00
becker33
677623962e Fixed find -lp command (coloring was broken) (#2820) 2017-01-15 02:36:36 -08:00
Axel Huebl
5c4d2627ff Packages: Add CUDA8 (#2823)
Adds the latest CUDA release, 8.0.44.
2017-01-15 02:35:53 -08:00
Adam J. Stewart
367f46eee2 Add old version of PGI (#2784) 2017-01-15 02:35:27 -08:00
Adam J. Stewart
12edc4e369 Add latest version of PETSc (#2783) 2017-01-15 02:34:48 -08:00
Massimiliano Culpo
436f6a4ab6 get_std_cmake_args delegates to CMakePackage._std_args fixes #2665 (#2805) 2017-01-15 02:34:15 -08:00
danielsjensen1
957cb968c6 Features/octopus 6.0 (#2819)
* Added support for Octopus 6.0 and the optional libraries: metis, parmetis, netcdf, arpack-ng, and scalapack.

* Fix PEP 8 line too long error.

* Changed format syntax {} to {0} to support Python 2.6.
2017-01-15 02:30:47 -08:00
Gregory Lee
c6c6773c03 added psutil python package (#2812) 2017-01-15 02:30:12 -08:00
Stephen McDowell
1f4ca71e21 Adding the py-ipdb package for more stable debugging with iPython. (#2824)
* Adding the py-ipdb package for more stable debugging with iPython.

* Removing deprecated python support, adding missing dependencies.

* Adding version checks for (i)python
2017-01-15 02:29:29 -08:00
Matthew Scott Krafczyk
28ea72d5b2 Add the package py-sphinx-bootstrap-theme (#2825) 2017-01-15 02:27:17 -08:00
Andrey Prokopenko
1128922b44 boost: fixing boost-1.55.0 for gcc-5 (#2822)
boost-1.55.0 requires patching when compiling with gcc-5. See these
threads:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197594
https://svn.boost.org/trac/boost/ticket/10125

Fixes #2821.
2017-01-13 08:43:50 -08:00
Massimiliano Culpo
cd511791d1 configure and build command: fix the stop iteration semantics
- broke somewhere between bdf4832269 (#2810) and 17b13b161b
2017-01-12 09:11:48 -08:00
Massimiliano Culpo
de2cb864fa mirror: fix error for some specs during concretization (#2806) 2017-01-11 07:38:22 -08:00