Add offload support to the dist-x86_64-linux CI job - #159064
Conversation
|
@bors delegate try |
|
✌️ @sgasho, you can now perform try builds on this pull request! You can now post |
|
@bors try jobs=dist-x86_64-linux |
Build offload in dist-x86_64-linux CI job try-job: dist-x86_64-linux
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=dist-x86_64-linux |
This comment has been minimized.
This comment has been minimized.
Build offload in dist-x86_64-linux CI job try-job: dist-x86_64-linux
|
💔 Test for 7b815a7 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=dist-x86_64-linux |
This comment has been minimized.
This comment has been minimized.
Build offload in dist-x86_64-linux CI job try-job: dist-x86_64-linux
|
@bors try jobs=dist-x86_64-linux |
This comment has been minimized.
This comment has been minimized.
Build offload in dist-x86_64-linux CI job try-job: dist-x86_64-linux
|
|
|
@bors try jobs=dist-x86_64-linux |
This comment has been minimized.
This comment has been minimized.
Add offload support to the dist-x86_64-linux CI job try-job: dist-x86_64-linux
this PR?: #149827 |
|
💔 Test for 0dc28a1 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
The GCC mirror now needs TLS 1.3.
|
@bors try jobs=dist-x86_64-linux |
This comment has been minimized.
This comment has been minimized.
Add offload support to the dist-x86_64-linux CI job try-job: dist-x86_64-linux
|
💔 Test for e3aafc7 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=dist-x86_64-linux |
This comment has been minimized.
This comment has been minimized.
Add offload support to the dist-x86_64-linux CI job try-job: dist-x86_64-linux
|
Yeah, hopefully it is easier to get to work for offload since we have no typetrees and generally a lot less functions which should require offload. I don't fully remember if you'll only need both of libomptarget and libomp or just one, but just go with whatever works. Also remember to build your PR on the llvm23 commit, since that should land in a day (famous last words). |
|
☔ The latest upstream changes (presumably #160284) made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
dlopen offload dlopen offload to dist it in dist-x86_64-linux without enabling llvm.offload=true in CI (rust-lang#159064 (comment)) I tested that this works by following steps at https://rustc-dev-guide.rust-lang.org/offload/usage.html for both LLVM22 and 23(by switch base branch to rust-lang#158734 temporarily), though It might be better to land this after LLVM 23. r? @ZuseZ4
dlopen offload dlopen offload to dist it in dist-x86_64-linux without enabling llvm.offload=true in CI (rust-lang#159064 (comment)) I tested that this works by following steps at https://rustc-dev-guide.rust-lang.org/offload/usage.html for both LLVM22 and 23(by switch base branch to rust-lang#158734 temporarily), though It might be better to land this after LLVM 23. r? @ZuseZ4
dlopen offload dlopen offload to dist it in dist-x86_64-linux without enabling llvm.offload=true in CI (rust-lang#159064 (comment)) I tested that this works by following steps at https://rustc-dev-guide.rust-lang.org/offload/usage.html for both LLVM22 and 23(by switch base branch to rust-lang#158734 temporarily), though It might be better to land this after LLVM 23. r? @ZuseZ4
dlopen offload dlopen offload to dist it in dist-x86_64-linux without enabling llvm.offload=true in CI (rust-lang#159064 (comment)) I tested that this works by following steps at https://rustc-dev-guide.rust-lang.org/offload/usage.html for both LLVM22 and 23(by switch base branch to rust-lang#158734 temporarily), though It might be better to land this after LLVM 23. r? @ZuseZ4
dlopen offload dlopen offload to dist it in dist-x86_64-linux without enabling llvm.offload=true in CI (rust-lang#159064 (comment)) I tested that this works by following steps at https://rustc-dev-guide.rust-lang.org/offload/usage.html for both LLVM22 and 23(by switch base branch to rust-lang#158734 temporarily), though It might be better to land this after LLVM 23. r? @ZuseZ4
dlopen offload dlopen offload to dist it in dist-x86_64-linux without enabling llvm.offload=true in CI (rust-lang#159064 (comment)) I tested that this works by following steps at https://rustc-dev-guide.rust-lang.org/offload/usage.html for both LLVM22 and 23(by switch base branch to rust-lang#158734 temporarily), though It might be better to land this after LLVM 23. r? @ZuseZ4
Rollup merge of #160335 - sgasho:dlopen_offload, r=ZuseZ4 dlopen offload dlopen offload to dist it in dist-x86_64-linux without enabling llvm.offload=true in CI (#159064 (comment)) I tested that this works by following steps at https://rustc-dev-guide.rust-lang.org/offload/usage.html for both LLVM22 and 23(by switch base branch to #158734 temporarily), though It might be better to land this after LLVM 23. r? @ZuseZ4
dlopen offload dlopen offload to dist it in dist-x86_64-linux without enabling llvm.offload=true in CI (rust-lang/rust#159064 (comment)) I tested that this works by following steps at https://rustc-dev-guide.rust-lang.org/offload/usage.html for both LLVM22 and 23(by switch base branch to rust-lang/rust#158734 temporarily), though It might be better to land this after LLVM 23. r? @ZuseZ4


View all comments
Add offload support to the dist-x86_64-linux CI job
This enables users to compile offload code without building rustc from source
I checked the tarballs work by compiling & running the sample offload code here:
https://rustc-dev-guide.rust-lang.org/offload/usage.html
There are two changes affect outside of offload (I left github comments on the relevant sections). So,
r? @Kobzol
r? @jieyouxu
r? @ZuseZ4