Merge pull request #1731 from epfl-scitas/packages/plumed_gslcblas
plumed : avoid linking with libgslcblas
This commit is contained in:
		| @@ -66,6 +66,8 @@ class Plumed(Package): | |||||||
|     depends_on('mpi', when='+mpi') |     depends_on('mpi', when='+mpi') | ||||||
|     depends_on('gsl', when='+gsl') |     depends_on('gsl', when='+gsl') | ||||||
|  |  | ||||||
|  |     depends_on('autoconf', type='build') | ||||||
|  |  | ||||||
|     # Dictionary mapping PLUMED versions to the patches it provides |     # Dictionary mapping PLUMED versions to the patches it provides | ||||||
|     # interactively |     # interactively | ||||||
|     plumed_patches = { |     plumed_patches = { | ||||||
| @@ -98,6 +100,12 @@ def setup_dependent_package(self, module, ext_spec): | |||||||
|         module.plumed = Executable(join_path(self.spec.prefix.bin, 'plumed')) |         module.plumed = Executable(join_path(self.spec.prefix.bin, 'plumed')) | ||||||
|  |  | ||||||
|     def install(self, spec, prefix): |     def install(self, spec, prefix): | ||||||
|  |         # This part is needed to avoid linking with gsl cblas | ||||||
|  |         # interface which will mask the cblas interface | ||||||
|  |         # provided by optimized libraries due to linking order | ||||||
|  |         filter_file('-lgslcblas', '', 'configure.ac') | ||||||
|  |         autoreconf('-ivf') | ||||||
|  |  | ||||||
|         # From plumed docs : |         # From plumed docs : | ||||||
|         # Also consider that this is different with respect to what some other |         # Also consider that this is different with respect to what some other | ||||||
|         # configure script does in that variables such as MPICXX are |         # configure script does in that variables such as MPICXX are | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Todd Gamblin
					Todd Gamblin