[Libomptarget] Build the DeviceRTL BC using clang directly
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 21 Jul 2022 18:12:01 +0000 (14:12 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 22 Jul 2022 12:24:29 +0000 (08:24 -0400)
commite82e07d74a7d9f262aa85fa4aebf99b5a62f386c
tree914815c5f3bc2cbb022dab6fd7580c479666a57a
parent5102084787a10a82d9d8f59e129a24ba659d9118
[Libomptarget] Build the DeviceRTL BC using clang directly

Currently the bitcode library is build using the clang front-end
manually. This was originally done because we did not support device
only compilation. Now we support device only compilation, at least for a
single offloading toolchain, so we can instead use clang directly rather
than using the front-end. This saves us needing to define things like
`aux_triple`.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D130293
openmp/libomptarget/DeviceRTL/CMakeLists.txt