<jaeger>
It's a big one, yeah. Maybe not as big as rust
<jaeger>
what kind of CPU do you have?
<ahmadraniri[m]>
old i7 with 4 Gig's RAM. it stucks at 1624/3272 buiding CXX object lib/Target/AArch64....
<ahmadraniri[m]>
it's been 2 hours now, still running...
brian|lfs has joined #crux
<ahmadraniri[m]>
I cancel it, any tips to make llvm compilation more efficient or at least minimal (for faster build) ? thanks.
brian|lfs has quit [Remote host closed the connection]
brian|lfs has joined #crux
brian|lfs has quit [Remote host closed the connection]
joacim has quit [Ping timeout: 252 seconds]
joacim has joined #crux
brian|lfs has joined #crux
brian|lfs has quit [Remote host closed the connection]
chrcav_ has joined #crux
chrcav has quit [Quit: leaving]
brian|lfs has joined #crux
brian|lfs has quit [Remote host closed the connection]
<braewoods>
does LLVM require all targets be compiled?
<braewoods>
It might be better if we could disable the non-native ones.
<braewoods>
It would cut down on compile time somewhat at least.
brian|lfs has joined #crux
<jaeger>
You could use ccache and distcc if you have other machines available to help... otherwise I can build and upload a package for you if you like
<jaeger>
(ccache for future builds, distcc for distributing work)
<ahmadraniri[m]>
<jaeger> "You could use ccache and..." <- that would be great, to be honest.
<crash_>
ahmadraniri[m]: i think there is a ccache note on the crux wiki under "how to speed up building packages" how to get started.
<ahmadraniri[m]>
<crash_> "ahmadraniri: i think there is..." <- yeah, thanks, will read that as my reference for next compile, at least my problem with llvm was solved today.
<crash_>
nice :)
<SiFuh_>
ccache is pretty cool. It doesn't speed up the initial (first) build though.
<SiFuh_>
Also if you have a lot of RAM you can use it for the work directory. I have this in fstab 'pkgmk /usr/ports/work tmpfs size=32G,defaults,noauto 0 0'. I had it set to 32 GB because of qt6.
<crash_>
does compiling in ram help a bit? it should though