compiler-explorer / compiler-explorer/compiler-explorer
[BUG]: Support switching Toolchain when using CMake
- Dominant language
- TypeScript
- Stars
- 19.1k
- Forks
- 2.1k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 67
Description
### Describe the bug
When using IDE Mode + CMake, we send some paths to CMake about where to find some tools like LD, AS and AR.
This is currently based on the initial toolchain that the compiler was configured with.
If the user chooses to switch to a different one, this is not taken into account.
Related code:
https://github.com/compiler-explorer/compiler-explorer/blob/main/lib/base-compiler.ts#L291
### Steps to reproduce
-
### Expected behavior
If the user manually submits `--gcc-toolchain=/some/other/path` via manual entry or compiler overrides, then the tool paths should change.
### Reproduction link
Not applicable
### Screenshots
Not applicable
### Operating System
_No response_
### Browser version
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.