Alexey Veprev
Alexey Veprev
``` -- HWLOC target HWLOC::hwloc_1_11 doesn't exist. The tbbbind target cannot be created -- HWLOC target HWLOC::hwloc_2 doesn't exist. The tbbbind_2_0 target cannot be created -- HWLOC target HWLOC::hwloc_2_5 doesn't...
@gvollant, you may want to add `-DTBB_TEST=OFF` to skip tests build, in this case you should be able to build without errors on Ubuntu 20.04
Hmm, yes, looks like it depends on CMake version. I was able to reproduce the same failure on Ubuntu 18.04 with CMake 3.10.2. I'm investigating possible solution.
@jdumas, thank you for the idea! Removal of `COMPONENT` param doesn't help, while removal of the second `install(TARGETS ...)` helps. I assume that each `install(TARGETS ...)` call is validated separately,...
I don't think the problem in `COMPONENT`: this doesn't resolve the error (changed component in the first `install`): ```diff diff --git a/cmake/utils.cmake b/cmake/utils.cmake index ec7346f..5757981 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake...
Seems I got it. From https://cmake.org/cmake/help/latest/command/install.html: > A target may be installed more than once to different locations So, it is expected that CMake validates the second call of `install`...
The patch above is rather workaround, I'd consider another solution, we'll work on it with @isaevil.