Open glaubitz opened 5 years ago
Is development of this continuing in another repo, or stalled due to the lengthy review process? It would be a shame for this work not to come to fruition.
@glaubitz I tried running your instructions on my fork of LLVM-M680x0 but it fails on the migrate-downstream-fork.py line. What version of python does this script take?
Never mind. It worked with Python 2.7 but not 3.7.
@SamuraiCrow I need to update the instructions anyway as I forgot to incorporate clang
as well.
@DestyNova This is the main development repository and development is indeed currently stalled but it's not going to be dropped. Also, if you want to discuss, please join #llvm-m68k
on OFTC IRC network.
Thanks @glaubitz. I joined the chatroom a week or so ago and asked there, but haven't seen any responses since. Glad to hear this effort is still moving though!
I think getting the M680x0 changes atop the main LLVM monorepo will help a lot with momentum, because it’ll make it much easier to track LLVM. I was surprised to learn this hasn’t been rebased for LLVM 8 or 9 (since it started right before the release/8.x
branch).
A simpler way to get this atop the monorepo is to:
git format-patch master..M680x0
to generate a patch set. for p in ../M680x0-patches/*.patch ; do
git am --directory=llvm "$p"
done
The entire patch set appears to apply cleanly for me. The resulting branch also easily rebases atop the LLVM monorepo’s release/8.x
branch. (I suspect rebasing atop release/9.x
will be more difficult just due to API changes…)
Just FYI, LLVM just branched for 10.0 and LLVM master is targeting 11.0 now. That means there’s a release/10.x
that could be rebased atop without being such a moving target as mainline.
LLVM upstream has recently switched from SVN to Git and created a new monorepo which includes all subprojects (llvm, clang etc) in a single repository.
To rebase M680x0-llvm to the new monorepo, the following steps have to be performed:
There is a small merge conflict that needs to be fixed manually during the rebase. After that, just run
git rebase --continue
and the rebase is complete.After that, the following two patches were necessary to fix the build together with the changes from #56:
and