Fortran support for <LANG>_COMPILER_LAUNCHER
We'd like to use compiler wrappers with CMAKE via the
<LANG>_COMPILER_LAUNCHER variable for Fortran as well as C/C++/CUDA. At the moment we work around with an auto generated shell script named
tau_gfortran looks like:
#!/bin/sh # # WARNING: DO NOT EDIT THIS FILE. # This file is generated automatically. Any changes made here may be lost! # # Created: 2017-11-21 13:20:13.650415 # Author: jlinford # tau gfortran "$@"
and we use
cmake -DCMAKE_Fortran_COMPILER=tau_gfortran. We'd prefer
cmake -DCMAKE_Fortran_COMPILER_LAUNCHER=tau -DCMAKE_Fortran_COMPILER=gfortran