Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions offload/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -475,3 +475,5 @@ if(OFFLOAD_INCLUDE_TESTS)
add_subdirectory(test)
add_subdirectory(unittests)
endif()

add_subdirectory(utils)
10 changes: 10 additions & 0 deletions offload/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set(OPENMP_UTILS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}" CACHE PATH
"Path for binary subdirectory (defaults to '${CMAKE_INSTALL_BINDIR}')")

macro(add_openmp_util path)
install(PROGRAMS
${path}
DESTINATION "${OPENMP_UTILS_INSTALL_DIR}")
endmacro()

add_subdirectory(gpurun)
1 change: 1 addition & 0 deletions offload/utils/gpurun/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add_openmp_util(${CMAKE_CURRENT_SOURCE_DIR}/gpurun)
File renamed without changes.