mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
rocclr: Remove stale substituteInPlace
This commit is contained in:
parent
4b9908322c
commit
07860aaab7
@ -32,11 +32,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace 'set(ROCCLR_EXPORTS_FILE "''${CMAKE_CURRENT_BINARY_DIR}/amdrocclr_staticTargets.cmake")' \
|
|
||||||
'set(ROCCLR_EXPORTS_FILE "''${CMAKE_INSTALL_LIBDIR}/cmake/amdrocclr_staticTargets.cmake")' \
|
|
||||||
--replace 'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_CURRENT_BINARY_DIR}/lib)' \
|
--replace 'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_CURRENT_BINARY_DIR}/lib)' \
|
||||||
'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_INSTALL_LIBDIR})' \
|
'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_INSTALL_LIBDIR})'
|
||||||
--replace 'find_library( OpenCL REQUIRED' 'find_library( OpenCL'
|
|
||||||
substituteInPlace device/comgrctx.cpp \
|
substituteInPlace device/comgrctx.cpp \
|
||||||
--replace "libamd_comgr.so" "${rocm-comgr}/lib/libamd_comgr.so"
|
--replace "libamd_comgr.so" "${rocm-comgr}/lib/libamd_comgr.so"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user