[llvm] [LLVM] Remove FFI forwarding prefix for liboffload (PR #196518)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 04:54:52 PDT 2026


https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/196518

Summary:
The dependency on libffi was removed awhile back but neglected to remove
this.


>From 6847e96a5a3e0ea0fbe6a6354c4663079ada3843 Mon Sep 17 00:00:00 2001
From: Joseph Huber <huberjn at outlook.com>
Date: Fri, 8 May 2026 06:48:02 -0500
Subject: [PATCH] [LLVM] Remove FFI forwarding prefix for liboffload

Summary:
The dependency on libffi was removed awhile back but neglected to remove
this.
---
 llvm/runtimes/CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 74c4940a1534c..4bd0c50502f3f 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -307,7 +307,6 @@ function(runtime_default_target)
                            PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES
                                                 LLVM_USE_LINKER
                                                 CUDA CMAKE_CUDA # For runtimes that may look for the CUDA compiler and/or SDK (libc, offload, flang-rt)
-                                                FFI # offload uses libffi
                                                 FLANG_RUNTIME # Shared between Flang and Flang-RT
                                                 ${ARG_PREFIXES}
                            EXTRA_TARGETS ${extra_targets}



More information about the llvm-commits mailing list