diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-28 15:34:25 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-28 15:34:25 -0700 |
commit | a14527ec0619151d6defc909a46aefd2a9378cb7 (patch) | |
tree | 512b515af6b81fbb9c6ca9a7740c72f651bec705 /lib | |
parent | d8579a5b80efd8b09e5332a922dee533f2a0a55e (diff) | |
download | spack-a14527ec0619151d6defc909a46aefd2a9378cb7.tar.gz spack-a14527ec0619151d6defc909a46aefd2a9378cb7.tar.bz2 spack-a14527ec0619151d6defc909a46aefd2a9378cb7.tar.xz spack-a14527ec0619151d6defc909a46aefd2a9378cb7.zip |
Add command to compiler input log.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/spack/env/cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc index 4217159a25..68cd8514f4 100755 --- a/lib/spack/env/cc +++ b/lib/spack/env/cc @@ -241,7 +241,7 @@ fi if [[ $SPACK_DEBUG = TRUE ]]; then input_log="$SPACK_DEBUG_LOG_DIR/spack-cc-$SPACK_SHORT_SPEC.in.log" output_log="$SPACK_DEBUG_LOG_DIR/spack-cc-$SPACK_SHORT_SPEC.out.log" - echo "$input_command" >> $input_log + echo "$command $input_command" >> $input_log echo "$mode ${full_command[@]}" >> $output_log fi |