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
e49295b3
Commit
e49295b3
authored
Apr 14, 2023
by
Ted Themistokleous
Browse files
Work in progress Update find_package for TBB due to CENTOS/RHEL packaging
parent
03bcd72f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/CMakeLists.txt
src/CMakeLists.txt
+7
-1
No files found.
src/CMakeLists.txt
View file @
e49295b3
...
...
@@ -247,7 +247,13 @@ target_include_directories(migraphx SYSTEM PUBLIC $<BUILD_INTERFACE:${HALF_INCLU
find_package
(
Threads
)
target_link_libraries
(
migraphx PUBLIC Threads::Threads
)
find_package
(
TBB REQUIRED
)
find_package
(
TBB QUIET
)
if
(
NOT TBB_FOUND
)
#Check if TBB is installed in the proper RHEL DIR which is different from
#debian installs /lib64 vs /usr/lib64
include
(
/usr/lib64/cmake/tbb
)
find_package
(
TBB REQUIRED
)
endif
()
target_link_libraries
(
migraphx PRIVATE TBB::tbb
)
find_package
(
nlohmann_json 3.8.0 REQUIRED
)
...
...
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