clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL
Apache License 2.0
843 stars 237 forks source link

Detect CBLAS when building the client #298

Closed ghisvail closed 7 years ago

ghisvail commented 7 years ago

Builds with BUILD_CLIENT=ON and BUILD_TESTS=OFF fail because CBLAS detection is only performed when BUILD_TESTS is set to ON. This patch addresses this issue by also detecting CBLAS when BUILD_CLIENT is set to ON.

kknox commented 7 years ago

@ghisvail This PR is failing build on windows because of the 'required' tag on find_package netlib. It's actually not needed on windows.

I made a new branch in my fork that should work across platforms; would you mind seeing if it fixes your problem?