We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e73d555 commit 0d6d36eCopy full SHA for 0d6d36e
offload/CMakeLists.txt
@@ -475,3 +475,5 @@ if(OFFLOAD_INCLUDE_TESTS)
475
add_subdirectory(test)
476
add_subdirectory(unittests)
477
endif()
478
+
479
+add_subdirectory(utils)
offload/utils/CMakeLists.txt
@@ -0,0 +1,10 @@
1
+set(OPENMP_UTILS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}" CACHE PATH
2
+ "Path for binary subdirectory (defaults to '${CMAKE_INSTALL_BINDIR}')")
3
4
+macro(add_openmp_util path)
5
+ install(PROGRAMS
6
+ ${path}
7
+ DESTINATION "${OPENMP_UTILS_INSTALL_DIR}")
8
+endmacro()
9
10
+add_subdirectory(gpurun)
offload/utils/gpurun/CMakeLists.txt
@@ -0,0 +1 @@
+add_openmp_util(${CMAKE_CURRENT_SOURCE_DIR}/gpurun)
offload/utils/gpurun renamed to offload/utils/gpurun/gpurun
0 commit comments