Skip to content

Commit 92101a3

Browse files
committed
Merging r342865:
------------------------------------------------------------------------ r342865 | courbet | 2018-09-24 01:39:48 -0700 (Mon, 24 Sep 2018) | 11 lines [llvm-exegesis] Fix PR39021. Summary: The `set` statements was incorrectly reading the value of the local variable and setting the value of the parent variable. Reviewers: tycho, gchatelet, john.brawn Subscribers: mgorny, tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D52343 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@347811 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 5993754 commit 92101a3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tools/llvm-exegesis/lib/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1+
set(TARGETS_TO_APPEND "")
2+
13
if (LLVM_TARGETS_TO_BUILD MATCHES "X86")
24
add_subdirectory(X86)
3-
set(LLVM_EXEGESIS_TARGETS "${LLVM_EXEGESIS_TARGETS} X86" PARENT_SCOPE)
5+
set(TARGETS_TO_APPEND "${TARGETS_TO_APPEND} X86")
46
endif()
57
if (LLVM_TARGETS_TO_BUILD MATCHES "AArch64")
68
add_subdirectory(AArch64)
7-
set(LLVM_EXEGESIS_TARGETS "${LLVM_EXEGESIS_TARGETS} AArch64" PARENT_SCOPE)
9+
set(TARGETS_TO_APPEND "${TARGETS_TO_APPEND} AArch64")
810
endif()
911

12+
set(LLVM_EXEGESIS_TARGETS "${LLVM_EXEGESIS_TARGETS} ${TARGETS_TO_APPEND}" PARENT_SCOPE)
13+
1014
add_library(LLVMExegesis
1115
STATIC
1216
Analysis.cpp

0 commit comments

Comments
 (0)