[PATCH] D84022: [flang] Fix multi-config generator builds.
Pete Steinfeld via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 30 08:49:50 PDT 2020
PeteSteinfeld reopened this revision.
PeteSteinfeld added a comment.
This revision is now accepted and ready to land.
I would be happy to test out-of-tree builds to determine if this change will work for them.
================
Comment at: flang/tools/f18/CMakeLists.txt:67
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/tools/flang/bin/flang ${LLVM_RUNTIME_OUTPUT_INTDIR}/flang
+ COMMAND chmod +x ${LLVM_RUNTIME_OUTPUT_INTDIR}/flang)
----------------
This command fails in an out-of-tree build because I don't have ```LLVM_RUNTIME_OUTPUT_INTDIR``` defined. This results in the build trying to copy flang to the directory `/flang`, which doesn't exist.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84022/new/
https://reviews.llvm.org/D84022
More information about the llvm-commits
mailing list