mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
document why we are patching json.hpp
This commit is contained in:
@@ -45,9 +45,8 @@ CPMAddPackage(
|
||||
URL https://github.com/nlohmann/json/releases/download/v3.9.1/include.zip
|
||||
URL_HASH SHA256=6bea5877b1541d353bd77bdfbdb2696333ae5ed8f9e8cc22df657192218cad91
|
||||
PATCH_COMMAND
|
||||
# Work around compiler bug in nvcc 11.0, see NVIDIA/NVBench#18
|
||||
${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/cmake/patches/nlohmann_json.hpp" "./include/nlohmann/json.hpp"
|
||||
|
||||
|
||||
)
|
||||
|
||||
# Development branch:
|
||||
|
||||
@@ -8761,6 +8761,7 @@ if no parse error occurred.
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
// Work around compiler bug in nvcc 11.0, see NVIDIA/NVBench#18
|
||||
#if defined(__NVCC__) && \
|
||||
__cplusplus >= 201703L && \
|
||||
__CUDACC_VER_MAJOR__ == 11 && \
|
||||
|
||||
Reference in New Issue
Block a user