[PATCH] D143666: [Clang] Fix clang_rt tests when LLVM_ENABLE_PER_TARGET_RUNTIME_DIR is ON

Michael Platings via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 22 00:39:11 PST 2023


michaelplatings added a comment.

Hi Petr,
In LLVM Embedded Toolchain for Arm we put libclang_rt in the regular library directory, not the resource dir. Therefore `-resource-dir` has no effect for us.
Instead of this change, I could have added a `--sysroot` argument to each test, but this change seemed to fit well with the discussion in https://discourse.llvm.org/t/rfc-time-to-drop-legacy-runtime-paths/64628.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143666



More information about the cfe-commits mailing list