llvm / llvm/Polygeist

Memory run out problem

Open
#316 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
624
Forks
170
PR merge metrics
No merged PRs in 30d

Description

When I tried to build this repo as the `README` file, it always use out all of my memory. Even When I allocate another 100GB swapfile when ninja is using all the cores to run the build. For this kind of issue, I highly recommand here for anyone who wants to build this to speicify `clang` as the compiler using `-DCMAKE_C_COMPILER` and `-DCMAKE_CXX_COMPILER` and `lld` as the linker. Hope this will help.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the README build instructions and identify where the repository build command is documented. Add guidance to use clang through CMAKE_C_COMPILER and CMAKE_CXX_COMPILER and lld as the linker, then verify that the instructions clearly address the reported memory usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.