diff options
author | Ondřej Čertík <ondrej@certik.us> | 2017-10-26 13:50:18 -0600 |
---|---|---|
committer | Christoph Junghans <christoph.junghans@gmail.com> | 2017-10-26 13:50:18 -0600 |
commit | 0e464f86bbd62bb6bb6369841cb213be503aa55d (patch) | |
tree | 39d1d12cc7d3888e485cfaa817773e554b58424b /README.md | |
parent | 8e47b17a4d45adc712ef0c81b3f5de833bd9e5ca (diff) | |
download | spack-0e464f86bbd62bb6bb6369841cb213be503aa55d.tar.gz spack-0e464f86bbd62bb6bb6369841cb213be503aa55d.tar.bz2 spack-0e464f86bbd62bb6bb6369841cb213be503aa55d.tar.xz spack-0e464f86bbd62bb6bb6369841cb213be503aa55d.zip |
Exodus: skip the -G "Unix Makefiles" part (#5906)
* Exodus: skip the -G "Unix Makefiles" part
The problem is that spack passes -G "Unix Makefiles" into cmake, which normally
works. But in the Exodus package, it is being passed into a bash wrapper
script. In there, the $@ then loses the information about "Unix Makefiles"
being just one argument, and in effect passes -G Unix Makefiles into the cmake
(without quotes), and so cmake only sees -G Unix, and then fails. This is a
known problem with bash with no simple solutions. As a workaround, this patch
skips the first two arguments, i.e., -G and "Unix Makefiles". This makes it
work.
Fixes #5895.
* Port exodusii to cmake
The cmake options were taken from the cmake-exodus bash script and ported to
spack directly.
* Use variant forwarding to forward the 'mpi'
Now instead of
spack install exodusii~mpi^netcdf~mpi^hdf5~mpi
one can just use
spack install exodusii~mpi
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions