Skip to content

Commit

Permalink
Fix to compile on Power with LLVM OpenMP runtime
Browse files Browse the repository at this point in the history
Will need to find a solution to compile with LOMP since it does not have an `ompt.h` header
  • Loading branch information
simoatze authored Jul 23, 2018
1 parent 377a82f commit 2aacc54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtl/ompt-tsan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sys/resource.h>
#define _OPENMP
#include "omp.h"
#if !defined(__powerpc64__)
// #if !defined(__powerpc64__)
#include <ompt.h>
#endif
// #endif

callback_counter_t *all_counter;
__thread callback_counter_t* this_event_counter;
Expand Down

0 comments on commit 2aacc54

Please sign in to comment.