Commit graph

776 commits

Author SHA1 Message Date
Todd Gamblin
90750f59c1 Merge pull request #400 from adamjstewart/features/netcdf
Extensive modifications to NetCDF package
2016-01-26 19:31:14 -07:00
Tom Scogland
23af31cb1c adding the cmocka unit testing library 2016-01-26 17:55:32 -08:00
Todd Gamblin
c344b30fc4 Merge pull request #342 from adamjstewart/features/hwloc
Add url_for_version function to calculate url
2016-01-26 16:01:17 -08:00
Todd Gamblin
d7bd023afa Merge pull request #339 from adamjstewart/features/hdf
Add HDF package
2016-01-26 15:51:57 -08:00
Adam J. Stewart
81ccba202c Make szip a variant 2016-01-26 15:38:22 -06:00
Adam J. Stewart
c6bb00085f Extensive modifications to NetCDF package 2016-01-26 12:04:48 -06:00
Adam J. Stewart
1d18f2031c Add szip variant 2016-01-25 14:57:33 -06:00
Todd Gamblin
b6731ea47c Merge pull request #336 from scheibelp/features/boost-additive-libs
additive compilation of boost libraries
2016-01-22 14:09:19 -08:00
Peter Scheibel
a653d2f5e2 Slightly more robust approach for setting defaults for noinstall_libs 2016-01-22 13:43:16 -08:00
Peter Scheibel
9f99ee61c7 1. added default install libs (atomic, test, locale, program_options)
2. clarify comment for default_noinstall_libs
3. renamed regex_icu variant to icu_support (both the locale and regex libs can
use it)
4. explicitly set b2 install ICU_PATH when regex_icu is activated
2016-01-22 13:25:45 -08:00
Alfredo Gimenez
10de5a3ec7 Patch fix for boost@1.60.0%gcc@4.4.7 2016-01-22 13:02:18 -08:00
Peter Scheibel
4a55b97d11 Fixed reference 2016-01-22 12:37:12 -08:00
Peter Scheibel
2e58bc3113 Sticking with additive approach but now most libraries are installed by default. 2016-01-21 19:57:49 -08:00
Erik Schnetter
2f70c842b8 Disable patch that was merged into upstream in 1.10.2 2016-01-21 14:13:39 -05:00
Erik Schnetter
6b3f023d98 Update OpenMPI to 1.10.2 2016-01-21 14:05:16 -05:00
Todd Gamblin
10848c2e9a Refactor args for Executable.__call__
- simplify output, error, and input redirection
- `return_output=True` is now `output=str`
- `return_output=True` will still work for the time being but is
  deprecated.

- previously you could say `return_output=True` and `output=<stream>`,
  which wouldn't actually write to the stream.  Now you actually can't
  specify erroneous cases since there is only one parameter with
  mutually exclusive options..
