Commit Graph
16 Commits
Author SHA1 Message Date
David Spickett 100536f249 Fix include path for Armv7-A compilers using gcc 12.2.0 sysroot (#7247) 2025-01-03 17:02:10 +01:00
Ofek 0703fef51b Suggestion to update llvm-cxxfilt logic (#6451)
(1) Restore explicit specification of
`group.*.demangler=/opt/compiler-explorer/clang-trunk/bin/llvm-cxxfilt`
for all clang compiler groups, except bpf and windows.
(2) Make the ClangCompiler` constructor adjust the path of
`llvm-cxxfilt`, so that a compiler-local version is preferred, if one
exists.
(3) Pass-by update: bump the version of llvmDisassembler from clang-14
to clang-18.1.

Hopefully this addresses all demangling issues known so far.
2024-05-08 22:49:21 +03:00
Ofek 0cdfa06d2f Allow overriding clang demangler from properties (#6228)
Specifically bpf uses group.bpf.demangler (gcc demangler)

This fix continues #6114.
2024-03-16 09:15:57 +02:00
Ofek b59e7a91c4 Implement #4929: replace c++filt with clang-trunk llvm-cxxfilt (#6080)
`c++filt` was taken sometimes from gcc-13.1.0 and sometimes from
gcc-snapshot, I took `llvm-cxxfilt` from just clang-trunk.

This PR is _just for clang C/C++ compilers_. Maybe it's better for some
other (non C/C++) llvm based compilers? Suggestions are welcome.
2024-02-09 18:32:18 +01:00
David Spickett 123c7bce0c Sort Armv8 all architectural features clang below trunk version (#5675)
Fixes #5641

The "all architectural features" compiler is trunk, plus a whole bunch
of `-march` flags to enable the kitchen sink for AArch64. Which is
useful for some, but as pointed out in the issue, not representative of
what the average clang on the average system will produce. So plain
trunk is a better first entry for this category.

To fix this, I've changed the semver value so that we will have this
order:
```
(trunk)
(all architectural features, trunk)
17.0.1
<more versions...>
```

`(trunk)` is not treated as a valid semver so it's sorted by the string
value. So the shorter `(trunk)` was shown before the longer `(trunk,
all...`.

This is why the other special compiler versions sort as they do, because
they are `(` then something < `t` (and I didn't find any special
workarounds either).

Putting `trunk` at the end fixes this issue and will not break existing
URLs since the name of the compiler settings file entry (e.g.
`armv8-full-clang-trunk` for C++) has not changed.
2023-10-30 14:54:15 +01:00
Patrick Quist 4481bd0f3a Show up to date version for trunk compilers (#5571) 2023-10-15 15:56:43 +02:00
Anastasia Stulova 4ad9eec1df Clean up OpenCL compilation into SPIR-V. (#4375) 2023-01-23 20:34:27 -06:00
Anastasia Stulova 0e8f5dc400 Add clspv compiler to C++ for OpenCL.
Since clspv compiler supports C++ for OpenCL add this
compiler mode to the language just the same way as it's
done for OpenCL C.

Note that the use of C++ for OpenCL with clspv at present
requires extra flags: "-cl-std=CLC++" and
"-inline-entry-points".
2022-12-01 17:53:00 +00:00
Anastasia Stulova 30c2420ba8 Add clang-14 and clang-15 to OpenCL (#4370)
Update C++ for OpenCL and OpenCL C with
clang-14 and clang-15 compilers.
2022-11-30 19:49:24 +01:00
David Spickett d184d99f37 Update feature set for "all architectural features" armv8-a clang (#4217) 2022-11-17 13:01:24 +01:00
David Spickett 6757b0376a Correct gcc-toolchain for "all architectural features" armv8 clang (#4158)
Fixes #4156

Previously these were all set to use an x86_64 toolchain which clearly
isn't right. This lead to things like uintptr_t being smaller than
void*.

Use the same toolchain and sysroot for the "all architectural features"
as for the rest of the configurations.

This also changes the -target to "gnu" not "android" to match the
new settings.

Move all trunk Arm and AArch64 clangs to GCC 12.2.0 sysroot

This includes trunk, trunk with assertions and trunk with
all architectural features.

A newer sysroot is more likely to have the supporting
features needed for new architectural features in these
trunk builds.
2022-10-31 10:36:03 +01:00
Rubén Rincón Blanco 57ec09a7d2 Fixes OpenCLs defaultCompilers to (prob.) intended ones (#3381)
* Fix OpenCLs default compilers to intended ones. Adds check in script

* Adds config check script to pre-commit hook
2022-02-19 21:33:16 +01:00
Anastasia Stulova a9162cfbd0 Added clang-13 to OpenCL and improved compilation speed. (#3158)
Added clang-13 to OpenCL C and C++ for OpenCL.

Improved compilation speed by using '-fdeclare-opencl-builtins'
on the newer clang versions where applicable.
2021-12-06 22:52:49 -06:00
Jason ZhengandPatrick Quist d103b7f362 Add support for generating SPIR-V assembly from OpenCL C and C++ for OpenCL (#2940)
* Add support for generating SPIR-V assembly from OpenCL C and C++ for OpenCL
* Update cpp_for_opencl.amazon.properties
* Update openclc.amazon.properties

Co-authored-by: Patrick Quist <partouf@gmail.com>
2021-10-04 21:43:07 -05:00
Jason Zheng 1ad589bbb0 Add Clang assertions trunk for OpenCL C and C++ for OpenCL (#2851) 2021-08-25 07:12:41 -05:00
Jason Zheng 18a03e5577 Add C++ for OpenCL language (#2771) 2021-07-13 09:24:13 -05:00