llvm/clang compile error with Memory exhausted

前端 未结 2 1821
醉梦人生
醉梦人生 2021-02-03 23:38

I am trying to build the latest llvm/clang code on my ubuntu 14.04 vm, which has 2GB memory.

What I did is a normal configure/make procedure, without any parameters to t

2条回答
  •  无人及你
    2021-02-04 00:06

    You need to do one of the following:

    1. Add more RAM to your VM, or
    2. Use gold instead of ld as a linker, or
    3. Build Release(-DCMAKE_BUILD_TYPE=Release), not Debug build

提交回复
热议问题