2016-01-21 10:46:33 -08:00
Todd Gamblin
25f7dbd3e9 Merge pull request #384 from epfl-scitas/packages/elpa
added package : elpa
2016-01-21 09:14:28 -08:00
Adam J. Stewart
03d5ee6738 Remove constraint on dependency version 2016-01-21 10:02:33 -06:00
Adam J. Stewart
950246b331 Remove constraint on dependency version 2016-01-21 09:54:24 -06:00
alalazo
d9b344a247 Merge branch 'develop' of https://github.com/LLNL/spack into packages/elpa 2016-01-21 12:05:28 +01:00
Todd Gamblin
f0a6bfa23c Merge pull request #376 from adamjstewart/features/mvapich2
Various updates to MVAPICH2 package
2016-01-21 01:59:35 -08:00
Todd Gamblin
dab65e4ba6 Merge pull request #380 from epfl-scitas/packages/mumps
Adding packages MUMPS and ScaLAPACK
2016-01-21 01:58:57 -08:00
alalazo
785c01218f elpa : added missing dependencies 2016-01-21 10:06:43 +01:00
alalazo
88f2a1d43a Merge remote-tracking branch 'scitas/packages/mumps' into packages/elpa 2016-01-21 08:34:44 +01:00
alalazo
a8132470e4 Merge branch 'develop' into packages/elpa 2016-01-21 08:33:59 +01:00
Nicolas Richart
b71b478a36 Minor correction to install mumps+mpi 2016-01-20 18:31:02 +01:00
alalazo
19caac69d8 openmpi : turned torque support into a variant (default false)
hdf5 : fixed a few bugs, removed suspicious macro deinition, etc.
2016-01-20 15:22:49 +01:00
Nicolas Richart
974fc65e0f renaming packages to follow changes on develop 2016-01-20 14:38:55 +01:00
Nicolas Richart
65f65ec4e4 Adding MUMPS and ScaLAPACK 2016-01-20 14:21:44 +01:00
alalazo
ab27fdc692 elpa : commit partial package. Blocked by missing scalapack 2016-01-20 09:35:15 +01:00
Peter Scheibel
965af75d23 Merge branch 'develop' into features/boost-additive-libs 2016-01-19 17:27:18 -08:00
Adam J. Stewart
98706d31dc Various updates to MVAPICH2 package
Use url_for_version function to specify urls
Add version 2.2b
Add dedicated MRAIL variant
Fix typo
Make fortran compiler flags more specific
2016-01-19 12:46:15 -06:00
Todd Gamblin
9be37da077 Merge pull request #373 from adamjstewart/features/mpich
Add verbs variant, remove deprecated configure flags
2016-01-19 08:59:59 -08:00
alalazo
e121faffa1 eigen : added package 2016-01-19 17:26:26 +01:00
Adam J. Stewart
0d42cdaffd Merge branch 'develop' into features/hdf 2016-01-19 10:09:25 -06:00
Adam J. Stewart
530f8e5b26 Merge branch 'develop' into features/hdf
* develop: (85 commits)
  Make libxcb compile with gcc 4.9.
  disable parallel install for glib (found races)
  disable cairo-trace, which is incompatible with older libiberty.h.
  Fix LaunchMon on newer gcc versions.
  Simplify output redirection in spack.util.executable
  Allow completely empty config files.
  Update cmake package to use http in all URLs.
  Fix create, diy, edit, and repo commands to use multiple repos.
  Add namespace option to find command.
  Temporary fix: Clang is the default compiler on Mac OS X.
  Netcdf requires cmake >=2.8.12
  Mbedtls depends on cmake
  Update libtool to 2.4.6
  Update Julia to 0.4.3
  Make binutils build on OS X
  Add verbs and psm variants
  py-matplotlib: depend on freetype
  py-numpy: make blas/lapack optional dependencies
  qhull: apply patch to work with libc++'s standard library
  New package GNU tar
  ...
2016-01-19 10:07:21 -06:00
Adam J. Stewart
58f18d5b12 Merge branch 'develop' into features/hwloc
* develop: (85 commits)
  Make libxcb compile with gcc 4.9.
  disable parallel install for glib (found races)
  disable cairo-trace, which is incompatible with older libiberty.h.
  Fix LaunchMon on newer gcc versions.
  Simplify output redirection in spack.util.executable
  Allow completely empty config files.
  Update cmake package to use http in all URLs.
  Fix create, diy, edit, and repo commands to use multiple repos.
  Add namespace option to find command.
  Temporary fix: Clang is the default compiler on Mac OS X.
  Netcdf requires cmake >=2.8.12
  Mbedtls depends on cmake
  Update libtool to 2.4.6
  Update Julia to 0.4.3
  Make binutils build on OS X
  Add verbs and psm variants
  py-matplotlib: depend on freetype
  py-numpy: make blas/lapack optional dependencies
  qhull: apply patch to work with libc++'s standard library
  New package GNU tar
  ...
