[all-commits] [llvm/llvm-project] fceea4: [OpenMP] Fix library path missing when using OpenMP
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Mar 28 11:30:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fceea4e11028f4bfbafbd6893ddeb319420107d9
https://github.com/llvm/llvm-project/commit/fceea4e11028f4bfbafbd6893ddeb319420107d9
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-03-28 (Mon, 28 Mar 2022)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/CommonArgs.h
A clang/test/Driver/openmp-library-path.c
Log Message:
-----------
[OpenMP] Fix library path missing when using OpenMP
The changes in D122444 caused OpenMP programs built with the
LLVM_ENABLE_RUNTIMES options to stop finding the libraries. We generally
expect to link against the libraries associated with the clang
installation itself but we no longer implicitly included that directory.
This patch adds in the include path of the clang installations library
to ensure we can find them.
Reviewed By: jdoerfert, MaskRay
Differential Revision: https://reviews.llvm.org/D122592
More information about the All-commits
mailing list