[compiler-rt] [libc] [libcxx] [libcxxabi] [libunwind] [llvm] [openmp] [Runtimes] Introduce variables containing resource dir paths (PR #177953)
Michael Kruse via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 12 08:10:43 PDT 2026
================
@@ -1,12 +1,3 @@
-#===-- cmake/modules/GetToolchainDirs.cmake --------------------------------===#
-#
-# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-# See https://llvm.org/LICENSE.txt for license information.
-# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-#
-#===------------------------------------------------------------------------===#
-
-
# Determine the subdirectory relative to Clang's resource dir/sysroot where to
----------------
Meinersbur wrote:
As mentioned, this file is not just for the resource directory (the resourse directory is determined by https://github.com/llvm/llvm-project/blob/6e51372b954cd30d6e2b080c5ad409b5471e894d/runtimes/CMakeLists.txt#L243-L247 outside of this file), but the subdirs in the prefix dirs that contain `lib`, `include`, `bin`, etc (a "sysroot"). This can be the Clang resource dir, but also the CMake build directory, CMAKE_INSTALL_PREFIX, etc.
I will replace "sysroot" with "installation prefix".
https://github.com/llvm/llvm-project/pull/177953
More information about the cfe-commits
mailing list