Public bug reported:

As shown in the sumary, the paths given by llvm-config-3.4 are wrong:
$ llvm-config-3.4 --src-root
/build/buildd/llvm-toolchain-3.4-3.4
$ llvm-config-3.4 --obj-root
/build/buildd/llvm-toolchain-3.4-3.4/build-llvm

$ llvm-config-3.6 --obj-root
/usr/lib/llvm-3.6/build/
$ llvm-config-3.6 --src-root
/usr/lib/llvm-3.6/build/

There is a patch that should fix this: https://anonscm.debian.org/viewvc
/pkg-llvm/llvm-toolchain/branches/3.4/debian/patches/fix-llvm-config-
obj-src-root.patch?view=markup&pathrev=1096

$ 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://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

** Affects: llvm-toolchain-3.4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1452894

Title:
  llvm-config --src-root and llvm-config --obj-root return wrong paths

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1452894/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to