Skip to content

[BUG] CMake build flag DISABLE_OPENMP doesn't actually disable OpenMP #1322

@robertmaynard

Description

@robertmaynard

Describe the bug
The OpenMP package is searched for unconditionally on https://github.com/rapidsai/cuvs/blob/branch-25.10/cpp/CMakeLists.txt#L585 and therefore enabling DISABLE_OPENMP doesn't actually do anything

Steps/Code to reproduce bug
Build with DISABLE_OPENMP enabled, and run ldd on the generated libcuvs.so. You will still see an openmp dependency

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions