Commit graph

2268 commits

Author SHA1 Message Date
Todd Gamblin
dfc5cf288c Fix bug in restage
- Restage previously only removed the source directory from the stage.
- Now removes any other directories in stage as well.
2016-03-29 04:35:41 -07:00
Todd Gamblin
275943d8df Merge branch 'eschnett-eschnett/gcc-osx-2' into develop 2016-03-29 04:16:53 -07:00
Todd Gamblin
e1fdd4341b Merge branch 'eschnett-correct-cc' into develop 2016-03-29 04:16:18 -07:00
Patrick Gartung
ccc1b23bea this allows gcc4.9.3 to build on OSX10 2016-03-29 04:15:07 -07:00
Todd Gamblin
f80e839ff4 Handle Darwin's ld -r option properly
- ld -r doesn't work with RPATH on OS X.

- for GNU ld, the -r option only means 'relocatable',
  and doesn't affect RPATH.

- This adds special handling to omit RPATHs for ld -r on OS X
2016-03-29 03:14:39 -07:00
Denis Davydov
63c3feb79e minor fixes to hypre and muparser on Linux 2016-03-29 10:05:08 +02:00
Todd Gamblin
7e7461e8fb Merge pull request #626 from davydden/mumps_shared_tests
add shared variant to mumps (needed for Trilinos) plus tests
2016-03-29 00:33:30 -07:00
Denis Davydov
7753d823cb add a comment on static mumps 2016-03-29 09:27:55 +02:00
Denis Davydov
f9bcce6a68 turn off python by default 2016-03-29 09:19:24 +02:00
Kelly (KT) Thompson
197f07306b Merge remote-tracking branch 'upstream/develop' into pkg-subversion 2016-03-28 19:56:07 -06:00
Kelly (KT) Thompson
40cea0110f Merge remote-tracking branch 'upstream/develop' into pkg-graphviz 2016-03-28 19:53:22 -06:00
Todd Gamblin
02879d94ff Merge pull request #673 from davydden/netcdf_cxx
new package: netcdf-cxx
2016-03-28 18:03:36 -07:00
Todd Gamblin
dd61795bb8 Merge pull request #674 from davydden/petsc_extra
extend petsc variants by mumps, complex and debug, fix headers in superlu_dist, add variant to hypre
2016-03-28 18:02:26 -07:00
Todd Gamblin
a14527ec06 Add command to compiler input log. 2016-03-28 15:34:25 -07:00
Massimiliano Culpo
1141f11955 uninstall : added user confirmation 2016-03-29 00:28:02 +02:00
Denis Davydov
09e77812b6 fix installation of superlu_dist headers and add it as a dependency to petsc; add a variant to hypre to disable internal superlu 2016-03-29 00:21:32 +02:00
Denis Davydov
4e87cf9d74 fix extra comma 2016-03-28 18:00:34 +02:00
Denis Davydov
207215980b make hypre and hdf5 be ON/OFF 2016-03-28 17:54:27 +02:00
Denis Davydov
dd60cc326c adopt modifed superlu and hypre 2016-03-28 17:52:22 +02:00
Denis Davydov
5eefca43e7 petsc: extend variants by mumps, complex and debug 2016-03-28 14:35:01 +02:00
Denis Davydov
0da545ecac tell amesos that we use mumps 5 2016-03-28 13:16:08 +02:00
Todd Gamblin
d8579a5b80 Simplify cc: Remove old logic and add better tests.
- removed a lot of old logic that was only still needed for tests.

- Added better unit tests for dependency RPATH, -L, and -I args

