Commit graph

992 commits

Author SHA1 Message Date
Erik Schnetter
8e33cc1ae1 Properly wrap all long lines 2016-02-12 13:11:45 -05:00
Erik Schnetter
77c17e1d92 Since my last patch didn't get traction, here is a new approach to building gcc on Darwin:
- Add a variant specifying whether to build with binutils, defaulting to true
- Auto-detect whether this is Darwin; if so, set binutils and gold defaults to false, as they don't work on Darwin
- Disable Go, which doesn't build on Darwin
- Clean up handling configure options
2016-02-12 12:52:47 -05:00
alalazo
247a4bc751 mpich : added back MPI_F90 2016-02-12 12:15:09 +01:00
Massimiliano Culpo
70985170e5 qe : compiled on rhle6 2016-02-12 12:08:31 +01:00
Erik Schnetter
d7f674ce96 libedit depends on ncurses 2016-02-11 14:53:20 -05:00
alalazo
e8704433de espresso : added directories to search path 2016-02-11 18:57:40 +01:00
alalazo
b272a8881b espresso : fixed dependency handling 2016-02-11 18:18:05 +01:00
alalazo
ca3cdb4458 espresso : current working tree 2016-02-11 17:45:09 +01:00
alalazo
157ec210a7 espresso : synchronized with current develop 2016-02-11 13:05:31 +01:00
alalazo
e7454132a2 Merge branch 'develop' of https://github.com/LLNL/spack into packages/espresso 2016-02-11 13:03:47 +01:00
Todd Gamblin
bcf705b85e Merge pull request #432 from RemoteConnectionManager/paraview_fix
Paraview fix
2016-02-10 13:59:08 -08:00
Todd Gamblin
e23c260cb0 Merge pull request #402 from epfl-scitas/bugfix/netlib-scalapack
Bugfix: netlib-scalapack does not work with all versions of python
2016-02-10 11:40:31 -08:00
Luigi Calori
d7b3ed08ab add variant to select OpenGL2 Paraview backend 2016-02-10 15:40:05 +01:00
Luigi Calori
a1bd65550e fix a reported hash mismatch on netcdf-4.4.0 tar download 2016-02-10 15:17:54 +01:00
Luigi Calori
fe8aca630c add a variant to Qt for make dependency on mesa swlwctable 2016-02-10 14:58:00 +01:00
Luigi Calori
f729cf621a fixing qhull: seems that dependency on cmake is essential when it is used 2016-02-10 13:29:36 +01:00
alalazo
71a25a109a arpack-ng : added package 2016-02-05 11:00:37 +01:00
Todd Gamblin
15324c276f Merge pull request #426 from epfl-scitas/packages/suitesparse
Added package : SuiteSparse
2016-02-04 18:08:07 -07:00
alalazo
e2a95d4b50 eigen : added support for SuiteSparse 2016-02-04 16:27:26 +01:00
alalazo
e3a0e1881d suitesparse : basic implementation 2016-02-04 16:00:39 +01:00
alalazo
031c292136 dakota : basic installation 2016-02-04 13:48:21 +01:00
Adam J. Stewart
e1b3c286ef Add url for cmake, simplify url_for_version 2016-02-03 16:28:09 -06:00
Todd Gamblin
f38851b73d Merge remote-tracking branch 'github/pull/99' into develop
Conflicts:
	var/spack/repos/builtin/packages/cmake/package.py
