[Lldb-commits] [PATCH] D146058: [lldb][gnustep] Add basic test and infrastructure for GNUstep ObjC runtime
Stefan Gränitz via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 4 04:05:59 PDT 2023
sgraenitz added a comment.
The modified proposal keeps GNUstep support off by default (even if installed). It must be enabled explicitly by passing `-DLLDB_TEST_OBJC_GNUSTEP=On` and it can be disabled easily by passing `-DLLDB_TEST_OBJC_GNUSTEP=Off` to CMake. A custom install location `/path/to/lib/libobjc.so` can be specified with `-DLLDB_TEST_OBJC_GNUSTEP_DIR=/path/to`. Since it involves some extra logic, I moved the standard bits into `FindGNUstepObjC.cmake` which should follow regular CMake naming conventions (`GNUstepObjC_DIR`, `GNUstepObjC_FOUND`, etc.). This might be the foundation for a future GNUstep standard package file.
This version aims to cause minimal friction while allowing to test with GNUstep for those who wish. Please find setup instructions in my previous comment <https://reviews.llvm.org/D146058#4224001>. If you have any more questions, please let me know.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146058/new/
https://reviews.llvm.org/D146058
More information about the lldb-commits
mailing list