# AMD AOCC compiler news

**URL:** <https://fortran-lang.discourse.group/t/amd-aocc-compiler-news/10924>\
**Category:** Announcements\
**Created:** [May 23, 2026, 11:45am UTC](https://fortran-lang.discourse.group/t/amd-aocc-compiler-news/10924 "2026-05-23T11:45:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rwmsu](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@rwmsu](https://fortran-lang.discourse.group/u/rwmsu)\
**Post date:** [May 23, 2026, 11:45am UTC](https://fortran-lang.discourse.group/t/amd-aocc-compiler-news/10924/1 "2026-05-23T11:45:49Z")

</div>

FYI

[Version 5.2 of the AMD AOCC compiler](https://www.amd.com/en/developer/aocc.html) has been released. A DO CONCURRENT parallelization feature was added in Fortran. Also, the next major release, Version 6, will be based on llvm-flang and not “classic” flang like current versions.

---

<div class="post-metadata">

**Author:** ![jorgeg](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/jorgeg/32/6835_2.png) [@jorgeg](https://fortran-lang.discourse.group/u/jorgeg)\
**Post date:** [May 25, 2026, 10:45am UTC](https://fortran-lang.discourse.group/t/amd-aocc-compiler-news/10924/2 "2026-05-25T10:45:19Z")

</div>

@Ali do you know if you can include the aocc compiler into [setup-fortran](https://github.com/fortran-lang/setup-fortran) with conda? it would be pretty cool !

---

<div class="post-metadata">

**Author:** ![Ali](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/ali/32/751_2.png) [@Ali](https://fortran-lang.discourse.group/u/Ali)\
**Post date:** [May 25, 2026, 2:34pm UTC](https://fortran-lang.discourse.group/t/amd-aocc-compiler-news/10924/3 "2026-05-25T14:34:16Z")

</div>

@jorgeg yes, good idea! AOCC is included now in [setup-fortran-conda](https://github.com/gha3mi/setup-fortran-conda). Here is the latest status table:

| OS | Compiler | Version | fpm | cmake | meson |
| --- | --- | --- | --- | --- | --- |
| ubuntu 24.04 | `amdflang` | 5.2.0 | 0.13.0 ✅ | 4.3.3 ✅ | 1.11.1 ✅ |
| ubuntu 24.04 | `flang-new` | 22.1.5 | 0.13.0 ✅ | 4.3.3 ✅ | 1.11.1 ✅ |
| ubuntu 24.04 | `gfortran` | 15.2.0 | 0.13.0 ✅ | 4.3.3 ✅ | 1.11.1 ✅ |
| ubuntu 24.04 | `ifx` | 2026.0.0 | 0.13.0 ✅ | 4.3.3 ✅ | 1.11.1 ✅ |
| ubuntu 24.04 | `lfortran` | 0.63.0 | 0.12.0 ✅ | 4.3.3 ✅ | — |
| ubuntu 24.04 | `nvfortran` | 26.3 | 0.13.0 ✅ | 4.3.3 ✅ | 1.11.1 ✅ |
| macos 15 | `gfortran` | 15.2.0 | 0.13.0 ✅ | 4.3.3 ✅ | 1.11.1 ✅ |
| macos 15 | `lfortran` | 0.63.0 | 0.12.0 ✅ | 4.3.3 ✅ | — |
| windows 2025 | `flang-new` | 22.1.4 | 0.13.0 ✅ | 4.3.3 ✅ | 1.11.1 ✅ |
| windows 2025 | `gfortran` | 15.2.0 | 0.13.0 ✅ | 4.3.3 ✅ | 1.11.1 ✅ |
| windows 2025 | `ifx` | 2026.0.0 | 0.12.0 ✅ | 4.3.3 ✅ | 1.11.1 ✅ |
| windows 2025 | `lfortran` | 0.54.0 | 0.12.0 ✅ | 4.3.3 ✅ | — |

---

<div class="post-metadata">

**Author:** ![zaikunzhang](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/zaikunzhang/32/785_2.png) [@zaikunzhang](https://fortran-lang.discourse.group/u/zaikunzhang)\
**Post date:** [May 26, 2026, 4:23pm UTC](https://fortran-lang.discourse.group/t/amd-aocc-compiler-news/10924/4 "2026-05-26T16:23:40Z")

</div>

> [@rwmsu](#):
>
> the next major release, Version 6, will be based on llvm-flang and not “classic” flang like current versions.

What will be its relation with [AOMP](https://github.com/ROCm/aomp/tree/aomp-dev), “an open source Clang/LLVM based compiler” by AMD (it provides `flang` under the name `amdflang`)?

---

<div class="post-metadata">

**Author:** ![rwmsu](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@rwmsu](https://fortran-lang.discourse.group/u/rwmsu)\
**Post date:** [May 26, 2026, 4:38pm UTC](https://fortran-lang.discourse.group/t/amd-aocc-compiler-news/10924/5 "2026-05-26T16:38:09Z")

</div>

My understanding is the AOMP compilers are a development branch targeting OpenMP on Radeon GPU’s based on LLVM. It is part of the [AMD Open Source Stack (AKA ROCm)](https://www.amd.com/en/products/software/rocm.html) for GPU computation. AOCC targets AMD Zen processors but will (hopefully) support GPU offloading at some time.

---

<div class="post-metadata">

**Author:** ![Ali](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/ali/32/751_2.png) [@Ali](https://fortran-lang.discourse.group/u/Ali)\
**Post date:** [May 27, 2026, 4:23pm UTC](https://fortran-lang.discourse.group/t/amd-aocc-compiler-news/10924/6 "2026-05-27T16:23:35Z")

</div>

I’m a bit confused now ;). I used `amdflang` as a wrapper for AOCC because I saw that `amdflang` is supported in `fpm` : [fpm/src/fpm\_compiler.F90 at main · fortran-lang/fpm · GitHub](https://github.com/fortran-lang/fpm/blob/main/src/fpm_compiler.F90)

However, I’m no longer sure whether this refers to AOCC or AOMP, so I’d like to make sure I’m using the correct compiler identifier. Any suggestions?

---

<div class="post-metadata">

**Author:** ![rwmsu](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@rwmsu](https://fortran-lang.discourse.group/u/rwmsu)\
**Post date:** [May 27, 2026, 9:04pm UTC](https://fortran-lang.discourse.group/t/amd-aocc-compiler-news/10924/7 "2026-05-27T21:04:38Z")

</div>

AOCC is the standard “classic flang” plus clang/clang++ and is “tuned” for AMD Zen family processors but should work for other AMD64 processors (Intel). Its based on a LLVM 17 release (kinda old). AOMP is a development branch based on the most recent LLVM (I think 22 with 23 in the works). As best as I can tell it is where AMD does their development on OpenMP for Radeon GPUs. I presume that it will support offloading to Radeon GPUs via OpenMP but don’t quote me on it. I think AMDs AOMP work will filter back into mainline LLVM flang at some point. For now, unless you really want to play around with OpenMP on a Radeon GPU, AOCC is the release you want to install if you have a Zen processor.
