Skip to content

Comments

Code coverage fixes#516

Merged
isaevil merged 3 commits intomasterfrom
dev/isaevil/fix_coverage
Aug 9, 2021
Merged

Code coverage fixes#516
isaevil merged 3 commits intomasterfrom
dev/isaevil/fix_coverage

Conversation

@isaevil
Copy link
Contributor

@isaevil isaevil commented Jul 30, 2021

In scope of this patch TBB_BUILD and TBBMALLOC_BUILD options were added. It was done to support scenarios when we are testing without tbbmalloc. It allows us to cover place where we fail to link with tbbmalloc and start using std_cache_aligned_allocate/deallocate.

Signed-off-by: Ilya Isaev ilya.isaev@intel.com

@isaevil isaevil marked this pull request as ready for review July 30, 2021 10:27
@isaevil isaevil force-pushed the dev/isaevil/fix_coverage branch from b3d83c0 to b156879 Compare July 30, 2021 10:34
@isaevil isaevil self-assigned this Jul 30, 2021
@isaevil isaevil force-pushed the dev/isaevil/fix_coverage branch from b156879 to 18db72e Compare July 30, 2021 13:22
Copy link

@pavelkumbrasev pavelkumbrasev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code part looks fine.

@AlexVeprev
Copy link
Contributor

Please provide the motivation for new options in the description.

isaevil and others added 3 commits August 2, 2021 09:40
Signed-off-by: Ilya Isaev <ilya.isaev@intel.com>
Signed-off-by: Ilya Isaev ilya.isaev@intel.com

Co-authored-by: Alexey Veprev <alexey.veprev@intel.com>
Signed-off-by: Ilya Isaev <ilya.isaev@intel.com>
@isaevil isaevil force-pushed the dev/isaevil/fix_coverage branch from 27907dd to c7e36e4 Compare August 2, 2021 06:50
@isaevil isaevil requested a review from AlexVeprev August 2, 2021 07:54
endif()
if (APPLE)
message(STATUS "TBBBind build targets are disabled due to unsupported environment")
else()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is add_subdirectory(src/tbbbind) one line below.

We've discussed that normally tbbbind is skipped due to lack of hwloc paths, but take into account auto-detection of hwloc using pkg-config: https://github.com/oneapi-src/oneTBB/blob/357c9b27fa84eaf748bc556585c26995c446eceb/cmake/hwloc_detection.cmake#L53

User still can force disabling hwloc detection through TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH. It's just FYI.

@isaevil isaevil merged commit 8584c45 into master Aug 9, 2021
@isaevil isaevil deleted the dev/isaevil/fix_coverage branch August 9, 2021 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants