-
Notifications
You must be signed in to change notification settings - Fork 239
Open
Description
When I compile a program using CMake, the target that links directly to clBLAS builds, but anything that then links to that target fails because:
make[2]: *** No rule to make target '/opt/AMDAPPSDK-3.0/lib/x86_64/libOpenCL.so', needed by [target]. Stop
The offending line appears in clBLASTargets-release.cmake when the concrete path to the AMD APP SDK is set. Removing that path allows the compilation to succeed.
We could remove that path or substitute in ${OpenCL_LIBRARY}
, but I think the real goal should be to move towards a Modern CMake approach where targets, not variables, are defined as this is best-practice. Something like clBLAS::clBLAS
rather than the variables.
Metadata
Metadata
Assignees
Labels
No labels