[Openmp-commits] [openmp] 2f1c942 - for Vignesh: land changes to disable two recent ompd random fails

Ron Lieberman via Openmp-commits openmp-commits at lists.llvm.org
Fri Nov 11 05:12:33 PST 2022


Author: Ron Lieberman
Date: 2022-11-11T07:11:29-06:00
New Revision: 2f1c942f806e7a616f81bdb61898ae1e6f8a8263

URL: https://github.com/llvm/llvm-project/commit/2f1c942f806e7a616f81bdb61898ae1e6f8a8263
DIFF: https://github.com/llvm/llvm-project/commit/2f1c942f806e7a616f81bdb61898ae1e6f8a8263.diff

LOG: for Vignesh: land changes to disable two recent ompd random fails

Differential Revision: https://reviews.llvm.org/D137831

Added: 
    

Modified: 
    openmp/libompd/test/CMakeLists.txt
    openmp/libompd/test/openmp_examples/ompd_bt.c
    openmp/libompd/test/openmp_examples/ompd_parallel.c

Removed: 
    


################################################################################
diff  --git a/openmp/libompd/test/CMakeLists.txt b/openmp/libompd/test/CMakeLists.txt
index 81ca00edbdcaf..cb9adc40f0d60 100644
--- a/openmp/libompd/test/CMakeLists.txt
+++ b/openmp/libompd/test/CMakeLists.txt
@@ -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)
 

diff  --git a/openmp/libompd/test/openmp_examples/ompd_bt.c b/openmp/libompd/test/openmp_examples/ompd_bt.c
index 60d8c081adb5d..4bacde67000bb 100644
--- a/openmp/libompd/test/openmp_examples/ompd_bt.c
+++ b/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) {

diff  --git a/openmp/libompd/test/openmp_examples/ompd_parallel.c b/openmp/libompd/test/openmp_examples/ompd_parallel.c
index c0cb35f24fc6a..a6bb992e7e7ff 100644
--- a/openmp/libompd/test/openmp_examples/ompd_parallel.c
+++ b/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>
 


        


More information about the Openmp-commits mailing list