2016-02-03 14:24:59 -07:00
Todd Gamblin
72ca311f17 Merge pull request #414 from epfl-scitas/issues/trilinos_385
fix : trilinos and dependencies
2016-02-03 11:42:53 -07:00
Todd Gamblin
c5455ceee5 Merge pull request #417 from mathstuf/hdf5-unsupported-flag
hdf5: always pass the unsupported flag
2016-02-03 08:56:30 -07:00
Todd Gamblin
5a3338323c Merge pull request #419 from adamjstewart/features/libgpg-error
Add latest libgpg-error version
2016-02-03 08:56:06 -07:00
Todd Gamblin
8a4b86dac9 Merge pull request #420 from adamjstewart/features/qhull
Add latest qhull version
2016-02-03 08:55:32 -07:00
Todd Gamblin
bc4bf71d8f Merge pull request #421 from adamjstewart/features/phonopy
Add Phonopy and PyYAML Python modules
2016-02-03 08:54:22 -07:00
Todd Gamblin
fe358e24e3 Merge pull request #423 from epfl-scitas/packages/opencv
Added package : OpenCV
2016-02-03 08:52:58 -07:00
alalazo
44c1b06609 opencv : added package 2016-02-03 13:36:25 +01:00
alalazo
587d356d6e openssl : added logic to version computation. The package now warns user if he depends on an old version of the library 2016-02-03 08:59:26 +01:00
Adam J. Stewart
d2fb1522a3 Add Phonopy and PyYAML Python modules 2016-02-02 12:54:24 -06:00
Adam J. Stewart
ab3698e3a4 Add latest qhull version 2016-02-02 11:42:31 -06:00
Adam J. Stewart
422e87badb Add latest libgpg-error version 2016-02-02 10:57:58 -06:00
Ben Boeckel
2b140b9a34 hdf5: default +unsupported to on
This flag can end up being required if a dependency tree ends up needing
hdf5+cxx+parallel, but nothing turns it on. Since the core spack code
puts this together, it ends up that the end user needs to specify it
manually. Instead, just assume an unsupported configuration (since these
*are* useful setups) and if anyone wants to seek upstream support,
masking the flag can be done.
2016-02-01 11:46:33 -05:00
alalazo
c8d2275c06 opencv : reverted url_for_version modifications 2016-02-01 10:56:48 +01:00
alalazo
e67507478a opencv : reverted url_for_version modifications 2016-02-01 10:55:39 +01:00
alalazo
b0707a61e7 Merge branch 'develop' of https://github.com/LLNL/spack into issues/trilinos_385 2016-02-01 10:54:17 +01:00
Todd Gamblin
9eb037bc87 Merge pull request #415 from adamjstewart/features/hwloc
Checksum fix for hwloc
2016-02-01 02:41:47 -07:00
Todd Gamblin
140510fedf Merge pull request #408 from adamjstewart/features/fish
Modify url settings for fish package
2016-02-01 02:39:54 -07:00
alalazo
360abb070a netcdf : fixed typo in configure option
openssl : smarter URL computation
2016-02-01 08:33:03 +01:00
Gregory L. Lee
3bf6fed7b3 updated openssl version 2016-01-29 11:29:27 -08:00
Adam J. Stewart
d14d50beb6 Checksum fix for hwloc 2016-01-29 09:47:57 -06:00
Abhishek Kulkarni
74225544c6 Rename the hpx package to hpx-5. 2016-01-29 10:35:54 -05:00
Massimiliano Culpo
cd54793913 Cleaning up 2016-01-29 11:42:06 +01:00
alalazo
b574c4ad51 trilinos : updated package to meet changes in dependencies 2016-01-29 08:57:07 +01:00
Abhishek Kulkarni
5907cc0de5 Merge remote-tracking branch 'upstream/develop' into develop 2016-01-29 00:32:34 -05:00
Abhishek Kulkarni
2bea7f8d69 Add the HPX-5 package. 2016-01-29 00:29:20 -05:00
Todd Gamblin
9fb5ddbb4c Merge pull request #411 from adamjstewart/features/pnetcdf
Add PnetCDF and M4 packages
2016-01-28 20:52:59 -07:00
David Beckingsale
d9548c01af Correct package URL 2016-01-28 15:47:37 -07:00
Adam J. Stewart
4f34031534 Add PnetCDF and M4 packages 2016-01-28 15:41:58 -06:00
David Beckingsale
7e65f4da82 Add the Caliper package 2016-01-28 13:22:56 -08:00
Gregory L. Lee
0e52c30bb8 added py-wheel package 2016-01-28 10:42:46 -08:00
Adam J. Stewart
06f3cc33ba Modify url settings for fish package 2016-01-28 11:41:12 -06:00
alalazo
07bb6fef01 resource directive : now works with all the fetch strategies available 2016-01-28 10:58:56 +01:00
Adam J. Stewart
6122642b81 More NetCDF changes 2016-01-27 16:16:33 -06:00
Nicolas Richart
f1d8f30342 Bug fix: precedence in % operator seems to change depending in the python version 2016-01-27 10:54:41 +01:00
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
Matthew LeGendre
fa888a4ba1 Merge branch 'develop' into features/external-packages
Conflicts:
	lib/spack/spack/cmd/mirror.py
	lib/spack/spack/concretize.py
	lib/spack/spack/config.py
	lib/spack/spack/spec.py
	lib/spack/spack/stage.py
	var/spack/packages/mvapich2/package.py
