SNSystems / llvm-project-prepo

Fork of LLVM with modifications to support a program repository
26 stars 0 forks source link

Use the clang and musl include dirs when building libcxx. #172

Closed paulhuggett closed 2 years ago

paulhuggett commented 2 years ago

Set CMAKE_CXX_FLAGS explicitly when running cmake for libcxx so that we include both the clang and musl include directories. A separate switch already handles the libcxxabi includes. Explicitly disable the libcxx benchmarks: they're not necessary for the docker image. Factor out repeated use of the clang include path as $clang_include.

Some rld changes seem to have become mixed up in this code review. I don't know why :-(. Please ignore them.

paulhuggett commented 2 years ago

Abandoned. Not needed.