Skip to content

Commit

Permalink
Add clangd headers
Browse files Browse the repository at this point in the history
  • Loading branch information
drunkbatya committed Jul 18, 2024
1 parent 92bc2cc commit 07f42e6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions darwin/scripts/build-mac-flipper-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ function build_llvm_x86_64() {
--install build \
--strip \
--component clangd;

# adding clangd headers
cp -r "$MAC_X86_64_CONFIGURE_ROOT/llvm/build/lib/clang" "$MAC_X86_64_OUTPUT_ROOT/lib/";

popd;
}

Expand Down Expand Up @@ -169,6 +173,10 @@ function build_llvm_arm64() {
--install build \
--strip \
--component clangd;

# adding clangd headers
cp -r "$MAC_ARM64_CONFIGURE_ROOT/llvm/build/lib/clang" "$MAC_ARM64_OUTPUT_ROOT/lib/";

popd;
}

Expand Down
4 changes: 4 additions & 0 deletions linux/scripts/build-linux-flipper-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ function build_llvm() {
--install build \
--strip \
--component clangd;

# adding clangd headers
cp -r "$LINUX_CONFIGURE_ROOT/llvm/build/lib/clang" "$LINUX_OUTPUT_ROOT/lib/";

popd;
}

Expand Down
3 changes: 3 additions & 0 deletions windows/scripts/build-windows-flipper-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ function build_llvm() {
--install build \
--strip \
--component clangd;

# adding clangd headers
cp -r "$WINDOWS_CONFIGURE_ROOT/llvm/build/lib/clang" "$WINDOWS_OUTPUT_ROOT/lib/";
}

function build_libusb() {
Expand Down

0 comments on commit 07f42e6

Please sign in to comment.