msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.28k stars 1.22k forks source link

Add clangd as extra package #17443

Open GitMensch opened 1 year ago

GitMensch commented 1 year ago

Package name

clangd

Brief description of package

The clang language server

note: clangd currently is available, but only with the clang-tools-extra which has the whole clang toolchain in; this leads to a huge size, compared to downloading the clangd binary "directly", but that seems to be built different than clang-tools-extra is

URL for package's homepage

No response

Provide a basic test case to validate the package's functionality.

install clangd (or the while clangd-tools-extra?) with packman without the clang depedency use clangd in vim or vscode

MINGW environments where you need the package

Are you willing to submit a PR?

No response

Biswa96 commented 1 year ago

In my opinion, this would lead to some confusion and package fragmentation. The clangd executable already depends on shared libraries from clang package. We generally follow ArchLinux packages and they also provides clangd in clang-tools-extra (and/or in clang) package.

GitMensch commented 1 year ago

If I understood this correctly that would mean that either "leave as is" or create two new additional packages fro the clang one: clang-libs and clangd. I understand if the answer is "no", in which case this issue may be closed as unplanned.

Biswa96 commented 1 year ago

My answer is "no" at this moment. But we can wait for other opinions too.

lb90 commented 1 year ago

Hi! There's a request for Arch Linux to provide a "clang-libs" package: https://bugs.archlinux.org/task/72588?project=1&string=clang. We may wait a bit and see what comes out of it

GitMensch commented 1 year ago

Sounds good, but that's a quite "stale" request, so may need some "ping".