Skip to content

google benchmark: on some machines, librt is found (despite it being a unix-only library) #2816

Description

In #2780, we have added google benchmark to the build. However, on some machines,

https://github.com/google/benchmark/blob/0d98dba29d66e93259db7daa53a9327df767a415/CMakeLists.txt#L131

finds librt. To get around this, we set HAVE_LIB_RT to OFF in our cmake code, but it would be good to figure out exactly why it's found, given that it should definitely not exist (and results in a build failure):

# TRANSITION, GH-2816: on some machines, librt is found, despite it being a unix-only library
set(HAVE_LIB_RT OFF)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalThis issue is unrelated to the STL

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions