Skip to content

Build failed with CMAKE_BUILD_TYPE=Debug #9

@listenlink

Description

@listenlink

Hi,

I tried on Intel OCL only platform, and found that from commit f1a636f the master branch will build failed with CMAKE_BUILD_TYPE=Debug but can pass with Release or RelWithDebInfo, looks cause by introduced with cublas libraries, the build errors show belw:

../lib/libisaac.so: undefined reference to `cublasGetStream_v2'
../lib/libisaac.so: undefined reference to `cublasSetStream_v2'
collect2: error: ld returned 1 exit status
tests/CMakeFiles/test-fusion.dir/build.make:95: recipe for target 'tests/test-fusion' failed
make[2]: *** [tests/test-fusion] Error 1
CMakeFiles/Makefile2:1608: recipe for target 'tests/CMakeFiles/test-fusion.dir/all' failed
make[1]: *** [tests/CMakeFiles/test-fusion.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
../lib/libisaac.so: undefined reference to `cublasGetStream_v2'
../lib/libisaac.so: undefined reference to `cublasSetStream_v2'
collect2: error: ld returned 1 exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions