Skip to content

Commit ea387ac

Browse files
Add AOCC (AMD Optimizing C/C++ Compiler) install config
Add AOCC versions 3.2.0, 4.0.0, 4.1.0, 4.2.0, 5.0.0 and 5.1.0 to cpp.yaml only. The single tarball contains clang, clang++ and flang — no need for separate entries in c.yaml or fortran.yaml (same pattern as clang/GCC). Tarballs are XZ compressed despite the .tar extension. Two URL patterns needed: older form for ≤ 4.0, newer form for 4.1+. Closes compiler-explorer/compiler-explorer#430 🤖 Generated by LLM (Claude, via OpenClaw)
1 parent 30e9d2b commit ea387ac

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

bin/yaml/cpp.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,35 @@ compilers:
11781178
- 7.1.0
11791179
- 7.1.1
11801180
- 7.2.0
1181+
aocc:
1182+
- type: tarballs
1183+
check_exe: bin/clang++ --version
1184+
dir: aocc-{{name}}
1185+
untar_dir: aocc-compiler-{{name}}
1186+
compression: xz
1187+
url: https://download.amd.com/developer/eula/aocc-compiler/aocc-compiler-{{name}}.tar
1188+
targets:
1189+
- 3.2.0
1190+
- 4.0.0
1191+
- type: tarballs
1192+
check_exe: bin/clang++ --version
1193+
dir: aocc-{{name}}
1194+
untar_dir: aocc-compiler-{{name}}
1195+
compression: xz
1196+
url: https://download.amd.com/developer/eula/aocc/aocc-{{major}}-{{minor}}/aocc-compiler-{{name}}.tar
1197+
targets:
1198+
- name: 4.1.0
1199+
major: 4
1200+
minor: 1
1201+
- name: 4.2.0
1202+
major: 4
1203+
minor: 2
1204+
- name: 5.0.0
1205+
major: 5
1206+
minor: 0
1207+
- name: 5.1.0
1208+
major: 5
1209+
minor: 1
11811210
plugins:
11821211
clad:
11831212
path_name: clang-plugins/clad-{{name}}

0 commit comments

Comments
 (0)