diff options
author | Wilfried Holzke <gentoo@holzke.net> | 2021-03-28 17:37:50 +0200 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2021-03-28 17:20:27 -0400 |
commit | 9902edfda9e502869d6a69450be53995c133ab88 (patch) | |
tree | 3e117a2eb9c0eb1b16b34e138675c04d3d24bcb6 /dev-libs/rocr-runtime/files | |
parent | dev-python/jaraco-path: Keyword 3.3.1 alpha, #774216 (diff) | |
download | gentoo-9902edfda9e502869d6a69450be53995c133ab88.tar.gz gentoo-9902edfda9e502869d6a69450be53995c133ab88.tar.bz2 gentoo-9902edfda9e502869d6a69450be53995c133ab88.zip |
dev-libs/rocr-runtime: Version bump to 4.1.0
Signed-off-by: Wilfried Holzke <gentoo@holzke.net>
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Closes: https://github.com/gentoo/gentoo/pull/20168
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-libs/rocr-runtime/files')
-rw-r--r-- | dev-libs/rocr-runtime/files/rocr-runtime-4.1.0-cmake-install-paths.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/rocr-runtime/files/rocr-runtime-4.1.0-cmake-install-paths.patch b/dev-libs/rocr-runtime/files/rocr-runtime-4.1.0-cmake-install-paths.patch new file mode 100644 index 000000000000..18ce75d8b462 --- /dev/null +++ b/dev-libs/rocr-runtime/files/rocr-runtime-4.1.0-cmake-install-paths.patch @@ -0,0 +1,53 @@ +--- a/CMakeLists.txt 2021-03-25 22:16:45.466833618 +0100 ++++ b/CMakeLists.txt 2021-03-25 22:19:55.025828841 +0100 +@@ -296,34 +296,36 @@ + endif() + + ## Create symlinks for legacy packaging and install +-add_custom_target ( hsa_include_link ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../include/hsa hsa_include_link ) +-if ( ${BUILD_SHARED_LIBS} ) +- add_custom_target ( hsa_lib_link ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../lib/${CORE_RUNTIME_LIBRARY}.so ${CORE_RUNTIME_LIBRARY}-link.so ) +- add_custom_target ( hsa_lib_link2 ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../lib/${CORE_RUNTIME_LIBRARY}.so.${VERSION_MAJOR} ${CORE_RUNTIME_LIBRARY}-link.so.${VERSION_MAJOR} ) +-endif() ++#add_custom_target ( hsa_include_link ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../include/hsa hsa_include_link ) ++#if ( ${BUILD_SHARED_LIBS} ) ++# add_custom_target ( hsa_lib_link ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../lib/${CORE_RUNTIME_LIBRARY}.so ${CORE_RUNTIME_LIBRARY}-link.so ) ++# add_custom_target ( hsa_lib_link2 ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../lib/${CORE_RUNTIME_LIBRARY}.so.${VERSION_MAJOR} ${CORE_RUNTIME_LIBRARY}-link.so.${VERSION_MAJOR} ) ++#endif() + + ## Set install information + # Installs binaries and exports the library usage data to ${HSAKMT_TARGET}Targets + # TODO: Fix me for flat directory layout. Should be ${CMAKE_INSTALL_LIBDIR} +-install ( TARGETS ${CORE_RUNTIME_TARGET} EXPORT ${CORE_RUNTIME_NAME}Targets +- ARCHIVE DESTINATION lib COMPONENT binary +- LIBRARY DESTINATION lib COMPONENT binary ) ++#install ( TARGETS ${CORE_RUNTIME_TARGET} EXPORT ${CORE_RUNTIME_NAME}Targets ++# ARCHIVE DESTINATION lib COMPONENT binary ++# LIBRARY DESTINATION lib COMPONENT binary ) ++install ( TARGETS ${CORE_RUNTIME_TARGET} EXPORT ${CORE_RUNTIME_NAME}Targets LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ) + + # Install license + #install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT binary ) + + # Install public headers + # TODO: Fix me for flat directory layout. Should be ${CMAKE_INSTALL_INCLUDEDIR} +-install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/inc/ DESTINATION include/hsa COMPONENT dev ) ++#install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/inc/ DESTINATION include/hsa COMPONENT dev ) ++install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/inc/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hsa ) + + # Legacy symlink. +-install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/hsa_include_link DESTINATION hsa/include PERMISSIONS OWNER_WRITE OWNER_READ RENAME hsa COMPONENT dirlink) ++#install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/hsa_include_link DESTINATION hsa/include PERMISSIONS OWNER_WRITE OWNER_READ RENAME hsa COMPONENT dirlink) + + # Legacy symlinks. +-if ( ${BUILD_SHARED_LIBS} ) +- install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_RUNTIME_LIBRARY}-link.so DESTINATION hsa/lib PERMISSIONS OWNER_WRITE OWNER_READ RENAME ${CORE_RUNTIME_LIBRARY}.so COMPONENT binary) +- install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_RUNTIME_LIBRARY}-link.so.${VERSION_MAJOR} DESTINATION hsa/lib PERMISSIONS OWNER_WRITE OWNER_READ RENAME ${CORE_RUNTIME_LIBRARY}.so.${VERSION_MAJOR} COMPONENT binary) +-endif () ++#if ( ${BUILD_SHARED_LIBS} ) ++# install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_RUNTIME_LIBRARY}-link.so DESTINATION hsa/lib PERMISSIONS OWNER_WRITE OWNER_READ RENAME ${CORE_RUNTIME_LIBRARY}.so COMPONENT binary) ++# install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_RUNTIME_LIBRARY}-link.so.${VERSION_MAJOR} DESTINATION hsa/lib PERMISSIONS OWNER_WRITE OWNER_READ RENAME ${CORE_RUNTIME_LIBRARY}.so.${VERSION_MAJOR} COMPONENT binary) ++#endif () + + ## Configure and install package config file + # Record our usage data for clients find_package calls. |