2016-01-25 10:52:17 -08: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
ea9d0c0263 Remove constraints on dependency versions 2016-01-21 09:58:47 -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
fbab88b0e1 Merge branch 'develop' into features/xz
* 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:05:50 -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
d20ca32440 Merge branch 'develop' into features/mpc
* 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 09:58:07 -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
180c673c78 Add different URL for older source code 2016-01-12 13:21:53 -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
5520ce3c4a Removed unnecessary URLs 2016-01-12 12:19:03 -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
Todd Gamblin
d380820f3a Merge pull request #322 from eschnett/eschnett/gperftools-update
Update gperftools
2016-01-11 13:52:05 -08:00
Todd Gamblin
309425833b Merge pull request #325 from eschnett/eschnett/julia-update
Several small updates to Julia
2016-01-11 13:48:09 -08:00
Todd Gamblin
9bbb9a8f0a Merge pull request #330 from epfl-scitas/packages/cgal
Added package : cgal
2016-01-11 13:47:55 -08:00
Todd Gamblin
054c6eefdb Merge pull request #334 from adamjstewart/features/patchelf
Add PatchELF package
2016-01-11 13:47:31 -08:00
Adam J. Stewart
adbe1d4f06 Add PatchELF package 2016-01-11 13:54:26 -06:00
Adam J. Stewart
6a51b1d570 Add SZip package 2016-01-11 13:43:31 -06:00
alalazo
81a389151f cmake : added variant that activates the build of the ncurses gui 2016-01-11 13:00:23 +01:00
alalazo
625570e730 added package : cgal 2016-01-11 12:50:47 +01:00
Erik Schnetter
23c5a1e6e9 Build Lua on Darwin 2016-01-10 19:37:44 -05:00
Erik Schnetter
9f2dbc9df4 Update Lua to 5.3.2 2016-01-10 19:34:02 -05:00
Erik Schnetter
992b9c46dd Resolve readline/ncurses dependency when building Lua 2016-01-10 13:44:53 -08:00
Erik Schnetter
79a1de2f17 Add a patch to prevent Julia running out of virtual memory 2016-01-09 10:47:31 -05:00
Erik Schnetter
b18732173a Require Python to build Julia 2016-01-08 23:21:54 -05:00
Erik Schnetter
d9f1a55c90 Ensure than OpenBLAS provides a file liblapack.a
OpenBLAS implements the virtual package "lapack", and its consumers apparently expect a "liblapack.a".
2016-01-08 22:48:37 -05:00
Erik Schnetter
d5ff7fda6e Ensure the APPS environment variable is not set when building OpenSSL 2016-01-08 22:41:18 -05:00
Erik Schnetter
3d7e7c53c5 Require libunwind 2016-01-08 22:33:55 -05:00
Erik Schnetter
0c9acb0f62 Update gperftools to version 2.4 2016-01-08 22:32:00 -05:00
Erik Schnetter
2ac2985cf2 Require Python for PETSc
PETSc requires Python for building.

I have a case where an HPC system has a very old default Python version, too old for Spack. So I load a module for Python, which makes Spack work. This module relies on LD_LIBRARY_PATH.

When building PETSc, Spack unsets LD_LIBRARY_PATH, breaking the Python that PETSc finds.

