[PATCH] D130545: [cmake] Slight fix ups to make robust to the full range of GNUInstallDirs

Shilei Tian via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 20 06:28:13 PDT 2023


tianshilei1992 added a comment.
Herald added subscribers: ekilmer, jplehr, StephenFan.

This patch breaks the assumption that some projects are supposed to support to be built as a standalone project. For example, we do have a standalone release for OpenMP (https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.2/openmp-16.0.2.src.tar.xz). This patch uses relative path `${CMAKE_CURRENT_SOURCE_DIR}/../cmake` which assumes `openmp` directory is inside `llvm-project`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130545/new/

https://reviews.llvm.org/D130545



More information about the cfe-commits mailing list