Skip to content

"configure --use-cuda=no" option is not respected #2842

Closed
@chuanma

Description

@chuanma

I'm trying to build kaldi on a GPU server, but I'd like to turn off CUDA by adding --use-cuda=no. However, it failed with the following error message.

Note that I didn't make cub under the tools/ folder because I was creating a build for Android.

CXX=clang++ ./configure --static --use-cuda=no --openblas-root=/opt/openblas_install/arm --host=arm-linux-androideabi --android-incdir=/opt/android-toolchain-home/arm/sysroot/usr/include/
Configuring KALDI to use OPENBLAS
Configuring ...
Checking compiler arm-linux-androideabi-clang++ ...
***configure failed: Could not find file /cub/cub.cuh:
  you may not have installed cub. See ../tools/INSTALL ***

I think this bug was introduced in a recent PR, and I have a fix (see my comment link below).

741b75b#r31325437

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