[Openmp-commits] [PATCH] D137831: Fix Configuration and test failures due to libompd test
Ron Lieberman via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Nov 11 05:12:42 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2f1c942f806e: for Vignesh: land changes to disable two recent ompd random fails (authored by ronlieb).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137831/new/
https://reviews.llvm.org/D137831
Files:
openmp/libompd/test/CMakeLists.txt
openmp/libompd/test/openmp_examples/ompd_bt.c
openmp/libompd/test/openmp_examples/ompd_parallel.c
Index: openmp/libompd/test/openmp_examples/ompd_parallel.c
===================================================================
--- openmp/libompd/test/openmp_examples/ompd_parallel.c
+++ 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>
Index: openmp/libompd/test/openmp_examples/ompd_bt.c
===================================================================
--- openmp/libompd/test/openmp_examples/ompd_bt.c
+++ 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) {
Index: openmp/libompd/test/CMakeLists.txt
===================================================================
--- openmp/libompd/test/CMakeLists.txt
+++ openmp/libompd/test/CMakeLists.txt
@@ -9,25 +9,27 @@
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137831.474732.patch
Type: text/x-patch
Size: 2607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221111/5d9d5b47/attachment.bin>
More information about the Openmp-commits
mailing list