[llvm] Revert "[PATCH] offload-tunnel-cmake with proper escape" (PR #161727)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 2 13:10:33 PDT 2025


https://github.com/ronlieb created https://github.com/llvm/llvm-project/pull/161727

Reverts llvm/llvm-project#161552

>From 96782aa56ad35494fe21ad5f28dd1557e230fb4d Mon Sep 17 00:00:00 2001
From: ronlieb <rlieberm at amd.com>
Date: Thu, 2 Oct 2025 16:10:21 -0400
Subject: [PATCH] Revert "[PATCH] offload-tunnel-cmake with proper escape
 (#161552)"

This reverts commit 3f3a20f654f913f7e251e3bf4bd5a63e73e5571a.
---
 llvm/runtimes/CMakeLists.txt | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 6f98eaee241bc..839929204c064 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -507,14 +507,10 @@ if(build_runtimes)
   endif()
 
   # Forward user-provived system configuration to runtimes for requirement introspection.
-  # CMAKE_PREFIX_PATH is the search path for CMake packages. In order to pass through
-  # the command line interface, the CMake semicolon separator needs to be replaced
-  # with $<SEMICOLON>
+  # CMAKE_PREFIX_PATH is the search path for CMake packages.
   if(CMAKE_PREFIX_PATH)
-    string(JOIN "$<SEMICOLON>" escaped_cmake_prefix_path ${CMAKE_PREFIX_PATH})
-    list(APPEND extra_cmake_args "-DCMAKE_PREFIX_PATH=${escaped_cmake_prefix_path}")
+    list(APPEND extra_cmake_args "-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}")
   endif()
-
   # CMAKE_PROGRAM_PATH is the search path for executables such as python.
   if(CMAKE_PROGRAM_PATH)
     list(APPEND extra_cmake_args "-DCMAKE_PROGRAM_PATH=${CMAKE_PROGRAM_PATH}")



More information about the llvm-commits mailing list