[LLVMbugs] [Bug 20936] New: bits/c++config.h will be installed incorrect directory by CMake build

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 14 00:16:14 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20936

            Bug ID: 20936
           Summary: bits/c++config.h will be installed incorrect directory
                    by CMake build
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: kikairoya+llvm at gmail.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

as of trunk at 210577, bits/c++config.h (or other bits/*) will be installed
to $prefix/include/c++/v1/* but should be $prefix/include/c++/v1/bits/*.

build with:

-------------------------------------
svn co 'https://llvm.org/svn/llvm-project/libcxx/trunk' libcxx
mkdir b_libcxx; cd b_libcxx
export CC=/usr/local/gcc-4.8.3/bin/gcc
export CC=/usr/local/gcc-4.8.3/bin/g++
cmake -G "Unix Makefiles" -DLIBCXX_CXX_ABI=libsupc++
-DLIBCXX_LIBSUPCXX_INCLUDE_PATHS="/usr/local/gcc-4.8.3/include/c++/4.8.3;/usr/local/gcc-4.8.3/include/c++/4.8.3/x86_64-linux-gnu)"
-DCMAKE_INSTALL_PREFIX=/usr/local/llvm-head
  ../libcxx
make
sudo make install
-------------------------------------

results:

$ ls /usr/local/llvm-head/include/c++/v1/bits
ls: cannot access /usr/local/llvm-head/include/c++/v1/bits: No such file or
directory

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140914/49bbf0d7/attachment.html>


More information about the llvm-bugs mailing list