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 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 maybe also -m and/or -v do… > > > > ulimit -Sd $(ulimit -Hd) > > > > … to set the softlimit to the hardlimit (allowed usage for > > your user). > > > > Building without debugging symbols is also a generic strategy with few > RAM > > Thanks to all for the feedback, > using the trick above allowed me to successfully build > version 17.0 of clang and llvm-mc. > > Is there a way to put that in a location so anyone who wants to try it > out can use > it on that machine? > > know that /opt/cfarm was more or less supposed to be used for that, > but on gcc220, it is completely empty... > It should be world-writable so you can just create a clang-17.0 directory there.
_______________________________________________ cfarm-users mailing list cfarm-users@lists.tetaneutral.net https://lists.tetaneutral.net/listinfo/cfarm-users