Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
6e337a2f
"vscode:/vscode.git/clone" did not exist on "07bc2ac8fed7c2cd869db8f8636a7f1278601b3d"
Commit
6e337a2f
authored
Mar 28, 2023
by
Ted Themistokleous
Browse files
Add libtbb2 as prereq for cmake and packages alongside libtbb-dev
parent
f4550aab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
CMakeLists.txt
+1
-1
src/CMakeLists.txt
src/CMakeLists.txt
+1
-1
tools/install_prereqs.sh
tools/install_prereqs.sh
+1
-1
No files found.
CMakeLists.txt
View file @
6e337a2f
...
@@ -285,5 +285,5 @@ rocm_create_package(
...
@@ -285,5 +285,5 @@ rocm_create_package(
MAINTAINER
"AMDMIGraphX Maintainer <migraphx-lib.support@amd.com>"
MAINTAINER
"AMDMIGraphX Maintainer <migraphx-lib.support@amd.com>"
LDCONFIG
LDCONFIG
PTH
PTH
DEPENDS miopen-hip rocblas hip-rocclr hip-base half libtbb-dev
DEPENDS miopen-hip rocblas hip-rocclr hip-base half
libtbb2
libtbb-dev
)
)
src/CMakeLists.txt
View file @
6e337a2f
...
@@ -248,7 +248,7 @@ find_package(Threads)
...
@@ -248,7 +248,7 @@ find_package(Threads)
target_link_libraries
(
migraphx PUBLIC Threads::Threads
)
target_link_libraries
(
migraphx PUBLIC Threads::Threads
)
find_package
(
TBB REQUIRED
)
find_package
(
TBB REQUIRED
)
target_link_libraries
(
migraphx P
UBLIC
TBB::tbb
)
target_link_libraries
(
migraphx P
RIVATE
TBB::tbb
)
find_package
(
nlohmann_json 3.8.0 REQUIRED
)
find_package
(
nlohmann_json 3.8.0 REQUIRED
)
target_link_libraries
(
migraphx PRIVATE nlohmann_json::nlohmann_json
)
target_link_libraries
(
migraphx PRIVATE nlohmann_json::nlohmann_json
)
...
...
tools/install_prereqs.sh
View file @
6e337a2f
...
@@ -33,7 +33,7 @@ export LANG=C.UTF-8
...
@@ -33,7 +33,7 @@ export LANG=C.UTF-8
# Need pip3 and Python headers to build dependencies
# 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
# Needed for cmake to build various pip packages
pip3
install
setuptools wheel
pip3
install
setuptools wheel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment