Skip to content

Commit

Permalink
Revert the change in iree_bitcode_library
Browse files Browse the repository at this point in the history
  • Loading branch information
hcindyl committed Aug 23, 2023
1 parent eeb70f4 commit 72bdef4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions build_tools/cmake/iree_bitcode_library.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ function(iree_bitcode_library)
OUTPUT
"${_BITCODE_FILE}"
COMMAND
"clang"
"${IREE_CLANG_BINARY}"
${_COPTS}
"${_BITCODE_SRC_PATH}"
"-o"
"${_BITCODE_FILE}"
DEPENDS
"clang"
"${IREE_CLANG_BINARY}"
"${_SRC}"
COMMENT
"Compiling ${_SRC} to ${_BITCODE_FILE}"
Expand All @@ -96,12 +96,12 @@ function(iree_bitcode_library)
OUTPUT
${_OUT}
COMMAND
"llvm-link"
${IREE_LLVM_LINK_BINARY}
${_BITCODE_FILES}
"-o"
"${_OUT}"
DEPENDS
"llvm-link"
${IREE_LLVM_LINK_BINARY}
${_BITCODE_FILES}
COMMENT
"Linking bitcode to ${_OUT}"
Expand Down Expand Up @@ -167,13 +167,13 @@ function(iree_cuda_bitcode_library)
OUTPUT
"${_BITCODE_FILE}"
COMMAND
"clang"
"${IREE_CLANG_BINARY}"
${_COPTS}
"${_BITCODE_SRC_PATH}"
"-o"
"${_BITCODE_FILE}"
DEPENDS
"clang"
"${IREE_CLANG_BINARY}"
"${_SRC}"
COMMENT
"Compiling ${_SRC} to ${_BITCODE_FILE}"
Expand All @@ -185,12 +185,12 @@ function(iree_cuda_bitcode_library)
OUTPUT
${_OUT}
COMMAND
"llvm-link"
${IREE_LLVM_LINK_BINARY}
${_BITCODE_FILES}
"-o"
"${_OUT}"
DEPENDS
"llvm-link"
${IREE_LLVM_LINK_BINARY}
${_BITCODE_FILES}
COMMENT
"Linking bitcode to ${_OUT}"
Expand Down Expand Up @@ -235,12 +235,12 @@ function(iree_link_bitcode)
OUTPUT
${_OUT}
COMMAND
"llvm-link"
${IREE_LLVM_LINK_BINARY}
${_BITCODE_FILES}
"-o"
"${_OUT}"
DEPENDS
"llvm-link"
${IREE_LLVM_LINK_BINARY}
${_BITCODE_FILES}
COMMENT
"Linking bitcode to ${_OUT}"
Expand Down

0 comments on commit 72bdef4

Please sign in to comment.