Skip to content

Generic fixes

  • Fix OSX compilation [mostly CUDA related, use CUDA specific way to add cublas/curand/cusparse]
  • Fix Linux compilation with dummy_install , when libraries are not found
  • Added dummy_install function in cmake/Modules/FindCommon.cmake

Example use of dummy_install function:

message("** Skipping '${TARGET}': no <LIBRARY/FRAMEWORK>")
dummy_install(${TARGET} "<LIBRARY/FRAMEWORK>")

for targets that can't be built. Upon executing make install ,the following message will be printed:

TARGET_NAME can only be built with <LIBRARY/FRAMEWORK>.

This won't generate build failure, and allow confutation of building process.

Merge request reports

Loading