#flang

MattJohnsmattjohns
2025-03-17

And today I learned that is real, a FORTRAN compiler.

N-gated Hacker Newsngate
2025-03-12

🚀🎉 Huzzah, the earth-shattering is here: "flangnew" is now just "flang"! 🎨 It's a monumental leap for humanity, akin to swapping your mom's spaghetti sauce recipe with *the exact same recipe*. Expect a 33-minute epic saga on how this name change will revolutionize ... or not. 🙄👾
blog.llvm.org/posts/2025-03-11

mgorny-nyan (on) :autism:🙀🚂🐧mgorny@pol.social
2025-03-11

Wygląda na to, że ktoś stara się, żeby Flanga dało się skompilować. No wiecie, jak ktoś nie ma po 16G RAM-u na każdy proces kompilatora.

github.com/llvm/llvm-project/p

#LLVM #Flang

mgorny-nyan (he) :autism:🙀🚂🐧mgorny@treehouse.systems
2025-03-11

FYI, someone's actually putting an effort to try to make #Flang compileable. You know, without needing 16G RAM for a single compiler job.

github.com/llvm/llvm-project/p

#LLVM

mgorny-nyan (he) :autism:🙀🚂🐧mgorny@treehouse.systems
2025-02-09

Not that I'm promising anything but I've just sent the final patch to fix building #Flang on #Gentoo:

github.com/llvm/llvm-project/p

#LLVM #Fortran

mgorny-nyan (on) :autism:🙀🚂🐧mgorny@pol.social
2025-02-09

Nie, żebym coś obiecywał, ale właśnie wysłałem ostatnią łatkę, która powinna naprawić budowanie Flanga na #Gentoo:

github.com/llvm/llvm-project/p

#LLVM #Flang #Fortran

mgorny-nyan (on) :autism:🙀🚂🐧mgorny@pol.social
2024-12-22

Fajne rzeczy dzieją się z #LLVM w #Gentoo:

1. Już o tym wspominałem, ale wszystkie paczki teraz siedzą w llvm-*/, więc łatwiej je znaleźć.
2. Wrzuciłem llvm-runtimes/offload, przywracając obsługę offloadowania #OpenMP (dla 19.1.6 wzwyż).
3. Wrzuciłem llvm-core/mlir, korzystając ze świeżutkiej biblioteki dynamicznej (dostępne w najnowszym snapshocie 20.x, do 19.x raczej nie wejdzie już).
4. Przy okazji zacząłem pracować nad Flangiem, ale nic nie obiecuję. Chciałbym chociaż na poziomie projektu wprowadzić obsługę biblioteki dynamicznej MLIR-a.
5. Wysłałem łatki do wsparcia samodzielnego budowania #ClangIR, więc jak wszystko dobrze pójdzie, od pierwszego dnia będzie nam działało.
6. Na przegląd poszła nowa eclass llvm-r2, ze znacznie lepszym wsparciem kompilacji skrośnej. public-inbox.gentoo.org/gentoo
7. Powoli też pracuję nad poprawą wsparcia kompilacji skrośnej w samych paczkach LLVM, ale nie wiem, kiedy skończę. Chciałbym chociaż wyeliminować konieczność budowania drugiej pełnej kopii LLVM i Clanga na CBUILD, tylko po to, by skompilować Clanga.

#MLIR #Clang #Flang

mgorny-nyan (he) :autism:🙀🚂🐧mgorny@treehouse.systems
2024-12-22

Some recent #LLVM goodies in #Gentoo:

1. Well, I've said that already but all packages are now in llvm-*/, so they're easier to find.
2. I've added llvm-runtimes/offload, which restores the offloading functions of #OpenMP (available in 19.1.6+).
3. I've added llvm-core/mlir, now that it provides a proper dylib to link to (available in the most recent 20.x snapshot, no plans to backport to 19.x).
4. I've started working on #Flang too, but no promises. At the very least, I'd like to make it support #MLIR dylib upstream.
5. I've sent patches for standalone build support in #ClangIR, so hopefully it'll be ready for integration when it lands in mainstream.
6. I've sent a new llvm-r2 eclass for review, now with much cleaner support for cross-compilation scenarios. public-inbox.gentoo.org/gentoo
7. I'm also slowly working on improving cross-compilation support for LLVM packages themselves, but no ETA on this. At the very least, I'd like to remove the necessity of building another complete copy of LLVM+Clang for CBUILD to compile #Clang.

Anupam 🇮🇳《ミ》λ≡haskman@functional.cafe
2024-11-12

Found a very interesting #Chess variant called #Flang. It has only a handful of tightened up rules and the gameplay is great!

Jason Bowen 🇺🇦jbowen@mast.hpc.social
2024-08-30

@rofirrim Don't see enough #flang posts

Roger Ferrer Ibáñezrofirrim@mastodon.world
2024-08-30

Debugging flang in gdb be like.

#flang #gdb #debugging

Screenshot of Linux 'htop' application showing that gdb is using about 15GB of memory while debugging the LLVM's Fortran front-end 'flang'.
Tom Haywardhattom
2024-08-14

@fclc As of today, I can compile and link our code with -new 🎉.
Running crashes at the first call to `omp_get_num_procs()`, but I can deal with that later.

(FAO @jplehr )

2024-07-18

#Flang-New can officially compile the alpha branch of our primary in house library 🙌 🎉

Roger Ferrer Ibáñezrofirrim@mastodon.world
2023-05-26

#flang (the #Fortran #LLVM front-end) is an amazing piece of software but it is built on a heavy piece of C++ infrastructure that is very resource hungry to compile.

I am a bit worried this is an actual deterrent for contributions and it is unintentionally gatekeeping flang to large organisations that can access to big hardware.

Building a modern #compiler infrastructure is never trivial. Building #flang is too arduous (even in Release mode).

Building flang uses a lot of memory.
kbeylskbeyls
2022-12-19

The program and schedule for the 2023 devroom has been published! See fosdem.org/2023/schedule/track
Presentation topics include , -rt, reducing global state, , experience of a downstream project tracking newer LLVM versions, , , and C/C++ embedded toolchains.

2022-11-28

You can try #Fortran with online #compilers:
- On the Fortran Playground play.fortran-lang.org/ you can learn Fortran by compiling (and editing) various examples.
- On Godbolt Compiler Explorer godbolt.org/, you can use several versions of #GFortran, Intel #ifort, Intel #ifx and #Flang. And you can read the assembler code.
- On dev.lfortran.org/ you can play with the #LFortran compiler (development in progress) and see its intermediate representations.

Michał Górny :gentoo:mgorny@fosstodon.org
2022-11-21

Time to finally deliver my promise: I'm starting to seriously work on packaging #MLIR and #Flang for #Gentoo. For now, we're going to go with BUILD_SHARED_LIBS=ON, until upstream is ready with the final dylib API.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst