[PATCH] D66981: Fix driver tests when `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` is `ON`

Sergej Jaskiewicz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 29 16:04:27 PDT 2019


broadwaylamb created this revision.
broadwaylamb added reviewers: phosek, rnk, mcgrathr, vitalybuka, beanz, hans, filcab, rsmith, compnerd.
Herald added subscribers: javed.absar, srhines.
Herald added a project: clang.
broadwaylamb edited the summary of this revision.

Some Driver tests relied on the default resource direcory having per-os per-arch subdirectory layout, and when clang is built with `-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON`, those test fail, because clang by default assumes per-target subdirectories.

Explicitly set `-resource-dir` flag to point to a tree with per-os per-arch layout.

See also: D45604 <https://reviews.llvm.org/D45604>, D62469 <https://reviews.llvm.org/D62469>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D66981

Files:
  clang/test/Driver/arm-compiler-rt.c
  clang/test/Driver/print-libgcc-file-name-clangrt.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66981.217995.patch
Type: text/x-patch
Size: 5412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190829/1070bd4c/attachment-0001.bin>


More information about the cfe-commits mailing list