Re: Question About GPU-Powered Parallel Compilation in GCC

2025-05-13 Thread Richard Biener via Gcc
On Tue, May 13, 2025 at 12:51 PM Andrew Stubbs wrote: > > On 12/05/2025 15:27, Nikhil Patil via Gcc wrote: > > Hi Richard, > > > > Thank you so much for the reply! > > > > You're absolutely right about using CPU threads. I’m just really curious > > about whether GPU acceleration could somehow be e

Re: Question About GPU-Powered Parallel Compilation in GCC

2025-05-13 Thread Andrew Stubbs
On 12/05/2025 15:27, Nikhil Patil via Gcc wrote: Hi Richard, Thank you so much for the reply! You're absolutely right about using CPU threads. I’m just really curious about whether GPU acceleration could somehow be explored for compilation, even if it’s not traditionally well-suited. I know it

Generating compile_commands.json for GCC source code

2025-05-13 Thread Yuao Ma via Gcc
Hello GCC developers, I am trying to generate a compile_commands.json file for the GCC source code. This file is very useful for various development tools and IDE integrations. Since GCC uses a Makefile-based build system, I attempted to use bear (https://github.com/rizsotto/Bear) to capture the

Re: Generating compile_commands.json for GCC source code

2025-05-13 Thread Yuao Ma via Gcc
Hi Sam, Thank you for your suggestions! Regarding the bear tool, I am currently using version 3.1.3, which is the one provided with Ubuntu 24.04. I will proceed with trying to upgrade bear to a newer version as a next step. Separately, I've noticed something unexpected with the generated compilat

Re: Generating compile_commands.json for GCC source code

2025-05-13 Thread Sam James via Gcc
Yuao Ma via Gcc writes: > Hello GCC developers, > I am trying to generate a compile_commands.json file for the GCC source code. > This file is very useful for various development tools and IDE integrations. > Since GCC uses a Makefile-based build system, I attempted to use bear > (https://githu