[all-commits] [llvm/llvm-project] 4e9054: [Libomptarget] Fix lookup of the `libcgpu.a` library
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Oct 5 08:49:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e9054d3914a7095e28a9ba4e26a80b10bcc6c3d
https://github.com/llvm/llvm-project/commit/4e9054d3914a7095e28a9ba4e26a80b10bcc6c3d
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M openmp/libomptarget/CMakeLists.txt
M openmp/libomptarget/test/lit.cfg
M openmp/libomptarget/test/lit.site.cfg.in
Log Message:
-----------
[Libomptarget] Fix lookup of the `libcgpu.a` library
Summary:
The `libcgpu.a` library was added to support certain libc functions. A
recent patch made us pass its location directly on the commandline,
however it used `find_library`. This doesn't work because the ordering
of CMake might run `fine_library` before it builds the library we're
trying to find. This patch changes this to just use the destimation we
know it will end up in and checks it manually.
More information about the All-commits
mailing list