Explicitly requiring Python for PETSc makes building PETSc work.
2016-01-08 22:24:42 -05:00
Erik Schnetter
e628896c2b parmetis requires cmake @2.8: 2016-01-08 22:12:19 -05:00
Erik Schnetter
da8fd5b30a Require cmake @2.8: for metis 2016-01-08 21:56:08 -05:00
Erik Schnetter
04f908a957 Require cmake @2.8: 2016-01-08 21:41:35 -05:00
Erik Schnetter
8da1dd2b45 Require cmake 2016-01-08 21:32:17 -05:00
Erik Schnetter
6214148d35 Use .tar.gz instead of .tar.xz for backward compatibility 2016-01-08 17:16:30 -05:00
Gregory L. Lee
7ad3e2b56b new python packages 2016-01-08 11:09:11 -08:00
Gregory L. Lee
175f20a9dc new and updated python packages 2016-01-07 11:12:47 -08:00
Erik Schnetter
1646bec1a4 Make PETSc build with OpenMPI 2016-01-07 13:54:47 -05:00
Todd Gamblin
dd04b6a873 Merge pull request #278 from eschnett/eschnett/hdf5-variants
Enable several variants for HDF5
2016-01-06 23:50:40 -08:00
Todd Gamblin
a651572cfd Merge pull request #307 from eschnett/eschnett/atop
New package atop
2016-01-06 23:40:03 -08:00
Ben Boeckel
e790146627 paraview: add some extra arguments on OS X
X shouldn't be used on OS X and spack expects a Unix-style install, not
a .app bundle.
2016-01-06 12:05:05 -05:00
Erik Schnetter
fd7c1fe584 Avoid using tabs 2016-01-06 10:10:15 -05:00
Todd Gamblin
84c7e457e9 Merge pull request #302 from eschnett/eschnett/correct-boost
Correct `join_path` in package boost
2016-01-06 04:34:44 -08:00
Todd Gamblin
a65fa54514 Merge pull request #270 from eschnett/eschnett/openssl-darwin
Make OpenSSL build on Darwin
2016-01-06 04:07:16 -08:00
alalazo
7670dc7efc glpk : added support for gmp 2016-01-06 10:05:48 +01:00
alalazo
24ba60168d added package : glpk 2016-01-06 09:49:10 +01:00
Erik Schnetter
cfe54b201d New package atop 2016-01-05 20:09:22 -05:00
Erik Schnetter
60d8413940 Support mbedtls, an alternative SSL library 2016-01-05 19:21:57 -05:00
Mike Nolta
2b801e2086 new package: py-astropy 2016-01-05 15:41:18 -05:00
Erik Schnetter
c18dfa058a Add details to comment 2016-01-05 14:09:54 -05:00
Erik Schnetter
12632f16b8 Combine with other OpenSSL Darwin patch
Set KERNEL_BITS.
Don't use Darwin-specific configure script.
2016-01-05 13:17:17 -05:00
Erik Schnetter
25934200de Merge branch 'develop' into eschnett/openssl-darwin 2016-01-05 13:09:57 -05:00
Erik Schnetter
24ced90913 Correct join_path in package boost 2016-01-05 09:40:30 -05:00
Todd Gamblin
20e8b67eb6 Merge pull request #297 from eschnett/eschnett/boost-darwin
Support Darwin for Boost
2016-01-05 00:42:31 -08:00
Erik Schnetter
96e5905bce Build multiple FFTW variants simultaneously
FFTW can build only one floating point precision (float, double, long double, quad) at once, but they can all be installed simultaneously as the libraries have different names. It is common packages to decide only at run time which precision FFTW they need, and thus FFTW should offer all precisions at once.
2016-01-04 12:14:42 -05:00
Tom Scogland
133fda11f2 Merge remote branch 'origin/llvm-rework' into llvm-rework 2016-01-03 17:22:57 -08:00
Tom Scogland
884f317d50 tweak gold support, added to gcc
The gold linker support and gold plugin variants now use the same name.
Trying to apply use-flag-style discipline here despite the fact gold has
other implications for clang, this way globally enabling gold will have
a more consistent effect if that becomes possible.  The gold support in
gcc could use more testing to ensure it works consistently, but as long
as a binutils including gold is used the gcc configure tends to pick it
up, and it seems to work with 5.3.0 at least.
2016-01-03 17:22:13 -08:00
Tom Scogland
31803d10aa bringing back configuration and build stages 2016-01-02 11:59:33 -08:00
Tom Scogland
356836ccbb removed extraneous comment lines 2016-01-01 22:30:02 -08:00
Erik Schnetter
03537a6be4 Support Darwin for Boost
Ensure that builds on Darwin use the "darwin" toolset.
Also update Boost to 1.60.0.
2016-01-01 17:38:42 -05:00
Erik Schnetter
f5a49280c3 Enable C++ and Fortran languages by default 2016-01-01 17:26:49 -05:00
Todd Gamblin
3c64c18bfc Merge pull request #274 from eschnett/eschnett/julia
Add package for Julia
2015-12-31 15:46:52 -08:00
Todd Gamblin
48ebb25c25 Merge pull request #271 from eschnett/eschnett/pcre2
New package PCRE2
2015-12-31 15:40:03 -08:00
Todd Gamblin
7062b216b8 Merge pull request #258 from epfl-scitas/packages/scalasca
Packages/scalasca
2015-12-31 15:27:39 -08:00
Tom Scogland
48f19b5fde add the gold linker to binutils 2015-12-30 16:59:39 -08:00
Tom Scogland
5d89fb8dfa ensure that clang-query gets installed 2015-12-30 16:59:39 -08:00
Tom Scogland
4ae98f8b21 significant llvm update
This update significantly reworks the llvm and clang packages.  The llvm
package now includes variants allowing it to build and install any and
all of:

