llvm-config --src-root and llvm-config --obj-root return wrong paths
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
llvm-toolchain-3.4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
As shown in the sumary, the paths given by llvm-config-3.4 are wrong:
$ llvm-config-3.4 --src-root
/build/
$ llvm-config-3.4 --obj-root
/build/
$ llvm-config-3.6 --obj-root
/usr/lib/
$ llvm-config-3.6 --src-root
/usr/lib/
There is a patch that should fix this: https:/
$ lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04
$ apt-cache policy llvm-3.4
llvm-3.4:
Installed: 1:3.4-1ubuntu3
Candidate: 1:3.4-1ubuntu3
Version table:
*** 1:3.4-1ubuntu3 0
500 http://
100 /var/lib/