diff --git a/contrib/libc-headers/README.md b/contrib/libc-headers/README.md new file mode 100644 index 00000000000..612a315b975 --- /dev/null +++ b/contrib/libc-headers/README.md @@ -0,0 +1,14 @@ +## How it was created? + +``` +ninja -t deps | grep -P '^ /' | sort | uniq | grep '/usr/include/' | grep -vF 'c++' | grep -vP 'llvm|unicode|readline|hs' | sed 's/ \/usr\/include\///' | xargs -I{} cp -r /usr/include/{} ~/ClickHouse/contrib/libc-headers/{} +``` + +``` +$ ldd --version +ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27 +``` + +## Why do we need this? + +These files are needed for more consistent builds.