Commit graph

2071 commits

Author SHA1 Message Date
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
Todd Gamblin
a14527ec06 Add command to compiler input log. 2016-03-28 15:34:25 -07: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
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
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
Todd Gamblin
42ec822379 Merge pull request #633 from davydden/netcdf_curl
make netcdf link against Spack's curl
2016-03-25 12:54:53 -07:00
Todd Gamblin
8b2e79bcfa Merge pull request #485 from epfl-scitas/packages/blas_lapack_providers
reworking package : netlib
2016-03-25 12:53:46 -07:00
Todd Gamblin
680563cc4c Merge pull request #630 from davydden/metis_parmetis
Metis parmetis cleanup
2016-03-25 12:52:19 -07:00
Todd Gamblin
1d2d4b94c5 Merge pull request #629 from adamjstewart/fixes/info
Fix spack info indentation
2016-03-25 12:49:35 -07:00
Massimiliano Culpo
f15249afe5 Merge branch 'develop' of https://github.com/LLNL/spack into packages/blas_lapack_providers
Conflicts:
	var/spack/repos/builtin/packages/py-numpy/package.py
2016-03-25 11:05:05 +01:00
Denis Davydov
fd67da607e make netcdf link against Spack's curl 2016-03-25 09:32:48 +01:00
Denis Davydov
03c8a91f6a parmetis: avoid hardcoding -lm; use same approach as in METIS 2016-03-24 22:33:10 +01:00
Denis Davydov
0d4d201b70 patch parmetis to use external GKlib 2016-03-24 21:24:03 +01:00
Denis Davydov
7fb463abb9 install GKlib headers along with METIS 2016-03-24 21:24:03 +01:00
Adam J. Stewart
9985816642 Fix spack info indentation 2016-03-24 14:49:41 -05:00
Todd Gamblin
38ea75e8ca Merge pull request #490 from epfl-scitas/packages/atlas
atlas : provides both 'blas' and 'lapack'
2016-03-24 11:24:04 -07:00
Todd Gamblin
823edd0bb2 Merge pull request #627 from adamjstewart/features/numpy-scipy
Simplify NumPy dependencies
2016-03-24 11:05:09 -07:00
Todd Gamblin
3be081f476 Merge pull request #628 from alfredo-gimenez/develop
Remove incorrect sanity check for libelf
2016-03-24 11:01:46 -07:00
Alfredo Gimenez
254f65f299 Remove incorrect sanity check for libelf 2016-03-24 10:48:38 -07:00
Adam J. Stewart
8643e21913 Simplified NumPy dependencies 2016-03-24 12:34:58 -05:00
Todd Gamblin
b1cd8ea241 Merge pull request #625 from epfl-scitas/pythonpath
Fix : PYTHONPATH missing in module files
2016-03-24 03:25:59 -07:00
alalazo
758a9c9096 python extensions : create PYTHONPATH in module files 2016-03-24 10:57:46 +01:00
Todd Gamblin
7cf1b7ed51 Merge pull request #613 from davydden/superlu_dist_fix_lib
fix superlu-dist lib installation
2016-03-24 02:54:43 -07:00
Todd Gamblin
1306cdd998 Merge pull request #618 from epfl-scitas/fixes/espresso_no_module
fix : no module file gets generated by espresso
2016-03-24 02:53:56 -07:00
Todd Gamblin
4be8472f61 Merge pull request #612 from davydden/mumps_osx
fix MUMPS build on OSX (set parallel=False)
2016-03-24 02:53:29 -07:00
Todd Gamblin
f031bdfbc9 Merge pull request #617 from epfl-scitas/features/disable_modules
feature : module file generation may be disabled via configuration file
2016-03-24 02:52:45 -07:00
Todd Gamblin
e1848c1d28 Merge pull request #624 from davydden/parmetis_gnu
fix parmetis on Ubuntu with GNU compilers by linking to lm
2016-03-24 02:44:40 -07:00
Todd Gamblin
c83d22b5fc Merge pull request #587 from cyrush/cmake_pkg_openssl_as_variant
cmake package: add variant for openssl support
2016-03-24 02:42:39 -07:00
Denis Davydov
9b8b17b6f1 fix parmetis on Ubuntu with GNU compilers by linking to lm 2016-03-24 10:36:02 +01:00
alalazo
e4adc675e5 module files configuration : added default configuration 2016-03-24 10:04:02 +01:00
alalazo
f095e619b9 module files configuration : enable/disable logic is now positive 2016-03-24 09:31:28 +01:00
Todd Gamblin
b10a98a3ac Merge pull request #622 from davydden/blasklist_openblas_0216
blacklist Openblas 0.2.16 for missing _dggsvd_ and _sggsvd_
2016-03-23 19:07:11 -07:00
Denis Davydov
4e5dfc8b18 fix missing (depricated) _dggsvd_ and _sggsvd_ in Openblas 0.2.16 2016-03-23 22:09:39 +01:00
alalazo
acaa589bdd Merge branch 'develop' of https://github.com/LLNL/spack into packages/blas_lapack_providers
Conflicts:
	var/spack/repos/builtin/packages/netlib-lapack/package.py
2016-03-23 17:25:00 +01:00
alalazo
34a8f0c96b espresso : fixes #454 2016-03-23 17:01:52 +01:00
alalazo
d93f2b335d modules : fixed annoying indent 2016-03-23 16:04:36 +01:00
alalazo
0fbdb3f65d modules : added configuration file with disable keyword 2016-03-23 15:54:26 +01:00
Todd Gamblin
cc582dd4b4 Add mock python package. 2016-03-23 02:03:27 -07:00
Todd Gamblin
091fcc3aa9 Merge pull request #599 from davydden/slepc
add Slepc package
2016-03-23 01:53:32 -07:00
Todd Gamblin
a4f5084589 Merge pull request #609 from xjrc/packages/silo
Update Package : Silo
2016-03-23 01:52:56 -07:00
Todd Gamblin
71c976d212 Merge pull request #611 from davydden/p4est
add p4est package
2016-03-23 01:52:38 -07:00
Todd Gamblin
38350ae33d resurrect preferred=True option for packages lost in merge of externals support.
- Pyton 2.7.11 is preferred again.
2016-03-23 01:32:54 -07:00
Denis Davydov
01918a6f48 fix MUMPS build on OSX (set parallel=False) 2016-03-23 09:29:24 +01:00
Todd Gamblin
c4134ee71e Fix #608: broken numpy build.
- Failed to catch all instances of modify_module when it was renamed
  to setup_dependent_package.

- Refactored remaining modify_module calls.

- Also modified Python's setup_dependent_package slightly: only
  creates empty site-packages directory for Python extensions now, not
  for all dependents.
2016-03-23 00:36:32 -07:00
Denis Davydov
5b3c96a9bb fix superlu-dist lib installation 2016-03-23 08:07:45 +01:00
Joseph Ciurej
474db2085e Simplified the 'url_for_version' function for the 'Crypto++' package. 2016-03-22 15:55:54 -07:00
Denis Davydov
6c8d51f403 add p4est package 2016-03-22 22:58:14 +01:00
Denis Davydov
24264eb00e add slepc package 2016-03-22 22:44:10 +01:00
Denis Davydov
27f337aa11 petsc: set PETSC_DIR in dependent_env 2016-03-22 22:12:01 +01:00