Skip to content

Commit

Permalink
Merge back fixes from ROCm 6.2 (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 authored Aug 9, 2024
1 parent 03a98d8 commit 8edd91b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 130,9 @@ if(NOT WIN32 AND ROCRAND_USE_TBB)
message(WARNING "TBB is not found. Building without parallel STL support")
else()
target_link_libraries(rocrand PRIVATE TBB::tbb)
rocm_package_add_deb_dependencies("libtbb-dev")
set(CPACK_DEB_PACKAGE_REQUIRES "${CPACK_DEB_PACKAGE_REQUIRES}" PARENT_SCOPE)
rocm_package_add_rpm_dependencies("(tbb-devel or tbb)")
rocm_package_add_deb_dependencies(DEPENDS "libtbb-dev")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS}" PARENT_SCOPE)
rocm_package_add_rpm_dependencies(DEPENDS "(tbb-devel or tbb)")
set(CPACK_RPM_PACKAGE_REQUIRES "${CPACK_RPM_PACKAGE_REQUIRES}" PARENT_SCOPE)

# Older libstdc headers require TBB to be installed to be able to #include <execution>
Expand Down

0 comments on commit 8edd91b

Please sign in to comment.