Skip to content

Commit

Permalink
Extract LLVM to specific directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
scturtle authored and jacobdufault committed Mar 29, 2018
1 parent 7e80959 commit 2f0b9cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/DownloadAndExtractLLVM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ if(NOT EXISTS ${CLANG_ARCHIVE_EXTRACT_DIR})
message(STATUS "Extracting downloaded LLVM with CMake built-in tar ...")
# CMake has builtin support for tar via the -E flag
execute_process(COMMAND ${CMAKE_COMMAND} -E tar -xf ${CLANG_ARCHIVE_FILE}
# Extract to here to allow running cmake from everywhere
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
OUTPUT_QUIET)
endif()
endif()
Expand Down

0 comments on commit 2f0b9cc

Please sign in to comment.