mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master 1/3] .clangd: black-list -mabi=lp64 to enable LSP for 64-bit ARM
@ 2023-05-22 13:42 Ahmad Fatoum
  2023-05-22 13:42 ` [PATCH master 2/3] .gitattributes: import diff directives from Linux v6.3 Ahmad Fatoum
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ahmad Fatoum @ 2023-05-22 13:42 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

clangd invoked via Language Server Protocol chokes on -mabi=lp64, which
we use for ARM64 build. We should eventually fix that by having barebox
itself compile with clang, but till then, let's drop a .clangd file that
instructs clangd to ignore this unsupported option. Pointers and longs
are still 64-bit, presumably because that's the default AArch64 ABI.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 .clangd | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 .clangd

diff --git a/.clangd b/.clangd
new file mode 100644
index 000000000000..58e83cd2871a
--- /dev/null
+++ b/.clangd
@@ -0,0 +1,2 @@
+CompileFlags:
+  Remove: -mabi=lp64
-- 
2.39.2




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-23  7:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-22 13:42 [PATCH master 1/3] .clangd: black-list -mabi=lp64 to enable LSP for 64-bit ARM Ahmad Fatoum
2023-05-22 13:42 ` [PATCH master 2/3] .gitattributes: import diff directives from Linux v6.3 Ahmad Fatoum
2023-05-22 13:42 ` [PATCH master 3/3] .clang-format: import kernel coding style rules " Ahmad Fatoum
2023-05-23  7:08 ` [PATCH master 1/3] .clangd: black-list -mabi=lp64 to enable LSP for 64-bit ARM Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox