[compiler-rt] 332f5e7 - [compiler-rt][ORC] Remove unused cmake variables (NFC) (#87742)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 12:24:16 PDT 2024


Author: Keith Smiley
Date: 2024-05-14T12:24:12-07:00
New Revision: 332f5e7113c409982e6429b135bb1a7055c11e77

URL: https://github.com/llvm/llvm-project/commit/332f5e7113c409982e6429b135bb1a7055c11e77
DIFF: https://github.com/llvm/llvm-project/commit/332f5e7113c409982e6429b135bb1a7055c11e77.diff

LOG: [compiler-rt][ORC] Remove unused cmake variables (NFC) (#87742)

Added: 
    

Modified: 
    compiler-rt/lib/orc/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/orc/CMakeLists.txt b/compiler-rt/lib/orc/CMakeLists.txt
index 6bcbf05f0d8ba..36f4349a240e3 100644
--- a/compiler-rt/lib/orc/CMakeLists.txt
+++ b/compiler-rt/lib/orc/CMakeLists.txt
@@ -9,24 +9,6 @@ set(ORC_COMMON_SOURCES
   dlfcn_wrapper.cpp
   )
 
-# ORC runtime library implementation files for all ORC architectures.s
-set(ALL_ORC_SOURCES
-  ${ORC_COMMON_SOURCES}
-  coff_platform.cpp
-  coff_platform.per_jd.cpp
-  elfnix_platform.cpp
-  macho_platform.cpp
-  )
-
-# Implementation files for all ORC architectures.
-set(ALL_ORC_ASM_SOURCES
-  macho_tlv.x86-64.S
-  macho_tlv.arm64.S
-  elfnix_tls.x86-64.S
-  elfnix_tls.aarch64.S
-  elfnix_tls.ppc64.S
-  )
-
 # Common implementation headers will go here.
 set(ORC_COMMON_IMPL_HEADERS
   adt.h
@@ -41,24 +23,6 @@ set(ORC_COMMON_IMPL_HEADERS
   wrapper_function_utils.h
   )
 
-# Implementation headers for all ORC architectures.
-set(ALL_ORC_IMPL_HEADERS
-  ${ORC_COMMON_IMPL_HEADERS}
-  macho_platform.h
-  coff_platform.h
-  elfnix_platform.h
-  )
-
-# Create list of all source files for
-# consumption by tests.
-set(ORC_ALL_SOURCE_FILES
-  ${ALL_ORC_SOURCES}
-  ${ALL_ORC_ASM_SOURCES}
-  ${ALL_ORC_IMPL_HEADERS}
-  )
-
-list(REMOVE_DUPLICATES ORC_ALL_SOURCE_FILES)
-
 # Now put it all together...
 include_directories(..)
 include_directories(../../include)


        


More information about the llvm-commits mailing list