pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: building lang/llvm with pkgsrc clang
> LLVM has its own C++ library named libc++ (aka libcxx). But pkgsrc
> only builds clang with libc++ on SunOS:
>
> # Enable full LLVM suite on SunOS
> .if ${OPSYS} == "SunOS"
> .include "../../lang/compiler-rt/buildlink3.mk"
> .include "../../lang/libcxx/buildlink3.mk"
> .include "../../lang/libcxxabi/buildlink3.mk"
> .include "../../lang/libunwind/buildlink3.mk"
> CMAKE_ARGS+= -DCLANG_DEFAULT_RTLIB:STRING="compiler-rt"
> CMAKE_ARGS+= -DCLANG_DEFAULT_CXX_STDLIB:STRING="libc++"
> .endif
>
> You can edit the Makefile to remove that conditional (.if ${OPSYS} ==
> "SunOS") and Clang will be built with libc++.
Unfortunately, that fails:
/var/work/pkgsrc/lang/compiler-rt/work/compiler-rt-13.0.1.src/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp:67:22: fatal error: sys/ipmi.h: No such file or directory
Home |
Main Index |
Thread Index |
Old Index