Skip to content
Snippets Groups Projects
Unverified Commit 87b626f3 authored by Alessandro Astone's avatar Alessandro Astone Committed by Simão Gomes Viana
Browse files

kernel: Force disable LLVM CUDA


The kernel tries to define the LINUX_COMPILER macro from the output
of `$(CC) -v | grep ' version '`, but in clang that might produce
more than one line containing ' version ' when CUDA is installed:

```
Android (8490178, based on r450784d) clang version 14.0.6
Found CUDA installation: /usr/local/cuda, version 11.0
```

That causes the macro to expand into multiple lines, upsetting the
compiler that cannot find the ending double quote.

In upstream linux this is fixed from v5.8

Change-Id: Icde4253e989df1cbbefc0ce98f437d16822fc93b
Signed-off-by: default avatarSimão Gomes Viana <devel@superboring.dev>
parent 57104502
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment