https://llvm.org/bugs/show_bug.cgi?id=24144

            Bug ID: 24144
           Summary: libcxx_tsan and libcxx_msan-with-call get installed
                    with bad prefixes
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

To reproduce:

In /tmp/foo:

$ svn export http://llvm.org/svn/llvm-project/llvm/trunk llvm
$ svn export http://llvm.org/svn/llvm-project/compiler-rt/trunk
llvm/projects/compiler-rt
$ svn export http://llvm.org/svn/llvm-project/libcxx/trunk llvm/projects/libcxx
$ svn export http://llvm.org/svn/llvm-project/libcxxabi/trunk
llvm/projects/libcxxabi
$ svn export http://llvm.org/svn/llvm-project/cfe/trunk llvm/tools/clang
$ mkdir build && cd build
$ CC=clang CXX=clang++ cmake -GNinja ../llvm
$ DESTDIR=/tmp/install ninja install

Now look in /tmp/install, it will contain files such as:
/tmp/install/tmp/foo/build/projects/compiler-rt/lib/tsan/libcxx_tsan/include/c++/v1/limits

That's not good, because the installed files are what becomes part of release
tarballs.

>From what I understand, these two special libcxx builds are only used for
testing, so not intended to be part of the overall install target. That's why
they get a prefix inside the object dir. But then DESTDIR ruins it by getting
them installed somewhere else.

I wonder if we can suppress DESTDIR somehow when installinb libcxx_tsan.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to