You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/hipFFT/files/hipFFT-4.3.0-gentoo-install...

43 lines
1.9 KiB

diff --color -uprN orig/CMakeLists.txt hipFFT-rocm-4.3.0/CMakeLists.txt
--- orig/CMakeLists.txt 2021-08-26 14:38:31.051268348 +0800
+++ hipFFT-rocm-4.3.0/CMakeLists.txt 2021-08-26 14:38:42.655268425 +0800
@@ -143,7 +143,7 @@ endif( )
add_subdirectory( library )
# force library install path to lib (CentOS 7 defaults to lib64)
-set(CMAKE_INSTALL_LIBDIR "lib" CACHE INTERNAL "Installation directory for libraries" FORCE)
+set(CMAKE_INSTALL_LIBDIR "lib64" CACHE INTERNAL "Installation directory for libraries" FORCE)
# Build clients of the library
if( BUILD_CLIENTS )
diff --color -uprN orig/library/CMakeLists.txt hipFFT-rocm-4.3.0/library/CMakeLists.txt
--- orig/library/CMakeLists.txt 2021-08-26 14:38:31.051268348 +0800
+++ hipFFT-rocm-4.3.0/library/CMakeLists.txt 2021-08-26 14:39:21.919268686 +0800
@@ -77,7 +77,7 @@ target_include_directories(hipfft
PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/library/include>
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>
$<BUILD_INTERFACE:${HIP_INCLUDE_DIRS}>
- $<INSTALL_INTERFACE:include>
+ $<INSTALL_INTERFACE:include/hipfft>
)
if(BUILD_WITH_LIB STREQUAL "CUDA")
@@ -112,13 +112,13 @@ if( ROCM_FOUND )
rocm_install_targets( TARGETS hipfft
INCLUDE
${CMAKE_SOURCE_DIR}/library/include
- ${CMAKE_BINARY_DIR}/include
- PREFIX hipfft )
+ ${CMAKE_BINARY_DIR}/include )
+ #PREFIX hipfft )
rocm_export_targets( TARGETS hip::hipfft
- PREFIX hipfft
+ #PREFIX hipfft
DEPENDS PACKAGE hip
NAMESPACE hip:: )
- rocm_install_symlink_subdir( hipfft )
+ #rocm_install_symlink_subdir( hipfft )
# During transition to standalone hipFFT repository, don't install