Skip to content

Commit 8e42bfd

Browse files
committedJun 12, 2018
Fix how LLVMOPTIONALCOMPONENTS is passed to llvm-build
Patch by Force.Charlie-I If LLVM_USE_INTEL_JITEVENTS and LLVM_USE_OPROFILE not set, "${LLVMOPTIONALCOMPONENTS}" is empty, but **--enable-optional-components** need arg, Cause **--write-library-table** to be skipped parsed. Differential Revision: https://reviews.llvm.org/D47982 llvm-svn: 334543
1 parent cd45bef commit 8e42bfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎llvm/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,7 @@ set(LLVMBUILDCMAKEFRAG
640640
"${LLVM_BINARY_DIR}/LLVMBuild.cmake")
641641

642642
# Create the list of optional components that are enabled
643+
set(LLVM_USE_INTEL_JITEVENTS " ")
643644
if (LLVM_USE_INTEL_JITEVENTS)
644645
set(LLVMOPTIONALCOMPONENTS IntelJITEvents)
645646
endif (LLVM_USE_INTEL_JITEVENTS)

0 commit comments

Comments
 (0)