Skip to content

Commit

Permalink
Remove obsolete action name patterns. Refs #44.
Browse files Browse the repository at this point in the history
  • Loading branch information
swatanabe committed Oct 24, 2018
1 parent 49a04b6 commit 4d4c503
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions common/src/process_jam_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -791,17 +791,9 @@ int process_jam_log( const std::vector<std::string> & args )

// these actions represent both the start of a new action
// and the end of a failed action
else if ( line_start.find( "C++-action" ) != string::npos
|| line_start.find( "vc-C++" ) != string::npos
|| line_start.find( "C-action" ) != string::npos
|| line_start.find( "Cc-action" ) != string::npos
|| line_start.find( "vc-Cc" ) != string::npos
|| line_start.find( ".compile.") != string::npos
|| line_start.find( "compile-") != string::npos
|| line_start.find( "-compile") != string::npos
|| line_start.find( "Link-action" ) != string::npos
|| line_start.find( "vc-Link" ) != string::npos
|| line_start.find( "Archive-action" ) != string::npos
else if ( line_start.find( ".compile.") != string::npos
|| line_start.find( "compile-c-c++") != string::npos // msvc
|| line_start.find( "compile-fortran") != string::npos // xlf
|| line_start.find( ".archive") != string::npos
|| ( line_start.find( ".link") != string::npos &&
// .linkonce is present in gcc linker messages about
Expand All @@ -817,10 +809,7 @@ int process_jam_log( const std::vector<std::string> & args )
//~ return 1;
//~ }

string action( ( line_start.find( "Link-action" ) != string::npos
|| line_start.find( "vc-Link" ) != string::npos
|| line_start.find( "Archive-action" ) != string::npos
|| line_start.find( ".archive") != string::npos
string action( ( line_start.find( ".archive") != string::npos
|| line_start.find( ".link") != string::npos
)
? "link" : "compile"
Expand Down

0 comments on commit 4d4c503

Please sign in to comment.