From: Simon Ruderich Date: Sun, 23 Jul 2017 14:12:28 +0000 (+0200) Subject: Handle Open MPI mpicc/mpicxx compiler wrappers X-Git-Tag: 0.08~13 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=bc6e920d8047a414012dd7f7dc152916d0670427;p=blhc%2Fblhc.git Handle Open MPI mpicc/mpicxx compiler wrappers The wrapper wasn't treated as compiler causing the non-verbose detection to trigger as the next line seemingly contained no compiler command. Reported by Nico Schlömer. See [1] for a build log which was affected. [1]: https://buildd.debian.org/status/fetch.php?pkg=trilinos&arch=amd64&ver=12.10.1-4&stamp=1500253714&raw=1 --- diff --git a/NEWS b/NEWS index 1638007..b666489 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,8 @@ Version 0.XX - Support new dpkg versions which replaced Dpkg::Arch's debarch_to_debtriplet with debarch_to_debtuple (Debian Bug #844393), reported by Johannes Schauer. +- Support Open MPI mpicc/mpicxx compiler wrappers to prevent false positives + in non-verbose-build detection, reported by Nico Schlömer. Version 0.07 diff --git a/bin/blhc b/bin/blhc index 6e5e8f4..0e90707 100755 --- a/bin/blhc +++ b/bin/blhc @@ -33,7 +33,7 @@ our $VERSION = '0.07'; my $cc_regex = qr/ (?>/obj-x86_64-linux-gnu/packages/zoltan/src && /usr/bin/mpicc -Dtrilinos_zoltan_EXPORTS -I/<>/obj-x86_64-linux-gnu -I/<>/obj-x86_64-linux-gnu/packages/zoltan/src -I/<>/packages/zoltan/src/include -I/<>/packages/zoltan/src/all -I/<>/packages/zoltan/src/coloring -I/<>/packages/zoltan/src/graph -I/<>/packages/zoltan/src/ha -I/<>/packages/zoltan/src/hier -I/<>/packages/zoltan/src/hsfc -I/<>/packages/zoltan/src/lb -I/<>/packages/zoltan/src/matrix -I/<>/packages/zoltan/src/order -I/<>/packages/zoltan/src/par -I/<>/packages/zoltan/src/params -I/<>/packages/zoltan/src/tpls -I/<>/packages/zoltan/src/phg -I/<>/packages/zoltan/src/rcb -I/<>/packages/zoltan/src/reftree -I/<>/packages/zoltan/src/simple -I/<>/packages/zoltan/src/timer -I/<>/packages/zoltan/src/Utilities/Communication -I/<>/packages/zoltan/src/Utilities/DDirectory -I/<>/packages/zoltan/src/Utilities/Timer -I/<>/packages/zoltan/src/Utilities/shared -I/<>/packages/zoltan/src/zz -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/trilinos_zoltan.dir/all/all_allo.c.o -c /<>/packages/zoltan/src/all/all_allo.c +[ 1%] Building CXX object packages/kokkos/core/src/CMakeFiles/trilinos_kokkoscore.dir/impl/Kokkos_Profiling_Interface.cpp.o +cd /<>/obj-x86_64-linux-gnu/packages/kokkos/core/src && /usr/bin/mpicxx -Dtrilinos_kokkoscore_EXPORTS -I/<>/obj-x86_64-linux-gnu -I/<>/obj-x86_64-linux-gnu/packages/kokkos/core/src -I/<>/packages/kokkos/core/src -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -o CMakeFiles/trilinos_kokkoscore.dir/impl/Kokkos_Profiling_Interface.cpp.o -c /<>/packages/kokkos/core/src/impl/Kokkos_Profiling_Interface.cpp # More examples for real build logs. Scanning dependencies of target dcmtk_getscu