[llvm] 1ebbf97 - [LLVM] Partially revert GPU change to include dirs

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 16:13:31 PST 2024


Author: Joseph Huber
Date: 2024-03-04T18:13:25-06:00
New Revision: 1ebbf97316729e38b3189c6c55516266a7909121

URL: https://github.com/llvm/llvm-project/commit/1ebbf97316729e38b3189c6c55516266a7909121
DIFF: https://github.com/llvm/llvm-project/commit/1ebbf97316729e38b3189c6c55516266a7909121.diff

LOG: [LLVM] Partially revert GPU change to include dirs

Summary:
Turns out that we need this for the header install directory. I didn't
notice because I had old values cached. Revert for now until I think of
a better way to suppress the error.

Added: 
    

Modified: 
    llvm/cmake/modules/AddLLVM.cmake

Removed: 
    


################################################################################
diff  --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index e18ec23fc76f18..828de4bd9940d6 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -1,7 +1,4 @@
-if(NOT LLVM_RUNTIMES_GPU_BUILD)
-  include(GNUInstallDirs)
-endif()
-
+include(GNUInstallDirs)
 include(LLVMDistributionSupport)
 include(LLVMProcessSources)
 include(LLVM-Config)


        


More information about the llvm-commits mailing list