Merge pull request #23 from robertmaynard/patch_nlohmann_json_to_support_cuda_11.0

Patch nlohmann json to avoid a compiler bug in nvcc 11.0
This commit is contained in:
Allison Vacanti
2021-07-09 11:49:26 -04:00
committed by GitHub
2 changed files with 8802 additions and 0 deletions

View File

@@ -44,6 +44,9 @@ CPMAddPackage(
VERSION 3.9.1
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:

File diff suppressed because it is too large Load Diff