Commit graph

6935 commits

Author SHA1 Message Date
Gregory Becker
5e3c883f2c Cleanup and proper flag satisfaction for partial specs 2016-01-12 16:25:54 -08:00
Gregory Becker
528f9cd583 Implemented flags as lists for subsetting 2016-01-12 15:22:15 -08: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
Todd Gamblin
2a36ba9680 Merge pull request #344 from adamjstewart/features/mpfr
Add required dependency version
2016-01-12 11:37:27 -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
Todd Gamblin
a13c461890 Merge pull request #338 from epfl-scitas/packages/metis
Improved packages : metis and parmetis
2016-01-12 09:09:31 -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
d3c96ec2ee Merge pull request #335 from LLNL/revert-321-eschnett/petsc-python
Revert "Require Python for PETSc"
2016-01-11 13:58:52 -08: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
Gregory Becker
2ac5ea42af Fixed concretization 2016-01-11 13:55:11 -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
Todd Gamblin
674dd27649 Merge pull request #333 from adamjstewart/features/szip
Add SZip package
2016-01-11 13:47:14 -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
Mario Melara
aab1a67d05 Adding needed import modules. Changed platform_name to platform to prevent syntax errors 2016-01-09 09:42:36 -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