Other LLVM and Flang

Has anybody managed to compile LLVM20 or LLVM21 port with Flang enabled? If so, did you define any flags and how much ram did you have at compilation? Is it possible to get binary package with Flang enabled or get back the separate Flang binary package? It is a bit sad that the gfortran is the only option available as binary for modern fortran...
 
Little update, I have managed to compile whole llvm from ports but I had to run 'make' few times since it had ran out of memory few times... Still, I think separation of Flang would help. Also wondering, why we are still relying on gfrotran when it comes to compiling BLAS or LAPACK on freebsd...
 
Little update, I have managed to compile whole llvm from ports but I had to run 'make' few times since it had ran out of memory few times...

How much RAM you need depends on how many cores your CPU(s) has as compiles run 1 per hardware thread.

How many cores and how much RAM do you have?

Did you turn on DEBUG in the LLVM build?
 
Back
Top