Manual-sync mirror of chromium.googlesource.com/external/github.com/llvm/llvm-project (bare monorepo, no subtree suffix)
Find a file
qyingwu 91746ca146
[mlir][cmake] Export MLIR_LINK_MLIR_DYLIB in MLIRConfig.cmake (#207336)
Fixes #197175.

`MLIRConfig.cmake` did not propagate `MLIR_LINK_MLIR_DYLIB` to out-of-tree MLIR users. Standalone projects using `find_package(MLIR CONFIG)` and `include(AddMLIR)` therefore could not observe the value used by `mlir_target_link_libraries(...)` when MLIR was configured with `-DMLIR_LINK_MLIR_DYLIB=ON`.

Export `MLIR_LINK_MLIR_DYLIB` through `MLIRConfig.cmake`.

AI tool usage:
I used ChatGPT/Codex to help understand the issue, identify the analogous LLVM CMake pattern, and draft the PR description. I manually reviewed the final patch and verification.
2026-07-08 22:06:52 -07:00
.ci CI: move libclang python bindings tests to main CI (#201677) 2026-07-06 23:13:30 -03:00
.github [docs] Rename LangRef.{rst|md} (#201974) 2026-07-08 12:57:00 -07:00
bolt [BOLT] Register PIE indirect goto relocations (#206819) 2026-07-08 14:21:12 -07:00
clang [clang-repl] Avoid use $LD_LIBRARY_PATH in lit tests (#208170) 2026-07-09 11:13:15 +08:00
clang-tools-extra Revert "[Clang] support friend declarations with a dependent nested-name-specifier" (#208302) 2026-07-09 00:54:08 +03:00
cmake Reapply "runtimes: Pass CMAKE_SYSTEM_NAME based on target triple" (#205133) (#205522) 2026-07-08 16:47:31 +02:00
compiler-rt [X86] Sync compiler-rt cpu subtypes and vendors with libgcc and refactor internal cpu type tables in LLVM (#171172) 2026-07-07 15:03:15 +02:00
cross-project-tests [RISCV][P-ext] Support Packed Saturating Absolute Value. (#207978) 2026-07-09 10:10:29 +08:00
flang [flang][acc] Emit acc.on_device operation for acc_on_device call (#208098) 2026-07-08 23:18:12 +00:00
flang-rt [flang-rt] Fix -Wunused-template in time intrinsics and test helpers (NFC) (#207979) 2026-07-08 17:01:10 +03:00
libc [libc] add shared divsf3 builtin (#205679) 2026-07-09 04:15:36 +03:00
libclc [CMake] Warn when the version of CMake is older than 3.31.0 (#204203) 2026-06-29 11:16:27 -07:00
libcxx [libc++][pstl] Default implementation of parallel std::find_first_of (#206328) 2026-07-08 11:18:56 -04:00
libcxxabi [libcxxabi] Don't enable -fvisibility=hidden on Windows (#207943) 2026-07-07 16:16:36 +03:00
libsycl [libsycl] Implement memcpy API (#205369) 2026-07-07 11:29:57 +02:00
libunwind [libunwind] include alloca.h in test/aarch64_za_unwind.pass.cpp (#207376) 2026-07-08 12:33:55 +05:30
lld [lld][ELF][test] Accept zlib-ng compressed size (#206880) 2026-07-08 09:31:53 -03:00
lldb [LLDB] Add an API to check whether a variable is writable (#208042) 2026-07-08 15:50:14 -07:00
llvm [RISCV] Don't require splats to have a single use in performReverseEVLCombine. (#208326) 2026-07-08 21:05:52 -07:00
llvm-libgcc [CMake] Warn when the version of CMake is older than 3.31.0 (#204203) 2026-06-29 11:16:27 -07:00
mlir [mlir][cmake] Export MLIR_LINK_MLIR_DYLIB in MLIRConfig.cmake (#207336) 2026-07-08 22:06:52 -07:00
offload [offload] Add the ability to record and replay IR bitcode modules (#207278) 2026-07-08 09:53:13 -07:00
openmp [OpenMP] Remove internal linkage from __kmp_wait template (NFC) (#207983) 2026-07-07 18:41:34 +03:00
orc-rt [orc-rt] Add a configurable logging API with a no-op backend (#208214) 2026-07-08 23:15:38 +10:00
polly [NFC] Fix "is is" typos (#206288) 2026-07-06 18:07:45 +00:00
runtimes Reapply "runtimes: Pass CMAKE_SYSTEM_NAME based on target triple" (#205133) (#205522) 2026-07-08 16:47:31 +02:00
third-party Fix a warning and an uninitialized variable in benchmark (#200927) 2026-06-02 13:49:06 -07:00
utils [bazel] Add missing deps from 1321b17 (#208338) 2026-07-08 15:49:36 -07:00
.clang-format
.clang-format-ignore [Docs] Update coding standard for TD files (#200848) 2026-06-01 21:35:58 +01:00
.clang-tidy
.git-blame-ignore-revs Add "Split clang/lib/CodeGen/CGBuiltin.cpp" to .git-blame-ignore-revs (#203419) 2026-06-12 12:03:28 +01:00
.gitattributes [libclang/python] Enable packaging clang python bindings (#125806) 2025-11-24 17:21:24 -08:00
.gitignore gitignore: Add emacs lock files (#205055) 2026-06-22 18:19:29 +02:00
.mailmap [mailmap] Add mailmap entry for myself (#189447) 2026-03-30 18:35:34 +00:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.TXT
pyproject.toml [docs] Create utils/docs (#203962) 2026-06-24 15:12:48 -04:00
README.md
SECURITY.md [SECURITY.md] add pointers to "what is a security issue" (#177372) 2026-01-22 17:19:09 -07:00

The LLVM Compiler Infrastructure

OpenSSF Scorecard OpenSSF Best Practices libc++

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.

Getting the Source Code and Building LLVM

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.

Getting in touch

Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.

The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.