Skip to content

Replace uses of __FILE__ with __FILE_NAME__ in macros #159

Open
@vyasr

Description

@vyasr

The macros that we use currently embed full paths to files. These paths are not necessarily informative, and they have a handful of issues. One is that when building conda packages we wind up embedding various fictitious paths that will not exist on the final machine where the binaries are run. Another issue is that header-only libraries will bring in paths from their source into consuming libraries (e.g. rmm paths wind up inside cudf). Instead of using __FILE__ in macros, we should use __FILE_NAME__, which only prints the filename without the path.

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