2016-01-19 10:01:42 -06:00
Adam J. Stewart
f48fc0d8b1 Revert deprecated configure flags 2016-01-19 09:43:28 -06:00
Adam J. Stewart
16f1267c29 Merge branch 'develop' into features/mpich
* develop: (43 commits)
  Make libxcb compile with gcc 4.9.
  disable parallel install for glib (found races)
  disable cairo-trace, which is incompatible with older libiberty.h.
  Fix LaunchMon on newer gcc versions.
  Simplify output redirection in spack.util.executable
  Allow completely empty config files.
  Fix create, diy, edit, and repo commands to use multiple repos.
  Add namespace option to find command.
  Temporary fix: Clang is the default compiler on Mac OS X.
  update compiler config test.
  add sanity check on config write as well as validation on read.
  Add jsonschema validation for config files.
  Make text wrapping off by default in tty, add a kwarg for it.
  add/remove/list working for new config format.
  Add Python 3 aliases to our argparse backport.
  All tests that call concretize() need to be MockPackagesTests.
  Fix bug in tests.
  Rework mirror configuration.
  Rework compiler configuration and simplify config.py logic.
  Remove mock_configs; tests no longer modify spack home directory.
  ...
2016-01-19 09:37:53 -06:00
Todd Gamblin
01c5b53ba1 Make libxcb compile with gcc 4.9. 2016-01-19 01:16:15 -08:00
Todd Gamblin
047f1b9de9 disable parallel install for glib (found races) 2016-01-19 01:16:15 -08:00
Todd Gamblin
b7b4faff96 disable cairo-trace, which is incompatible with older libiberty.h. 2016-01-19 01:16:14 -08:00
Todd Gamblin
67ea7ce0ab Fix LaunchMon on newer gcc versions. 2016-01-19 01:16:14 -08:00
Todd Gamblin
8d6342c53d Merge branch 'mplegendre-multi_pkgsrc_roots' into develop
- This moves var/spack/packages to var/spack/repos/builtin/packages.

- Packages that did not exist in the source branch, or were changed in
  develop, were moved into var/spack/repos/builtin/packages as part of
  the integration.

Conflicts:
	lib/spack/spack/test/unit_install.py
	var/spack/repos/builtin/packages/clang/package.py
2016-01-19 01:16:08 -08:00
Adam J. Stewart
58162ec170 Add verbs variant, remove deprecated configure flags 2016-01-18 16:03:41 -06:00
Todd Gamblin
d802165e03 Merge pull request #355 from eschnett/eschnett/llvm
LLVM depends on cmake, and does not depend on isl
2016-01-17 19:24:17 -08:00
Todd Gamblin
4bab6f9fdb Update cmake package to use http in all URLs. 2016-01-17 18:55:36 -08:00
Todd Gamblin
afcd5420ee Merge pull request #356 from eschnett/eschnett/tar
New package GNU tar
2016-01-17 18:49:14 -08:00
Todd Gamblin
85e8f8eb6a Merge pull request #353 from eschnett/eschnett/ncurses
Install ncurses properly
2016-01-17 18:49:00 -08:00
Todd Gamblin
635e053e6d Merge pull request #358 from adamjstewart/features/openmpi
Add psm and verbs variants
2016-01-17 18:45:13 -08:00
Todd Gamblin
77c6038711 Merge pull request #370 from eschnett/eschnett/netcdf-cmake
Netcdf requires cmake >=2.8.12
2016-01-17 18:31:56 -08:00
Todd Gamblin
a473830533 Merge pull request #367 from eschnett/eschnett/mbedtls-cmake
Mbedtls depends on cmake
2016-01-17 18:26:07 -08:00
Todd Gamblin
99390be127 Merge pull request #366 from eschnett/eschnett/libtool-2.4.6
Update libtool to 2.4.6
2016-01-17 18:25:55 -08:00
Todd Gamblin
c20f8eb5b3 Merge pull request #365 from eschnett/eschnett/julia-0.4.3
Update Julia to 0.4.3
2016-01-17 18:25:45 -08:00
Todd Gamblin
1a145f68a7 Merge pull request #362 from eschnett/eschnett/binutils-osx
Make binutils build on OS X
2016-01-17 18:25:24 -08:00
Erik Schnetter
81f1311a60 Netcdf requires cmake >=2.8.12 2016-01-17 14:57:08 -08:00
Erik Schnetter
f4b87e2967 Mbedtls depends on cmake 2016-01-17 11:05:15 -05:00
Erik Schnetter
60656b6255 Update libtool to 2.4.6 2016-01-17 11:03:40 -05:00
Erik Schnetter
e585a5d8a3 Update Julia to 0.4.3 2016-01-17 11:02:30 -05:00
Erik Schnetter
36a428b8fc Make binutils build on OS X
Binutils defines several global variables multiple times. Apparently this works fine under Linux, but it leads to a linker error on Darwin. Rename these global variables.

