[PATCH] D28634: [buildbot] Extend libomp builder to test bot standalone and in-tree builds with and without clang bootstrapping.

Json Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 28 06:39:56 PDT 2018


lijiansong added inline comments.
Herald added a subscriber: dylanmckay.


================
Comment at: zorg/buildbot/builders/Libiomp5Builder.py:74
+    # CMake llvm and everything else that was checkout in-tree.
+    command=["cmake", "../"+llvm_srcdir,
+             "-G", "Ninja",
----------------
== how to offload with host ?==
If I want to compile device-only device code, e.g. clang foo.mlu a.cpp -o bar,
I want to get the following action graph:
for foo.mlu:
input -> preprocess->compile->backend->assemble ,
Then i will get foo.o,
for a.cpp:
input -> preprocess->compile->backend->assemble
then I will get a.o
i want to link foo.o with a.o to get bar, a.cpp is the main, while foo.mlu has the device computation logic.

How can I manage it with offload?


https://reviews.llvm.org/D28634





More information about the llvm-commits mailing list