swh:1:snp:3cba5856b0ddc3feab6c3c2d096d614b02c883ec
Raw File
Tip revision: d421274e3e11a0e6480358faa8a8e5cf48d7b3c2 authored by Brad King on 15 July 2020, 11:19:20 UTC
CMake 3.18.0
Tip revision: d421274
no_runtime.cmake
execute_process(COMMAND ${DUMP_COMMAND} ${DUMP_ARGS} ${TEST_LIBRARY_PATH}
  RESULT_VARIABLE RESULT
  OUTPUT_VARIABLE OUTPUT
  ERROR_VARIABLE ERROR
)

if(NOT "${RESULT}" STREQUAL "0")
  message(FATAL_ERROR "${DUMP_COMMAND} failed [${RESULT}] [${OUTPUT}] [${ERROR}]")
endif()

if(NOT "${OUTPUT}" MATCHES "(__cuda)")
  message(FATAL_ERROR
  "not missing cuda device symbols, static runtime linking was used.")
endif()
back to top