]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Handle Open MPI mpicc/mpicxx compiler wrappers
[blhc/blhc.git] / bin / blhc
index 6e5e8f44b1b16ae125776d49688b9663babe22d5..0e907070bc84100c98771a81bf97a7921216cfa4 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -33,7 +33,7 @@ our $VERSION = '0.07';
 my $cc_regex = qr/
     (?<!\s-)               # ignore options, e.g. "-c++" [sic!] (used by swig)
     (?<!\.)                # ignore file names, e.g. "test.gcc"
-    (?:cc|gcc|g\+\+|c\+\+)
+    (?:cc|gcc|g\+\+|c\+\+|mpicc|mpicxx)
     (?:-[\d.]+)?           # version suffix, e.g. "gcc-4.6"
     /x;
 # Full regex which matches the complete compiler name. Used in a few places to