mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
c4a937a9f6
To avoid output limit exceeded errors in hydra, we build kernel device libs and the kernel RTC cache database in separate derivations
16 lines
472 B
Diff
16 lines
472 B
Diff
diff --git a/library/src/device/CMakeLists.txt b/library/src/device/CMakeLists.txt
|
|
index 73a8ec9..9bfd4b8 100644
|
|
--- a/library/src/device/CMakeLists.txt
|
|
+++ b/library/src/device/CMakeLists.txt
|
|
@@ -255,4 +255,10 @@ foreach( sub ${AMDGPU_TARGETS} )
|
|
if( NOT BUILD_SHARED_LIBS )
|
|
set_target_properties( rocfft-device-${sub} PROPERTIES PREFIX "lib" )
|
|
endif( )
|
|
+
|
|
+ rocm_install_targets(
|
|
+ TARGETS
|
|
+ rocfft-device-${sub}
|
|
+ COMPONENT device
|
|
+ )
|
|
endforeach()
|