Commit 6e337a2f authored by Ted Themistokleous's avatar Ted Themistokleous
Browse files

Add libtbb2 as prereq for cmake and packages alongside libtbb-dev

parent f4550aab
......@@ -285,5 +285,5 @@ rocm_create_package(
MAINTAINER "AMDMIGraphX Maintainer <migraphx-lib.support@amd.com>"
LDCONFIG
PTH
DEPENDS miopen-hip rocblas hip-rocclr hip-base half libtbb-dev
DEPENDS miopen-hip rocblas hip-rocclr hip-base half libtbb2 libtbb-dev
)
......@@ -248,7 +248,7 @@ find_package(Threads)
target_link_libraries(migraphx PUBLIC Threads::Threads)
find_package(TBB REQUIRED)
target_link_libraries(migraphx PUBLIC TBB::tbb)
target_link_libraries(migraphx PRIVATE TBB::tbb)
find_package(nlohmann_json 3.8.0 REQUIRED)
target_link_libraries(migraphx PRIVATE nlohmann_json::nlohmann_json)
......
......@@ -33,7 +33,7 @@ export LANG=C.UTF-8
# Need pip3 and Python headers to build dependencies
apt update && apt install -y python3-pip python3-dev cmake rocm-cmake rocblas miopen-hip openmp-extras libtbb-dev
apt update && apt install -y python3-pip python3-dev cmake rocm-cmake rocblas miopen-hip openmp-extras libtbb2 libtbb-dev
# Needed for cmake to build various pip packages
pip3 install setuptools wheel
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment