[PATCH] D77165: libclc: Use temporary files rather than a pipe
Daniel Stone via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 31 12:33:25 PDT 2020
daniels created this revision.
daniels added reviewers: jvesely, tstellar.
Herald added subscribers: llvm-commits, mgorny.
Herald added a project: LLVM.
As Windows does not have pipes, we can't pipe the output of the CLC
compiler into LLAsm. Use a temporary file instead during compilation.
Depends On: D77164 <https://reviews.llvm.org/D77164>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77165
Files:
libclc/cmake/CMakeLLAsmInformation.cmake
Index: libclc/cmake/CMakeLLAsmInformation.cmake
===================================================================
--- libclc/cmake/CMakeLLAsmInformation.cmake
+++ libclc/cmake/CMakeLLAsmInformation.cmake
@@ -1,6 +1,7 @@
if(NOT CMAKE_LLAsm_COMPILE_OBJECT)
set(CMAKE_LLAsm_COMPILE_OBJECT
- "${CMAKE_LLAsm_PREPROCESSOR} -E -P <DEFINES> <INCLUDES> <FLAGS> -x cl <SOURCE> -o - | <CMAKE_LLAsm_COMPILER> -o <OBJECT> ")
+ "${CMAKE_LLAsm_PREPROCESSOR} -E -P <DEFINES> <INCLUDES> <FLAGS> -x cl <SOURCE> -o <OBJECT>.temp"
+ "<CMAKE_LLAsm_COMPILER> -o <OBJECT> <OBJECT>.temp")
endif()
if(NOT CMAKE_LLAsm_CREATE_STATIC_LIBRARY)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77165.253967.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200331/408b0ac2/attachment-0001.bin>
More information about the llvm-commits
mailing list