commit | def5905c4592beb5da7c2a9607b3fe8b3103ff44 | [log] [tgz] |
---|---|---|
author | Joseph Huber <[email protected]> | Thu Aug 17 17:49:18 2023 |
committer | Joseph Huber <[email protected]> | Thu Aug 17 19:16:24 2023 |
tree | d714d628f61949b046387ca46d9433ebd12d6671 | |
parent | 83a06997c69a17def2f58fd556c094b8f1060b89 [diff] |
[libc] Do not find system binaries for offloading tools We use `find_program` to identify a few programs we use for offloading. Namely, `clang-offload-packger`, `amdgpu-arch`, and `nvptx-arch`. Currently the logic allows these to bind to any tool matching this name, so it will find it on the system. This meant that if the installation was deleted or it found a broken binary the compilation would fail. We should only pull these from the current LLVM binary directory. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D158203
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, or #llvm IRC channel on OFTC.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.