Note that binutils on OS X is still not really useful, as important tools (e.g. ld) are not supported.
2016-01-17 10:49:13 -05:00
Peter Scheibel
d22cf1aed1 1. raise an exception if the multithreaded and singlethreaded options are both
disabled
2. invoke the b2 installation once for each enabled threading option (apparently
the install fails if a single call has both options enabled for mpi)
2016-01-15 18:07:41 -08:00
Adam J. Stewart
eac795abc3 Add verbs and psm variants 2016-01-15 15:09:36 -06:00
Ben Boeckel
4f60948bff py-matplotlib: depend on freetype
Probably a missed dependency, but appeared on OS X.
2016-01-15 16:04:49 -05:00
Ben Boeckel
c3bf1a7741 py-numpy: make blas/lapack optional dependencies
OS X is having trouble building these libraries, so make them optional
dependencies.
2016-01-15 16:03:51 -05:00
Ben Boeckel
f6680a0051 qhull: apply patch to work with libc++'s standard library
Only seen on OS X with clang right now.
2016-01-15 16:02:35 -05:00
Nicola Varini
7fc308ed26 Update to version 5.3 2016-01-15 17:04:25 +01:00
Nicola Varini
7d0256c9fb Quantum-ESPRESSO package 2016-01-15 10:27:38 +01:00
Erik Schnetter
0a993cd9d7 New package GNU tar 2016-01-14 20:44:51 -05:00
Erik Schnetter
3e703cc281 LLVM depends on cmake, and does not depend on isl
Add cmake requirement.

Remove gmp and isl requirements. Using an external isl leads to a build failure for me on a fairly standard Fedora Linux workstation. The Spack package file says that isl is required for polly, however, the polly documentation states that as of LLVM 3.7, polly includes isl, and has no external dependencies any more.
2016-01-14 17:52:28 -05:00
Erik Schnetter
aa3897a880 Install ncurses properly
Currently, ncurses's include files are installed into two separate subdirectories, "install/ncurses" and "install/ncursesw". The second level of subdirectories ("ncurses" and "ncursesw") are non-standard. I checked several systems to confirm this, and ncurses examples on the web also simply contain "#include <ncurses.h>" instead of "#include <ncurses/ncurses.h>", which would be necessary to use the currently installed ncurses packages. For example, this also breaks llvm, which uses ncurses, but does not expect the second level of subdirectories.

