Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Qt Project
clang
llvm-project
Commits
a06084eb
Commit
a06084eb
authored
Nov 30, 2022
by
Vignesh Balasubramanian
Browse files
Revert "[OpenMP] [OMPD] Enable OMPD Tests"
This reverts commit
451c017a
.
parent
3a1b4092
Changes
3
Hide whitespace changes
Inline
Side-by-side
openmp/CMakeLists.txt
View file @
a06084eb
...
...
@@ -87,6 +87,9 @@ endif()
# to enable time profiling support in the OpenMP runtime.
add_subdirectory
(
runtime
)
# Build libompd.so
add_subdirectory
(
libompd
)
if
(
OPENMP_ENABLE_LIBOMPTARGET
)
# Check that the library can actually be built.
if
(
APPLE OR WIN32
)
...
...
@@ -112,9 +115,6 @@ endif()
option
(
OPENMP_MSVC_NAME_SCHEME
"Build dll with MSVC naming scheme."
OFF
)
# Build libompd.so
add_subdirectory
(
libompd
)
# Build documentation
add_subdirectory
(
docs
)
...
...
openmp/libompd/CMakeLists.txt
View file @
a06084eb
...
...
@@ -16,6 +16,9 @@ if(LIBOMP_OMPD_SUPPORT)
add_subdirectory
(
src
)
if
(
LIBOMP_OMPD_GDB_SUPPORT
)
add_subdirectory
(
gdb-plugin
)
add_subdirectory
(
test
)
# temporarily disabled
# test/CMakeLists.txt breaks DeviceRTL in LLVM_ENABLE_PROJECTS builds.
# find_package(LLVM) is likely the source of the trouble.
# add_subdirectory(test)
endif
()
endif
()
openmp/libompd/test/CMakeLists.txt
View file @
a06084eb
...
...
@@ -6,6 +6,31 @@ if(NOT OPENMP_TEST_COMPILER_ID STREQUAL "Clang")
return
()
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()
set
(
PYTHON_PLUGIN
${
ompd_BINARY_DIR
}
/gdb-plugin/python-module
)
# Configure the lit.site.cfg.in file
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment