Skip to content

Instantly share code, notes, and snippets.

@anagri
Created November 21, 2023 07:26
Show Gist options
  • Save anagri/00ca9480a9753ee627a616fee31a4d9b to your computer and use it in GitHub Desktop.
Save anagri/00ca9480a9753ee627a616fee31a4d9b to your computer and use it in GitHub Desktop.
installing lldb-mi on Mac Ventura with brew as default installer

Ref: https://gist.github.com/mariusdkm/65922612e78819a569f8d5eb2ae337e9

Installs lldb-mi using macports. This is if you are using brew.

steps

  1. ensure llvm is installed

brew install llvm

  1. clone and setup lldb-mi
git clone https://github.com/lldb-tools/lldb-mi
mkdir -p lldb-mi/build
cd lldb-mi/build
  1. configure and build
cmake .. -D CMAKE_PREFIX_PATH=$(brew --prefix llvm)/lib/cmake/llvm
cmake --build .
  1. move the binary

sudo mv src/lldb-mi /usr/local/bin/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment