summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2016-03-24 12:57:22 +0100
committerDenis Davydov <davydden@gmail.com>2016-03-25 11:56:40 +0100
commitdf995c4ef850338823b3a5a5c2ee3b12e05a33b1 (patch)
treea97f718940acf30273fc3c4a032dc2f408b4c392
parent8c9f88761384d16c77aa9cbee55cc501712c7b12 (diff)
downloadspack-df995c4ef850338823b3a5a5c2ee3b12e05a33b1.tar.gz
spack-df995c4ef850338823b3a5a5c2ee3b12e05a33b1.tar.bz2
spack-df995c4ef850338823b3a5a5c2ee3b12e05a33b1.tar.xz
spack-df995c4ef850338823b3a5a5c2ee3b12e05a33b1.zip
minor cleanup
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index b80123838a..f2e9c37caa 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -77,24 +77,20 @@ class Trilinos(Package):
'-DTrilinos_CXX11_FLAGS=-std=c++11',
'-DTPL_ENABLE_Netcdf:BOOL=ON',
'-DTPL_ENABLE_HYPRE:BOOL=ON',
- '-DTPL_ENABLE_HDF5:BOOL=ON',
- # Need to use MPI wrappers, otherwise: Undefined symbols for architecture x86_64: "_mpi_abort_","_mpi_allgatherv_", etc from MUMPS
- #'-DCMAKE_C_COMPILER=%s' % join_path(mpi_bin,'mpicc'), # FIXME: dont hardcode compiler name
- #'-DCMAKE_CXX_COMPILER=%s' % join_path(mpi_bin,'mpicxx'),
- #'-DCMAKE_Fortran_COMPILER=%s' % join_path(mpi_bin,'mpif90')
+ '-DTPL_ENABLE_HDF5:BOOL=ON'
])
# Fortran lib
libgfortran = os.path.dirname (os.popen('%s --print-file-name libgfortran.a' % join_path(mpi_bin,'mpif90') ).read())
options.extend([
'-DTrilinos_EXTRA_LINK_FLAGS:STRING=-L%s/ -lgfortran' % libgfortran,
- '-DTrilinos_ENABLE_Fortran=OFF' # FIXME: otherwise VerifyFortranC fails as it does not contain -lgfortran , issues with IMPLICIT_LINK_LIBRARIES in CMakeFiles/CMake(C|CXX|Fortran)Compiler.cmake?
+ '-DTrilinos_ENABLE_Fortran=OFF' # FIXME: otherwise CMake's VerifyFortranC fails as it does not contain -lgfortran
])
# for build-debug only:
- options.extend([
- '-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE'
- ])
+ # options.extend([
+ # '-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE'
+ # ])
# suite-sparse related
options.extend([