-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add tbb and testing to container #84
base: main
Are you sure you want to change the base?
Conversation
I will have a look later this week! |
find_package(TBB) | ||
if (${TBB_FOUND}) | ||
target_link_libraries(${exercise} PRIVATE TBB::tbb) | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's appropriate to REQUIRE
TBB here:
find_package(TBB) | |
if (${TBB_FOUND}) | |
target_link_libraries(${exercise} PRIVATE TBB::tbb) | |
endif() | |
find_package(TBB REQUIRED) | |
target_link_libraries(${exercise} PRIVATE TBB::tbb) |
We may want to edit the exercise over in cpp to also REQUIRE
TBB now. In addition to the CMakeLists.txt
, the documentation would also need an update then.
Looks like CI is failing |
Because I left some unused variables around. Now it is fine to merge. |
@vaeng Let's get someone from the @exercism/guardians team to approve then |
According to the discussion on the forums, I added the tbb library to the container and wrote a small (very basic) test to check if it is working as intended.
I'd like to have the opinion of @ahans as well, as they suggested adding it if I remember correctly.