Skip to content

compile error when compile libc #11

Open
@MayhXiaodi

Description

@MayhXiaodi

I build my project use:
cmake -G "Unix Makefiles" ../llvm \

          -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;**libc**;libcxx;libcxxabi;lld"        \

          -DLLVM_BUILD_EXAMPLES=ON -DLLVM_TARGETS_TO_BUILD="RISCV"                              \

          -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON                                 \

          -DLLVM_DEFAULT_TARGET_TRIPLE="riscv64-unknown-linux-gnu"                                           \

          -DCMAKE_INSTALL_PREFIX=/home/mingjun/opt/rvv-llvm

but when compile, a fatal error:
[ 53%] Building CXX object projects/libc/utils/HdrGen/CMakeFiles/obj.libc-hdrgen.dir/PublicAPICommand.cpp.o
/home/mingjun/work/rvv-llvm/rvv-llvm/libc/utils/HdrGen/PublicAPICommand.cpp:11:10: fatal error: utils/LibcTableGenUtil/APIIndexer.h: No such file or directory
11 | #include "utils/LibcTableGenUtil/APIIndexer.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I would like to ask, have you encountered this problem when compiling?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions