Skip to content

[SYCL][XPTI] Fix libraries installation path (#2286) #5288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 13, 2022
Merged
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
6 changes: 3 additions & 3 deletions xpti/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ macro(add_xpti_lib target_name)

# Set the location of the library installation
install(TARGETS ${target_name}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT xpti
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT xpti
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT xpti
RUNTIME DESTINATION bin COMPONENT xpti
LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT xpti
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT xpti
)
endmacro()

Expand Down
6 changes: 3 additions & 3 deletions xptifw/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ endif()
# Set the location of the library installation
include(GNUInstallDirs)
install(TARGETS xptifw
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT xptifw
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT xptifw
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT xptifw
RUNTIME DESTINATION bin COMPONENT xptifw
LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT xptifw
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT xptifw
)