On Sat, 20 May 2023, 22:01 Pierre Muller via cfarm-users, <
cfarm-users@lists.tetaneutral.net> wrote:
>
>
> Le 18/05/2023 à 19:55, mirabilos a écrit :
> > Pierre Muller via cfarm-users dixit:
> >
> >> LLVM ERROR: out of memory
> >
> >> Is the fact that it is not possible to build clang on openbsd
Le 18/05/2023 à 19:55, mirabilos a écrit :
Pierre Muller via cfarm-users dixit:
LLVM ERROR: out of memory
Is the fact that it is not possible to build clang on openbsd a known problem?
OpenBSD tends to have somewhat restrictive ulimits by default
to limit the amount of memory an “explodi
Pierre Muller via cfarm-users writes:
>LLVM ERROR: out of memory
Building LLVM from source consumes ridiculous amounts of memory, particularly
if you build across multiple CPUs. If you're doing a parallel build you may
want to limit it to 1/2 to 2/3 of the total number of cores/CPUs/whatever.
Thanks for the tip,
there was indeed a factor three
between soft and hard limit for -d (data size)
bash-5.2 ~$ ulimit -d -S
1048576
bash-5.2 ~$ ulimit -d -H
33554432
Using your suggestion allowed me to set the soft limit to the hard limit
and this allowed at least to go past that first specific
Pierre Muller via cfarm-users dixit:
> LLVM ERROR: out of memory
> Is the fact that it is not possible to build clang on openbsd a known problem?
OpenBSD tends to have somewhat restrictive ulimits by default
to limit the amount of memory an “exploding” process can take.
For at least -d but mayb
I tried ti compile a custom clang on gcc220 test machine.
For that I used a shallow copy of the git repository
https://github.com/llvm/llvm-project.git
Followed by
cd llvm-project
mkdir build
cd build
../configure
and
gmake
which failed with this error:
[ 44%] Building AMDGPUGenAsmMat