[cfe-users] libcxx.llvm.org linux build instructions unclear

Jeffrey Walton noloader at gmail.com
Wed Jul 9 10:50:46 PDT 2014


On Wed, Jul 9, 2014 at 11:42 AM, Marshall Clow <mclow.lists at gmail.com> wrote:
> I would be happy to commit better instructions to the web site (aka “patches
> welcome”)
>
> This is how I build libc++ with cmake (on Mac OS, not Linux)
>
> LLVM_BUILD  is a directory where my builds go
> LIBCXX is where libc++ is checked out
>
> # Set up cmake build
>
> cd $LLVM_BUILD
> rm -rf libcxx-cmake-build ; mkdir libcxx-cmake-build ; cd libcxx-cmake-build
> TRIPLE=-apple- CXX=$LLVM_BIN/clang++ CXX=$LLVM_BIN/clang++ cmake
> -DCMAKE_BUILD_TYPE=Release $LIBCXX
>
> # build libcxx with CMake
> cd $LLVM_BUILD/libcxx-cmake-build
> make -j 4
>...

Where is LLVM_BIN? Would it be /usr/bin or /usr/local/bin/?




More information about the cfe-users mailing list