Skip to content

Commit

Permalink
Revert "Reland #2 - [Offload] Introduce offload-tblgen and initial ne…
Browse files Browse the repository at this point in the history
…w API implementation (#108413. #117704)" (#117995)

Reverts #117894

Buildbot failures in OpenMP/Offload bots.
https://lab.llvm.org/buildbot/#/builders/30/builds/11193
  • Loading branch information
jplehr authored Nov 28, 2024
1 parent cb5bdf8 commit 5208bc3
Show file tree
Hide file tree
Showing 56 changed files with 2 additions and 4,915 deletions.
3 changes: 0 additions & 3 deletions offload/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,6 @@ add_subdirectory(tools)
# Build target agnostic offloading library.
add_subdirectory(src)

add_subdirectory(tools/offload-tblgen)
add_subdirectory(liboffload)

# Add tests.
add_subdirectory(test)

Expand Down
12 changes: 0 additions & 12 deletions offload/cmake/OpenMPTesting.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,6 @@ function(find_standalone_test_dependencies)
return()
endif()

find_program(OFFLOAD_TBLGEN_EXECUTABLE
NAMES offload-tblgen
PATHS ${OPENMP_LLVM_TOOLS_DIR})
if (NOT OFFLOAD_TBLGEN_EXECUTABLE)
message(STATUS "Cannot find 'offload-tblgen'.")
message(STATUS "Please put 'not' in your PATH, set OFFLOAD_TBLGEN_EXECUTABLE to its full path, or point OPENMP_LLVM_TOOLS_DIR to its directory.")
message(WARNING "The check targets will not be available!")
set(ENABLE_CHECK_TARGETS FALSE PARENT_SCOPE)
return()
endif()

find_program(OPENMP_NOT_EXECUTABLE
NAMES not
PATHS ${OPENMP_LLVM_TOOLS_DIR})
Expand Down Expand Up @@ -93,7 +82,6 @@ else()
set(OPENMP_FILECHECK_EXECUTABLE ${LLVM_RUNTIME_OUTPUT_INTDIR}/FileCheck)
endif()
set(OPENMP_NOT_EXECUTABLE ${LLVM_RUNTIME_OUTPUT_INTDIR}/not)
set(OFFLOAD_TBLGEN_EXECUTABLE ${LLVM_RUNTIME_OUTPUT_INTDIR}/offload-tblgen)
set(OFFLOAD_DEVICE_INFO_EXECUTABLE ${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-offload-device-info)
endif()

Expand Down
212 changes: 0 additions & 212 deletions offload/liboffload/API/APIDefs.td

This file was deleted.

25 changes: 0 additions & 25 deletions offload/liboffload/API/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit 5208bc3

Please sign in to comment.