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

Summary:
All this file does is pass `-L` to an incorrect location. These files
are installed as part of the resource directory which is always included
anyway, so I think this is vestigial and can be removed.


>From e4acf5275fa60841eb3b7102f6636d53c1df1c18 Mon Sep 17 00:00:00 2001
From: Joseph Huber <[email protected]>
Date: Tue, 10 Mar 2026 08:53:50 -0500
Subject: [PATCH] [libclc] Remove unused and incorrect pkgconf file

Summary:
All this file does is pass `-L` to an incorrect location. These files
are installed as part of the resource directory which is always included
anyway, so I think this is vestigial and can be removed.
---
 libclc/CMakeLists.txt | 4 ----
 libclc/libclc.pc.in   | 6 ------
 2 files changed, 10 deletions(-)
 delete mode 100644 libclc/libclc.pc.in

diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt
index f55f02f0e2fc0..85e215c3a734e 100644
--- a/libclc/CMakeLists.txt
+++ b/libclc/CMakeLists.txt
@@ -139,10 +139,6 @@ add_custom_target( libclc ALL )
 add_custom_target( libclc-opencl-builtins COMMENT "Build libclc OpenCL 
builtins" )
 add_dependencies( libclc libclc-opencl-builtins )
 
-configure_file( libclc.pc.in libclc.pc @ONLY )
-install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc
-  DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig" )
-
 enable_testing()
 
 foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
diff --git a/libclc/libclc.pc.in b/libclc/libclc.pc.in
deleted file mode 100644
index 3a9e58b3ef0cc..0000000000000
--- a/libclc/libclc.pc.in
+++ /dev/null
@@ -1,6 +0,0 @@
-libexecdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATADIR@/clc
-
-Name: libclc
-Description: Library requirements of the OpenCL C programming language
-Version: @PROJECT_VERSION@
-Libs: -L${libexecdir}

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to