It's very important that the GPU build does not include any system
directories. We currently use -ffreestanding to disable a lot of these
features, but we can still accidentally include them if they are not
provided by libc yet. This patch changes this to use -nostdinc to
disable all standard search paths. Then we use the compiler's resource
directory to pick up the provided headers like stdint.h.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo