Skip to content

llvm-config --src-root should print canonical path #4541

@llvmbot

Description

@llvmbot
Bugzilla Link 4169
Resolution WORKSFORME
Resolved on May 18, 2019 12:45
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @jryans

Extended Description

llvm-config --src-root returns

/Users/fawzi/d/ldc/llvm-build/../llvm/

in my configuration, and that becomes invalid if the build directory is deleted... even if the src directory is still present.
It is not difficult to keep a directory, but returning a canonicalized path would be better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tagworksformeResolved as "works for me"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions