On Wed, Mar 18, 2020 at 03:40:47PM +0100, Jeremie Courreges-Anglas wrote: > I got curious about which problems could result from the current deps > layout. So here's an attempt to switch all the llvm subpackages to > python3. Thanks a lot!
> While here: > - also byte-compile the .py files in the lldb subpackage. compileall.py > tripped up over symbolication.py so process this file with 2to3 > - drop gtest from PLIST and rdeps. To be committed seperately, but > might as well ride this change. OK for gtest removal now, the rest I'd like to build and run through fake/update-plist/etc. myself first (build takes long!) > make update works fine with a py-llvm->py3-llvm quirks entry. > import lldb, lldb.formatters, lldb.runtime, lldb.utils, clang and > clang.cindex don't explode in flight, scan-view also works > fine, hmaptool and git-clang-formatter *seem* to be happy. Sounds very good, I'll try some runtime tests as well. > post-build: > - cd ${WRKSRC}/docs && make -f Makefile.sphinx man > - cd ${WRKSRC}/tools/clang/docs && make -f Makefile.sphinx man > + cd ${WRKSRC}/docs && \ > + make -f Makefile.sphinx man > SPHINXBUILD="sphinx-build${MODPY_BIN_SUFFIX}" > + cd ${WRKSRC}/tools/clang/docs && \ > + make -f Makefile.sphinx man > SPHINXBUILD="sphinx-build${MODPY_BIN_SUFFIX}" s/make/${MAKE_PROGRAM}/ I guess, also there's -C instead of cd.