Skip to content

Commit

Permalink
for Vignesh: land changes to disable two recent ompd random fails
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D137831
  • Loading branch information
ronlieb committed Nov 11, 2022
1 parent 7943169 commit 2f1c942
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 18 deletions.
38 changes: 20 additions & 18 deletions openmp/libompd/test/CMakeLists.txt
Expand Up @@ -9,25 +9,27 @@ endif()
find_package(LLVM REQUIRED CONFIG)
list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_DIR}")
include(AddLLVM)
find_program(LLVM_LIT_PATH
NAMES llvm-lit lit
HINTS ${LLVM_TOOLS_BINARY_DIR}
PATHS ${LLVM_ROOT_DIR}/bin /usr/bin /usr/local/bin /opt/local/bin
DOC "llvm-lit executable. (Workaround for AddLLVM.cmake path not being set)"
)
if(LLVM_LIT_PATH)
set(LLVM_EXTERNAL_LIT ${LLVM_LIT_PATH})
endif()

find_program(FILECHECK_EXECUTABLE
NAMES Filecheck FileCheck
HINTS ${LLVM_TOOLS_BINARY_DIR}
PATHS ${LLVM_ROOT_DIR}/bin /usr/bin /usr/local/bin /opt/local/bin
DOC "Filecheck executable. (Workaround for AddLLVM.cmake path not being set)"
)
if(LLVM_FILECHECK_PATH)
set(LLVM_EXTERNAL_FILECHECK ${LLVM_FILECHECK_PATH})
endif()

#find_program(LLVM_LIT_PATH
# NAMES llvm-lit lit
# HINTS ${LLVM_TOOLS_BINARY_DIR}
# PATHS ${LLVM_ROOT_DIR}/bin /usr/bin /usr/local/bin /opt/local/bin
# DOC "llvm-lit executable. (Workaround for AddLLVM.cmake path not being set)"
#)
#if(LLVM_LIT_PATH)
# set(LLVM_EXTERNAL_LIT ${LLVM_LIT_PATH})
#endif()

#find_program(FILECHECK_EXECUTABLE
# NAMES Filecheck FileCheck
# HINTS ${LLVM_TOOLS_BINARY_DIR}
# PATHS ${LLVM_ROOT_DIR}/bin /usr/bin /usr/local/bin /opt/local/bin
# DOC "Filecheck executable. (Workaround for AddLLVM.cmake path not being set)"
#)
#if(LLVM_FILECHECK_PATH)
# set(LLVM_EXTERNAL_FILECHECK ${LLVM_FILECHECK_PATH})
#endif()

set(PYTHON_PLUGIN ${ompd_BINARY_DIR}/gdb-plugin/python-module)

Expand Down
2 changes: 2 additions & 0 deletions openmp/libompd/test/openmp_examples/ompd_bt.c
@@ -1,6 +1,8 @@
// RUN: %gdb-compile 2>&1 | tee %t.compile
// RUN: %gdb-test -x %S/ompd_bt.cmd %t 2>&1 | tee %t.out | FileCheck %s

// REQUIRES: determinism

#include <omp.h>

void subdomain(float *x, int istart, int ipoints) {
Expand Down
2 changes: 2 additions & 0 deletions openmp/libompd/test/openmp_examples/ompd_parallel.c
@@ -1,6 +1,8 @@
// RUN: %gdb-compile 2>&1 | tee %t.compile
// RUN: %gdb-test -x %S/ompd_parallel.cmd %t 2>&1 | tee %t.out | FileCheck %s

// REQUIRES: determinism

#include <omp.h>
#include <stdio.h>

Expand Down

0 comments on commit 2f1c942

Please sign in to comment.