[PATCH] D55269: [CUDA][OpenMP] Fix nvidia-cuda-toolkit detection on Debian/Ubuntu

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 4 08:25:46 PST 2018


Hahnfeld added a comment.

Ah, this packaging style is a never ending source of fun... Adding `isUbuntu()` seems fine to solve the first issue.

For the second point I'd instead propose to fix `FindCuda.cmake`: It's wrong to report `/usr` if the shim tree is in `/usr/lib/cuda`. @sylvestre.ledru what's your take on this, looking from a Debian perspective?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55269/new/

https://reviews.llvm.org/D55269





More information about the cfe-commits mailing list