* clang
* lldb
* llvm's libunwind (why, WHY did they name it this?!?)
* polly (including building it directly into the clang tools, 3.7.0 only)
* clang extra tools
* compiler-rt (sanitizers)
* clang lto (the gold linker plugin that allows same to work)
* libcxx/libcxxabi
* libopenmp, also setting the default openmp runtime to same, when
  parameters happen this shoudl be an option of libomp or libgomp

Ideally, this should have rpath setup like the gcc package does, but
clang's driver has no support for specs as such, and no clearly
equivalent mechanism either.  If anyone has ideas on this, they would be
welcome.

One significant note related to gcc though, if you test this on LLNL
systems, or anywhere that has multiple GCCs straddling the dwarf2
boundary and sharing a libstdc++, build a gcc with spack and use that to
build clang.  If you use a gcc4.8+  to build this with an older
libstdc++ it will fail on missing unwind symbols because of the
discrepancy.

Resource handling has been changed slightly to move the unpacked archive
into the target rather than use symlinks, because symlinks break certain
kinds of relative paths, and orders resource staging such that nested
resources are unpacked after outer ones.
2015-12-30 16:59:39 -08:00
Tom Scogland
01f811d546 legacy mysql bindings for python 2015-12-30 11:18:13 -08:00
Tom Scogland
31f674da3c python libraries, libedit, and ninja
A pile of libraries and tools, libedit is actually important as a
replacement of readline for non-GPL projects.  Also ninja may be
worthwhile for some of the larger CMake projects, like llvm/clang.
2015-12-30 11:13:09 -08:00
Todd Gamblin
3e3667f254 Revert "removing check as it can cause failures in zsh"
This reverts commit 496e485691.

Undo overly large set of changes -- LLVM wasn't ready.  Tom can
recommit just the zsh stuff.
2015-12-30 10:20:27 -08:00
Tom Scogland
496e485691 removing check as it can cause failures in zsh 2015-12-30 10:13:46 -08:00
Todd Gamblin
ff0d871612 Remove mock_configs; tests no longer modify spack home directory. 2015-12-27 21:13:18 -08:00
Todd Gamblin
c65fd3a289 Merge branch 'develop' into mplegendre-multi_pkgsrc_roots
Conflicts:
	lib/spack/spack/cmd/create.py
	lib/spack/spack/cmd/extensions.py
	lib/spack/spack/cmd/fetch.py
	lib/spack/spack/cmd/uninstall.py
	lib/spack/spack/config.py
	lib/spack/spack/database.py
	lib/spack/spack/directory_layout.py
	lib/spack/spack/packages.py
	lib/spack/spack/spec.py
