Yeah, I take that part back. It sort of makes sense that you build the server
for the architecture you are building binaries for, since the server has to run
wherever the binaries run. If we were being strict about that, we'd build one
server for each backend we build clang for, but we don't d
I'm not going to comment on the change (my cmake knowledge is a hair more than
yours, but not enough for this), but LLVM_DEFAULT_TARGET_TRIPLE is the default
backend. LLVM_HOST_TRIPLE is the triple we're running on. In your example,
LLVM_DEFAULT_TARGET_TRIPLE should be something like arm-apple-d
On Wed, Oct 30, 2019 at 11:52 AM Jim Ingham via lldb-dev
wrote:
>
> Except of course without the comment markers...
>
> > On Oct 30, 2019, at 11:36 AM, Jim Ingham wrote:
> >
> > Anyway, another way to do this would be something like:
> >
> > #if (${LLVM_DEFAULT_TARGET_TRIPLE})
> > string(REGEX M
Except of course without the comment markers...
> On Oct 30, 2019, at 11:36 AM, Jim Ingham wrote:
>
> Anyway, another way to do this would be something like:
>
> #if (${LLVM_DEFAULT_TARGET_TRIPLE})
> string(REGEX MATCH "^[^-]*" LLDB_DEBUGSERVER_ARCH
> "${LLVM_DEFAULT_TARGET_TRIPLE}")
> #else(