Skip to content

Commit

Permalink
rust: add cross gcc for BPF (#4619)
Browse files Browse the repository at this point in the history
Add a cross-gcc targeting BPF.
Also do some cleaning of group names.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
  • Loading branch information
dkm committed Jan 20, 2023
1 parent d9cd9e0 commit 5ff24a1
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions etc/config/rust.amazon.properties
Expand Up @@ -159,16 +159,38 @@ compiler.nightly.semver=nightly
compiler.beta.exe=/opt/compiler-explorer/rust-beta/bin/rustc
compiler.beta.semver=beta

compiler.gccrs-snapshot.exe=/opt/compiler-explorer/gcc-gccrs-master/bin/gccrs
compiler.gccrs-snapshot.semver=(GCCRS)
compiler.gccrs-snapshot.notification=Rust GCC Frontend - Very early snapshot
group.rustgcc.compilerType=gccrs
group.rustgcc.compilers=gccrs-snapshot
group.rustgcc.groupName=Rust-GCC
# gccrs: main development for the Rust GCC Frontend (github)
# gcc: regular gcc dev/releases

group.rustgcc.compilers=&gcc86:&gcccross
group.rustgcc.supportsBinary=true
group.rustgcc.supportsBinaryObject=true
group.rustgcc.compilerType=gccrs
group.rustgcc.isSemVer=true
## needed, until its support is on-par with rustc (at some arbitrary version).
group.rustgcc.options=-frust-incomplete-and-experimental-compiler-do-not-use
group.rustgcc.notification=Rust GCC Frontend - Very early snapshot

# native compiler
group.gcc86.compilers=gccrs-snapshot
group.gcc86.groupName=x86-64 GCCRS
group.gcc86.baseName=x86-64 GCCRS

compiler.gccrs-snapshot.exe=/opt/compiler-explorer/gcc-gccrs-master/bin/gccrs
compiler.gccrs-snapshot.semver=(GCCRS)

# cross compilers
group.gcccross.compilers=&rustgccbpf
group.gcccross.supportsExecute=false

group.rustgccbpf.compilers=rustbpfgtrunk
group.rustgccbpf.groupName=BPF GCC
group.rustgccbpf.baseName=BPF gcc

compiler.rustbpfgtrunk.exe=/opt/compiler-explorer/bpf/gcc-trunk/bpf-unknown-none/bin/bpf-unknown-gcc
compiler.rustbpfgtrunk.objdumper=/opt/compiler-explorer/bpf/gcc-trunk/bpf-unknown-none/bin/bpf-unknown-objdump
compiler.rustbpfgtrunk.demangler=/opt/compiler-explorer/bpf/gcc-trunk/bpf-unknown-none/bin/bpf-unknown-none-c++filt
compiler.rustbpfgtrunk.semver=trunk

group.rustccggcc.compilers=rustccggcc-master
compiler.rustccggcc-master.exe=/opt/compiler-explorer/rustc-cg-gcc-master/bin/rustc
Expand Down

0 comments on commit 5ff24a1

Please sign in to comment.