Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

Commit b2572b9

Browse files
sys-igcastojano
authored andcommitted
Merge between branches
Change-Id: I4945cf525dc1aa80d8741fa8c645e578fe754996
1 parent 71058b1 commit b2572b9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

CMakeLists.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,14 @@ else()
123123
)
124124
endif()
125125

126-
# Use LLVM sources stored at fixed location
127-
set(LLVM_SOURCE_URL ${CMAKE_CURRENT_SOURCE_DIR}/../llvm_source)
128126
if(NOT EXISTS ${LLVM_SOURCE_URL})
129-
# Use tar archive with stock LLVM sources.
130-
set(LLVM_SOURCE_USE_TARBALL true)
131-
set(LLVM_SOURCE_URL "${BS_DIR_MIGRATION_BINARIES}/igc/llvm/llvm-4.0.0.src.tar.xz")
127+
# Use LLVM sources stored at fixed location
128+
set(LLVM_SOURCE_URL ${CMAKE_CURRENT_SOURCE_DIR}/../llvm_source)
129+
if(NOT EXISTS ${LLVM_SOURCE_URL})
130+
# Use tar archive with stock LLVM sources.
131+
set(LLVM_SOURCE_USE_TARBALL true)
132+
set(LLVM_SOURCE_URL "${BS_DIR_MIGRATION_BINARIES}/igc/llvm/llvm-4.0.0.src.tar.xz")
133+
endif()
132134
endif()
133135

134136
# Use LLVM stock sources or patched stock sources

0 commit comments

Comments
 (0)