Closed krasznaa closed 3 months ago
As pointed out by @ivorobts, the warning in the GoogleTest build is a known LLVM + libstdc++12 issue. (https://github.com/llvm/llvm-project/issues/76515)
Luckily in our build it's only a warning, so I guess we'll live with it...
This all was primarily meant to fix some warnings that showed up while building GoogleTest with oneAPI 2024.2. Unfortunately it's exactly that issue that it doesn't fix...
I did the following:
NEW
behaviour of this policy at this time. The thing that we do in the code, that we include GoogleTest and GoogleBenchmark withEXCLUDE_FROM_ALL
, is only possible to do usingFetchContent_MakeAvailable(...)
starting with CMake 3.28. (https://cmake.org/cmake/help/latest/module/FetchContent.html#command:fetchcontent_makeavailable) And I don't want to require that as the minimum CMake version (yet).VECMEM_GOOGLETEST_SOURCE
andVECMEM_BENCHMARK_SOURCE
to allow client code to override the version of these externals used by the project.Unfortunately that last step didn't have the desired effect. :frowning: I still see:
This comes from a pretty innocent-looking piece of code in GoogleTest. (https://github.com/google/googletest/blob/v1.15.2/googletest/src/gtest.cc#L3008-L3015) So by now I'm back to suspecting soemthing going wrong in oneAPI... :thinking: