Title: [270193] trunk/Tools/buildstream
Revision
270193
Author
ph...@webkit.org
Date
2020-11-27 06:48:18 -0800 (Fri, 27 Nov 2020)

Log Message

[Flatpak SDK] Add clangd
https://bugs.webkit.org/show_bug.cgi?id=219302

Reviewed by Adrian Perez de Castro.

clangd can be used as an alternative to ccls in IDEs supporting the LSP protocol.

* elements/sdk-platform.bst:
* elements/sdk/clangd.bst: Added.
* project.conf:

Modified Paths

Added Paths

Diff

Modified: trunk/Tools/buildstream/ChangeLog (270192 => 270193)


--- trunk/Tools/buildstream/ChangeLog	2020-11-27 12:21:06 UTC (rev 270192)
+++ trunk/Tools/buildstream/ChangeLog	2020-11-27 14:48:18 UTC (rev 270193)
@@ -1,5 +1,18 @@
 2020-11-27  Philippe Normand  <pnorm...@igalia.com>
 
+        [Flatpak SDK] Add clangd
+        https://bugs.webkit.org/show_bug.cgi?id=219302
+
+        Reviewed by Adrian Perez de Castro.
+
+        clangd can be used as an alternative to ccls in IDEs supporting the LSP protocol.
+
+        * elements/sdk-platform.bst:
+        * elements/sdk/clangd.bst: Added.
+        * project.conf:
+
+2020-11-27  Philippe Normand  <pnorm...@igalia.com>
+
         [Flatpak SDK] Update ccls
         https://bugs.webkit.org/show_bug.cgi?id=219303
 

Added: trunk/Tools/buildstream/elements/sdk/clangd.bst (0 => 270193)


--- trunk/Tools/buildstream/elements/sdk/clangd.bst	                        (rev 0)
+++ trunk/Tools/buildstream/elements/sdk/clangd.bst	2020-11-27 14:48:18 UTC (rev 270193)
@@ -0,0 +1,22 @@
+kind: manual
+sources:
+- kind: zip
+  url: github_files:clangd/clangd/releases/download/11.0.0/clangd-linux-11.0.0.zip
+  ref: 10047e2f974cd35a145e672eb5747b6cb27902181ae78c148d6e697a9da562d8
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+config:
+  install-commands:
+  - |
+    install -D -m a+rx -t "%{install-root}/%{bindir}" ./bin/clangd
+
+variables:
+  strip-binaries: "true"
+
+public:
+  bst:
+    integration-commands:
+    - |
+      clangd --version

Modified: trunk/Tools/buildstream/elements/sdk-platform.bst (270192 => 270193)


--- trunk/Tools/buildstream/elements/sdk-platform.bst	2020-11-27 12:21:06 UTC (rev 270192)
+++ trunk/Tools/buildstream/elements/sdk-platform.bst	2020-11-27 14:48:18 UTC (rev 270193)
@@ -12,6 +12,7 @@
 - sdk/capnp.bst
 - sdk/ccls.bst
 - sdk/cmake-lsp.bst
+- sdk/clangd.bst
 - sdk/enchant-2.bst
 - sdk/ffmpeg.bst
 - sdk/glib-networking.bst

Modified: trunk/Tools/buildstream/project.conf (270192 => 270193)


--- trunk/Tools/buildstream/project.conf	2020-11-27 12:21:06 UTC (rev 270192)
+++ trunk/Tools/buildstream/project.conf	2020-11-27 14:48:18 UTC (rev 270193)
@@ -43,6 +43,8 @@
   ffmpeg: https://git.ffmpeg.org/
   gitlab_freedesktop_org: https://gitlab.freedesktop.org/
   github_com: https://github.com/
+  #(github_files is an alias for the same url as github, but doesn't use the same mirror)
+  github_files: https://github.com/
   gitlab_com: https://gitlab.com/
   gitlab_gnome_org: https://gitlab.gnome.org/
   raw_githubusercontent_com: https://raw.githubusercontent.com/
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to