compiling LLVM 11

i'm trying to compile llvm 11 but i'm getting this error message
 

fatal error: malloc/malloc.h: No such file or directory
 1 | #include <malloc/malloc.h>

but the header file is installed
[ include]$ ls /usr/include/malloc.h
/usr/include/malloc.h
[ include]$ rpm -qf malloc.h
glibc-headers-2.17-292.el7.aarch64


i'm using this command to compile it

CXX="c++-gcc9" \
CC="gcc-gcc9" \
cmake -G  "Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;openm
p;libc;flang;debuginfo-tests;lldb;parallel-libs;utils;clang-tools-extra" -DCMAK
E_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/$HOME/llvm_local/11.0 ../llvm


thanks

yah

More questions in this forum