SH GCC 9.5 and 12.2 were linux-* and not supporting sh2.
We decided to change these compilers to elf-* with sh2 support.
This also causes the removal of fortran as it's not available for elf targets.
refs #94
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
The "auto NSDMI" branch has not actually fully supported
non static members in a while, as the patch was initially written
for clang 9, and I have not gotten around to fix it.
The branch now contains a number of experimentals proposals
including
* parameter pack indexing (https://isocpp.org/files/papers/D2632R0.pdf)
* magic char8_t cast function
* _ for variable names
* non trailing parameter packs
* constexpr structured bindings
* constexpr cast from void*
* And more to come
P2632 is the paper presenting the majority of these features,
and the current plan is to implement as much of it in clang as possible.
The wg21.link link will become active at publication of the paper next week.
* Add ROCm Clang and HIP to CUDA
* Always include hip/hip_runtime.h
The need to include <hip/hip_runtime.h> and/or <hip/hip_runtime_api.h>
in HIP code before using HIP features is one big difference between
HIP and CUDA. Manually adding it to the command-line here is not ideal,
but the alternative is that the CUDA sample code will be broken by
default when a HIP compiler is selected.
This is perhaps an argument for making HIP a separate language in
compiler explorer, but there's pros and cons to both approaches. I'm
not sure which approach is best, but the existing HIP support that I
built upon was based on using CUDA as the language.
* Add hip-amd to CUDA libs
* Fix id collsion and drop --offload-arch
* Drop trunk compilers
The nightly builds of ROCm Clang and vanilla Clang lack both device
libraries and the HIP library. Their ability to compile HIP code is
very limited without those, to the extent that they will not be able
to build the example code without changes.
I suspect that it's possible to fix those issues, but it may be less
confusing to drop them from the compiler list until they are fully
functional.
* Add self to CONTRIBUTORS.md
* Restore hiptrunk compiler
Put the hiptrunk compiler back how it was, so that the addition of the
HIP libraries is a purely additive change in functionality. However,
mark hiptrunk as hidden so that it is not visible by default.
Co-authored-by: Patrick Quist <partouf@gmail.com>
Add 3 configs for sh targets:
- old 4.9.4 unknown-elf (c/c++)
- 9.5 linux (c/c++/fortran)
- 12.2.0 linux (c/c++/fortran)
Old compilers were specifically requested for Dreamcast hacking.
Not enabling D as it's not functional.
fixes#94
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add Kalray's freshly tagged 4.8 and 4.9 releases.
Also cleanup the install path for these compilers + their versionning.
Kalray is using its own version for its toolchain (4.x.y) and is not
synchronized with the underlying GCC.
fixes#4066
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* Rename cppx_cppfront to cpp2_cppfront
* Add some blurb about the compiler
* Some syntax highlighting
* Better output highlighting
* Some form of line tracking and filtering
* Add several GCC 12.2.0 cross compilers
Add newly released GCC 12.2.0 for our existing cross-compilers.
Along with the update, more languages have been enabled where possible.
Tried languages C++, D, Ada, Objective-C, Objective-C++, Fortran and Go.
Updated targets: arm arm64 avr mips mips64 msp430 powerpc powerpc64 powerpc64le
s390x riscv32 riscv64 mipsel mips64el
closes#3973
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* fixup! Add several GCC 12.2.0 cross compilers
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>