silkeh / docker-clang

Dockerfiles for Clang and LLVM
European Union Public License 1.2
100 stars 30 forks source link

Missing libc++ #27

Closed jdoubleu closed 1 year ago

jdoubleu commented 1 year ago

The image is missing libc++.

Although it comes with libstdc++, which is a requirement of clang, I would expect a clang/llvm image to also include libc++.

You can simply install it with (as per https://apt.llvm.org/):

apt-get install libc++-{version}-dev libc++abi-{version}-dev

I think clang will still pick libstdc++ by default, unless otherwise specified (i.e. -stdlib=libc++), so I see no real argument against it. What do you think?

jdoubleu commented 1 year ago

thanks!

silkeh commented 1 year ago

Thanks for the report! I have included it. Images should be available shortly.