- tests now check whether the compiler omits -I args in link mode.
2016-03-28 04:11:54 -07:00
Todd Gamblin
f3dd889d44 Fix bug with lib64 RPATH setting in cc. 2016-03-28 03:51:05 -07:00
Denis Davydov
e00cab75bd more elaborated tests/direct solvers 2016-03-28 12:12:55 +02:00
Denis Davydov
97cdd79478 fix netcdf 2016-03-28 10:49:20 +02:00
Denis Davydov
9c894f5935 new package: netcdf-cxx 2016-03-28 10:19:25 +02:00
Todd Gamblin
eb397b5693 Merge pull request #669 from glennpj/module_format
Wrap the long description of an environment module so it is more readable
2016-03-27 17:30:07 -07:00
Todd Gamblin
8b45d6f84f Merge pull request #658 from davydden/metis_parmetis_darwin
metis/parmetis/oce/boost: correct install_name on Darwin via a global tool
2016-03-27 16:10:05 -07:00
Elizabeth F
3bd550d6a2 GEOS Python extension did not compile with Python3. 2016-03-27 18:28:51 -04:00
Denis Davydov
7eca1284c8 metis/parmetis/boost/oce/scalapack: correct install_name on Darwin via a global function. 2016-03-28 00:22:25 +02:00
citibeth
ccd155572f Removed redundant package py-libxml2. Use libxml2 instead. 2016-03-27 18:18:54 -04:00
Massimiliano Culpo
e0f463c4f9 uninstall : added recursive option 2016-03-27 23:56:41 +02:00
Denis Davydov
fc73e93b50 rework netcdf 2016-03-27 23:47:43 +02:00
Glenn Johnson
5695e4c03d Wrap the long description of an environment module so it is more readable. 2016-03-27 15:42:20 -05:00
Todd Gamblin
ec107b290f Merge branch 'correct-cc' of git://github.com/eschnett/spack into eschnett-correct-cc 2016-03-27 13:38:06 -07:00
Todd Gamblin
9061800b30 Merge branch 'eschnett/gcc-osx-2' of git://github.com/eschnett/spack into eschnett-eschnett/gcc-osx-2 2016-03-27 13:18:23 -07:00
Todd Gamblin
82c09e66d2 Merge pull request #662 from citibeth/efischer/160327-NewPackages
New Package: py-netcdf
2016-03-27 13:02:34 -07:00
Denis Davydov
20600b8cac add tests and netcdf-cxx4 2016-03-27 21:03:18 +02:00
Todd Gamblin
e049fc2840 Run post-install hoooks before build stage is removed.
- Build will properly fail when post-install hoooks fail.

- Post-install hooks have a proper working directory set now.
2016-03-27 11:47:20 -07:00
Todd Gamblin
66bb71534b Better blas/lapack and scipy packages: more robust, added shared variants.
- py-scipy now builds with netlib-lapack, openblas, and atlas.
- started a convention for passing lib info from blas/lapack implementations.

- Improved netlib-lapack:
  - Also build static libs when `shared` variant is enabled.
  - Enable CBLAS  build
    - needed minor patch to build correctly.

- Added `shared` variant to OpenBLAS.
  - Made OpenBLAS build properly shared and static.
2016-03-27 11:32:42 -07:00
Todd Gamblin
cde3320582 Add a method to find the containing directory of a library. 2016-03-27 11:32:42 -07:00
Todd Gamblin
dce590fb21 Add a dso_suffix variable to build_environment
- Consolidate this in one place so that we don't have to do it in every build.

- Will update further once better OS support is committed.  Shoudl
  really be an attribute of the forthcoming `Platform` class.
2016-03-27 11:32:42 -07:00
Todd Gamblin
b0b882cbb3 Speed up directives by skipping debug info in stack traversal.
- `caller_locals()` doesn't need debug info, only frame locals.
- `get_calling_module()` doesn't either.

- Changed calls to `inspect.stack()` -> `inspect.stack(0)`
2016-03-27 11:30:09 -07:00
Denis Davydov
439d3b3ddb mumps: add install_name / soname 2016-03-27 17:38:25 +02:00
citibeth
cc42391e0f Added py-netcdf 2016-03-27 11:06:10 -04:00
Denis Davydov
69ebc8173e use global tool to fix install_name 2016-03-27 16:04:13 +02:00
Denis Davydov
9cff241ad5 fix install name on Darwin 2016-03-27 10:39:09 +02:00
Denis Davydov
a82a587b32 lower requirement on mumps 2016-03-27 06:17:43 +02:00
citibeth
9b130e1d19 Added googletest package. 2016-03-26 20:42:35 -04:00
Elizabeth F
11ca06b104 Added new py-cython version 2016-03-26 20:37:02 -04:00