I am now using the option "--enable-overwrite", which installs the header files directly in to ".../include". I also enable "widec" support all the time. These options are e.g. similar to the ones used by MacPorts, and I confirm that they make the llvm package build (which didn't build before).
2016-01-14 17:40:11 -05:00
Todd Gamblin
1268b41570 Merge pull request #293 from trws/llvm-rework
Llvm rework
2016-01-14 01:13:39 -08:00
Todd Gamblin
93fdb06d7d Merge pull request #273 from epfl-scitas/packages/R
R : updated package
2016-01-14 00:13:27 -08:00
Adam J. Stewart
244ee673d6 Add latest version 2016-01-13 11:44:51 -06:00
Todd Gamblin
a56575a6d2 Merge pull request #324 from eschnett/eschnett/openblas-lapack
Ensure that OpenBLAS provides a file liblapack.a
2016-01-13 08:26:26 -08:00
Erik Schnetter
aa1f96c73b New package "cereal" 2016-01-13 11:21:52 -05:00
alalazo
78b57787fa gmsh : added hdf5 support 2016-01-13 12:22:59 +01:00
alalazo
767f286a9f gmsh : added fltk support 2016-01-13 11:26:10 +01:00
alalazo
ffaa4a8922 gmsh : added package with basic compile options 2016-01-13 10:05:19 +01:00
Todd Gamblin
8ead7783ab Merge pull request #345 from eschnett/eschnett/petsc-python-2
Correct Python version constraint syntax
2016-01-12 14:26:28 -08:00
Erik Schnetter
8eb16ba02d Merge branch 'develop' into eschnett/petsc-python-2
# Conflicts:
#	var/spack/packages/petsc/package.py
2016-01-12 14:36:37 -05:00
Adam J. Stewart
a6f2cc9cbf Add required dependency version 2016-01-12 13:28:48 -06:00
Adam J. Stewart
6985d2c914 Add url_for_version function to calculate url 2016-01-12 13:00:05 -06:00
Adam J. Stewart
9b3e0255f4 Add HDF package 2016-01-12 11:55:42 -06:00
Todd Gamblin
4ac530d289 Merge pull request #314 from eschnett/eschnett/libpciaccess-configure
Build libpciaccess from tarball
2016-01-12 09:14:19 -08:00
Todd Gamblin
5bdc6e53e5 Merge pull request #323 from eschnett/eschnett/openssl-apps
Ensure the APPS environment variable is not set when building OpenSSL
2016-01-12 09:13:50 -08:00
Todd Gamblin
dd0aa90aa1 Merge pull request #328 from eschnett/eschnett/lua-readline
Resolve readline/ncurses dependency when building Lua
2016-01-12 09:13:21 -08:00
Todd Gamblin
1a3c0063a5 Merge pull request #329 from epfl-scitas/packages/cmake
cmake : added variant that activates the build of the ncurses gui
2016-01-12 09:12:06 -08:00
alalazo
1f78b9c7af parmetis : removed leftover import statement 2016-01-12 16:59:47 +01:00
alalazo
da8b08b5fe parmetis : used spack install method instead of shutil.copy 2016-01-12 14:55:29 +01:00
alalazo
30da85c3d8 metis : added variant specified in BUILD.txt. Fixed wrong dependency on MPI.
parmetis : added variants as in metis
2016-01-12 14:25:06 +01:00
Peter Scheibel
50727527bc This commit makes the following changes:
There are two sensible defaults for building boost libraries: build all of them
or build none of them. Previously the Spack boost package took the first
approach. This commit changes to building no libraries by default. The user can
specify which libraries they need using variants (e.g. +iostreams to compile the
boost iostreams library). If no libraries are built then a header-only install
is performed (no compilation, just copy header files to prefix). The consequence
of this change is that packages which specify a dependency on boost may now fail
(until they are updated to specify exactly which boost libraries they need
compiled).

The user may now specify whether to build shared libraries (static libraries are
always built) and whether to build libraries with/out multi-threading support
(default is to only build with multi-threading support).

The executable on the user-config.jam toolset line is set to Spack's cc script.
Before, without this, the desired toolset was used but Spack deferred to the
boost build system to choose the compiler version.

bzip2 and zlib are always specified as dependencies when iostreams is built
(before this could be controlled with the +compression variant).
2016-01-11 15:51:59 -08:00
Erik Schnetter
36d74d2a97 Correct Python version constraint syntax 2016-01-11 17:39:39 -05:00
Erik Schnetter
a5588e4bb7 Download package version with a configure script
This avoids having to use autoconf, which requires many m4 scripts that are not always available.
2016-01-11 17:37:13 -05:00
Erik Schnetter
8af8c10559 Avoid key error when env var is unset 2016-01-11 17:33:44 -05:00
Todd Gamblin
85220dd77d Revert "Require Python for PETSc" 2016-01-11 13:57:21 -08:00
Todd Gamblin
01f2c38ee7 Merge pull request #320 from eschnett/eschnett/parmetis-cmake
parmetis requires cmake @2.8:
2016-01-11 13:56:28 -08:00
Todd Gamblin
25e398645f Merge pull request #321 from eschnett/eschnett/petsc-python
Require Python for PETSc
2016-01-11 13:56:10 -08:00
Todd Gamblin
c4f2373ac2 Merge pull request #318 from eschnett/eschnett/metis-cmake
Require cmake @2.8: for metis
2016-01-11 13:56:04 -08:00
Todd Gamblin
d2b925c709 Merge pull request #312 from eschnett/eschnett/petsc-mpi
Make PETSc build with OpenMPI
2016-01-11 13:53:51 -08:00
Todd Gamblin
87e8430921 Merge pull request #316 from eschnett/eschnett/tgz
Use .tar.gz instead of .tar.xz in several packages for backward compatibility
2016-01-11 13:52:50 -08:00