llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Backport changes for emscripten 3.1.40 to LLVM 16

Open willcohen opened this issue 3 years ago • 19 comments

The following two commits on LLVM 17 are needed for the latest release of emscripten to build with LLVM 16 (see https://github.com/emscripten-core/emscripten/issues/19466). That release requires the functionality of https://reviews.llvm.org/D145308, and that commit appears to depend on https://reviews.llvm.org/D145431 as well. /cherry-pick 8aef04fa69a2a78fecdbc4d57174d773a7e5f2df 3111784ff7d3d51a9e981b1a0bbc8f6511c34d25

willcohen avatar May 31 '23 19:05 willcohen

(I'm not totally clear on how automated this backport process is for new contributors, but I can confirm that the two commits apply cleanly for me to the 16 branch as is.)

willcohen avatar May 31 '23 20:05 willcohen

The following two commits on LLVM 17 are needed for the latest release of emscripten to build with LLVM 16 (see https://github.com/emscripten-core/emscripten/issues/19466). That release requires the functionality of https://reviews.llvm.org/D145308, and that commit appears to depend on https://reviews.llvm.org/D145431 as well. /cherry-pick 8aef04fa69a2a78fecdbc4d57174d773a7e5f2df 3111784ff7d3d51a9e981b1a0bbc8f6511c34d25

Error: Command failed due to missing milestone.

llvmbot avatar May 31 '23 20:05 llvmbot

/cherry-pick 8aef04fa69a2a78fecdbc4d57174d773a7e5f2df 3111784ff7d3d51a9e981b1a0bbc8f6511c34d25

nikic avatar May 31 '23 20:05 nikic

/branch llvm/llvm-project-release-prs/issue63040

llvmbot avatar May 31 '23 20:05 llvmbot

/pull-request llvm/llvm-project-release-prs#462

llvmbot avatar May 31 '23 20:05 llvmbot

@llvm/issue-subscribers-lld-wasm

llvmbot avatar May 31 '23 21:05 llvmbot

Thank you!

willcohen avatar Jun 01 '23 16:06 willcohen

A test added by this cherry-pick fails on this bot and our internal ci.

https://lab.llvm.org/buildbot/#/builders/247/builds/5259

ormris avatar Jun 02 '23 23:06 ormris

These these type of merge requests not have to pass all tests before they land?

I see tree followup commits to 3111784 that would most likely be needed (although I cant say for sure if the fact that these are missing is the cause of the failure): 2ea8a3a56a51 d9d840cdaf51 d43f0889dd54

sbc100 avatar Jun 03 '23 00:06 sbc100

@sbc100 The pre-commit tests we run are here: https://github.com/llvm/llvm-project-release-prs/actions/runs/5137402525/jobs/9245441994 Like the bot, they also build with gcc on ubuntu so I wonder what is different maybe the ubuntu version?

We have some of the buildbots configured to report their status back to github (click on the green check mark here I usually check this before tagging a release. We should update this bot to report status too.

tstellar avatar Jun 03 '23 10:06 tstellar

@sbc100 The pre-commit tests we run are here: https://github.com/llvm/llvm-project-release-prs/actions/runs/5137402525/jobs/9245441994 Like the bot, they also build with gcc on ubuntu so I wonder what is different maybe the ubuntu version?

We have some of the buildbots configured to report their status back to github (click on the green check mark here I usually check this before tagging a release. We should update this bot to report status too.

This was a one-off run to try and reproduce a failure found by our internal CI, the bot normally only builds the main branch. I suggested that he trigger the release branch build on this bot as it is meant to have the exact same setup as our internal CI bot. I am going to look into seeing if we can add release build configuration to this worker.

dyung avatar Jun 05 '23 09:06 dyung

Do we know if there is a commit in main that would fix this failure?

tstellar avatar Jun 05 '23 13:06 tstellar

@sbc100 identified https://github.com/llvm/llvm-project/commit/2ea8a3a56a513484ee36c8ad12f93f35665321d1 https://github.com/llvm/llvm-project/commit/d9d840cdaf51a9795930750d1b91d614a3849137 https://github.com/llvm/llvm-project/commit/d43f0889dd5415ca43e246c6a44d688aec454ec6 as followup commits on main to what I originally requested in the backport, though couldn't confirm that it'd necessarily fix the test failure.

willcohen avatar Jun 05 '23 13:06 willcohen

Separately -- I apologize for not catching this when I was trying the backport locally, I only tested with macOS and just assumed that CI would catch any linux issues during the PR process.

willcohen avatar Jun 05 '23 13:06 willcohen

@sbc100 identified 2ea8a3a d9d840c d43f088 as followup commits on main to what I originally requested in the backport, though couldn't confirm that it'd necessarily fix the test failure.

I'll test these on our bot to see which if any fixes the test.

dyung avatar Jun 05 '23 18:06 dyung

@sbc100 identified 2ea8a3a d9d840c d43f088 as followup commits on main to what I originally requested in the backport, though couldn't confirm that it'd necessarily fix the test failure.

I'll test these on our bot to see which if any fixes the test.

I can confirm that d9d840cdaf51a9795930750d1b91d614a3849137 fixes the test issue we are seeing on our bot.

dyung avatar Jun 05 '23 21:06 dyung

/cherry-pick https://github.com/llvm/llvm-project/commit/d9d840cdaf51a9795930750d1b91d614a3849137

tstellar avatar Jun 10 '23 04:06 tstellar

/branch llvm/llvm-project-release-prs/issue63040

llvmbot avatar Jun 10 '23 05:06 llvmbot

/pull-request llvm/llvm-project-release-prs#470

llvmbot avatar Jun 10 '23 05:06 llvmbot