Skip to content

Commit 2e8cb39

Browse files
committed
TODO: --library?
1 parent 1af4ec3 commit 2e8cb39

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tc_build/llvm.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ def configure(self):
243243
# disable the optimization when compiler-rt is enabled and there is an
244244
# install directory. Ideally thin archives should still be usable for
245245
# non-compiler-rt projects.
246-
if not (self.folders.install and self.project_is_enabled('compiler-rt')):
247-
self.cmake_defines['CMAKE_CXX_ARCHIVE_CREATE'] = '<CMAKE_AR> DqcT <TARGET> <OBJECTS>'
248-
self.cmake_defines['CMAKE_CXX_ARCHIVE_FINISH'] = 'true'
246+
#if not (self.folders.install and self.project_is_enabled('compiler-rt')):
247+
# self.cmake_defines['CMAKE_CXX_ARCHIVE_CREATE'] = '<CMAKE_AR> DqcT <TARGET> <OBJECTS>'
248+
#self.cmake_defines['CMAKE_CXX_ARCHIVE_FINISH'] = 'true'
249249

250250
if self.tools.ranlib:
251251
self.cmake_defines['CMAKE_RANLIB'] = self.tools.ranlib
@@ -430,7 +430,11 @@ def configure(self):
430430

431431
self.set_llvm_major_version()
432432

433-
distribution_components = []
433+
distribution_components = [
434+
'llvm-config',
435+
'llvm-headers',
436+
'llvm-libraries',
437+
]
434438
runtime_distribution_components = []
435439
if llvm_build_tools:
436440
distribution_components += [

0 commit comments

Comments
 (0)