[PATCH] D158218: [CMake] Deprecate DEFAULT_SYSROOT and GCC_INSTALL_PREFIX
Brian Cain via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 18 12:12:56 PDT 2023
bcain added inline comments.
================
Comment at: clang/CMakeLists.txt:179-183
+if(DEFAULT_SYSROOT)
+ message(WARNING "DEFAULT_SYSROOT is deprecated and will be removed. Use "
+ "configuration files (https://clang.llvm.org/docs/UsersManual.html#configuration-files)"
+ "to specify the default --sysroot=")
+endif()
----------------
At one time I believe that the clang configuration files could not specify paths relative to the clang executable. AFAICT `DEFAULT_SYSROOT` does support this.
But if I'm mistaken about that can we add an example to the docs at https://clang.llvm.org/docs/UsersManual.html#configuration-files illustrating how to use a relative sysroot?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158218/new/
https://reviews.llvm.org/D158218
More information about the cfe-commits
mailing list