2015-12-25 16:35:55 -08:00
Erik Schnetter
be12720eb7 Use filter_file instead of calling perl 2015-12-25 14:02:56 -05:00
Erik Schnetter
01f7e768f6 Enable several variants for HDF5
+cxx, +fortran: Enable support for the respective languages
+threadsafe: Enable multi-threading
2015-12-23 22:49:42 -05:00
Erik Schnetter
51f546fe92 Add comments to package file 2015-12-23 18:21:41 -05:00
Erik Schnetter
309877088d Build Julia 2015-12-23 18:21:40 -05:00
Erik Schnetter
a58dd8f6ab Remove leftover debug statement 2015-12-23 18:19:26 -05:00
alalazo
21dae4577a R : updated package 2015-12-23 10:20:13 +01:00
Erik Schnetter
60ec79eac3 New package PCRE2
This is a major update of the package PCRE. It seems both PCRE and PCRE2 can be installed at the same time; their APIs are different.
2015-12-22 18:53:43 -05:00
Erik Schnetter
a540a68561 Make OpenSSL build on Darwin 2015-12-22 18:51:49 -05:00
Todd Gamblin
d1d23ec5e6 Merge pull request #257 from eschnett/eschnett/hwloc-1.11.2
Update hwloc; don't require libpciaccess on OS X
2015-12-22 15:18:39 -08:00
Erik Schnetter
552d8ca5f0 Update rsync to 3.1.2 2015-12-22 16:40:09 -05:00
Erik Schnetter
6831ee6f0a Skip installing libpciaccess on Darwin 2015-12-22 16:24:05 -05:00
Erik Schnetter
6dc1fc03c1 Update hwloc; don't require libpciaccess on OS X
- hwloc 1.11.2 is available.
- libpciaccess is not supported on OS X; don't require it there.
2015-12-22 15:50:46 -05:00
Todd Gamblin
100ada0ed6 Merge pull request #266 from LLNL/bugfix/python3-setuptools-conflict
fix conflict with setuptools and cached pyc files
2015-12-22 09:19:57 -08:00
Gregory L. Lee
41fd380d1b fixed site pyc regular expression 2015-12-22 09:15:47 -08:00
Todd Gamblin
b1d40efd99 Merge pull request #261 from LLNL/features/prefer-versions-in-packages
Add ability to prefer particular versions in packages.
2015-12-22 08:25:52 -08:00
Gregory L. Lee
3db1c1761e only ignore cached site.py file 2015-12-22 08:03:17 -08:00
Todd Gamblin
5bcec9289e Merge pull request #263 from nolta/hdf5-mpi
fix non-mpi hdf5 package build
2015-12-22 07:57:11 -08:00
Gregory L. Lee
d85a46380c fix conflict with setuptools and cached pyc files 2015-12-22 06:50:18 -08:00
alalazo
fc43f3c730 valgrind : added package 2015-12-22 10:11:18 +01:00
Mike Nolta
bfc72c04fb fix non-mpi hdf5 package build
Fixes a couple of issues in c5b7eba457.
2015-12-21 18:59:01 -05:00
Todd Gamblin
fe0fdf60b4 Add ability to prefer particular versions in packages.
- Adding `preferred=True` to a version directive will change its sort
  order in concretization.

- This provides us a rudimentary ability to keep the Spack stack
  stable as new versions are added.

- Having multiple stacks will come next, but this at least allows us
  to specify default versions of things instead of always taking the
  newest.
2015-12-21 15:35:47 -08:00
Gregory L. Lee
c3aaf005e2 new python versions 2015-12-21 15:14:59 -08:00
Gregory L. Lee
f9326053b9 remove numpy compiler patch 2015-12-21 13:56:19 -08:00
Todd Gamblin
73ea15db8e Merge pull request #208 from epfl-scitas/features/resource_directive
resource directive : implementation + clang / llvm use case
2015-12-21 10:34:16 -08:00
Todd Gamblin
d5e9279c1d Merge pull request #215 from sjtbham/develop
fix build to work against depends for modules created by setup.py and…
2015-12-21 09:24:16 -08:00
alalazo
a411c497ab scalasca + dependencies : simplified build after #255 2015-12-21 16:10:55 +01:00