Skip to content

Commit 2f1c942

Browse files
committed
for Vignesh: land changes to disable two recent ompd random fails
Differential Revision: https://reviews.llvm.org/D137831
1 parent 7943169 commit 2f1c942

File tree

3 files changed

+24
-18
lines changed

3 files changed

+24
-18
lines changed

openmp/libompd/test/CMakeLists.txt

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,27 @@ endif()
99
find_package(LLVM REQUIRED CONFIG)
1010
list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_DIR}")
1111
include(AddLLVM)
12-
find_program(LLVM_LIT_PATH
13-
NAMES llvm-lit lit
14-
HINTS ${LLVM_TOOLS_BINARY_DIR}
15-
PATHS ${LLVM_ROOT_DIR}/bin /usr/bin /usr/local/bin /opt/local/bin
16-
DOC "llvm-lit executable. (Workaround for AddLLVM.cmake path not being set)"
17-
)
18-
if(LLVM_LIT_PATH)
19-
set(LLVM_EXTERNAL_LIT ${LLVM_LIT_PATH})
20-
endif()
2112

22-
find_program(FILECHECK_EXECUTABLE
23-
NAMES Filecheck FileCheck
24-
HINTS ${LLVM_TOOLS_BINARY_DIR}
25-
PATHS ${LLVM_ROOT_DIR}/bin /usr/bin /usr/local/bin /opt/local/bin
26-
DOC "Filecheck executable. (Workaround for AddLLVM.cmake path not being set)"
27-
)
28-
if(LLVM_FILECHECK_PATH)
29-
set(LLVM_EXTERNAL_FILECHECK ${LLVM_FILECHECK_PATH})
30-
endif()
13+
14+
#find_program(LLVM_LIT_PATH
15+
# NAMES llvm-lit lit
16+
# HINTS ${LLVM_TOOLS_BINARY_DIR}
17+
# PATHS ${LLVM_ROOT_DIR}/bin /usr/bin /usr/local/bin /opt/local/bin
18+
# DOC "llvm-lit executable. (Workaround for AddLLVM.cmake path not being set)"
19+
#)
20+
#if(LLVM_LIT_PATH)
21+
# set(LLVM_EXTERNAL_LIT ${LLVM_LIT_PATH})
22+
#endif()
23+
24+
#find_program(FILECHECK_EXECUTABLE
25+
# NAMES Filecheck FileCheck
26+
# HINTS ${LLVM_TOOLS_BINARY_DIR}
27+
# PATHS ${LLVM_ROOT_DIR}/bin /usr/bin /usr/local/bin /opt/local/bin
28+
# DOC "Filecheck executable. (Workaround for AddLLVM.cmake path not being set)"
29+
#)
30+
#if(LLVM_FILECHECK_PATH)
31+
# set(LLVM_EXTERNAL_FILECHECK ${LLVM_FILECHECK_PATH})
32+
#endif()
3133

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

openmp/libompd/test/openmp_examples/ompd_bt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %gdb-compile 2>&1 | tee %t.compile
22
// RUN: %gdb-test -x %S/ompd_bt.cmd %t 2>&1 | tee %t.out | FileCheck %s
33

4+
// REQUIRES: determinism
5+
46
#include <omp.h>
57

68
void subdomain(float *x, int istart, int ipoints) {

openmp/libompd/test/openmp_examples/ompd_parallel.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %gdb-compile 2>&1 | tee %t.compile
22
// RUN: %gdb-test -x %S/ompd_parallel.cmd %t 2>&1 | tee %t.out | FileCheck %s
33

4+
// REQUIRES: determinism
5+
46
#include <omp.h>
57
#include <stdio.h>
68

0 commit comments

Comments
 (0)