-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix parallel build #280
base: dev
Are you sure you want to change the base?
Fix parallel build #280
Conversation
you mean -march=native? Definitely |
I meant the 2nd commit, that one fixes the 2nd stage. The problem was that phony target which forced a recompile The --march issue, I don't recall exactly... I build my AspireOne i386 binaries on a VM where the CPU features are forces to an older model. I'll have to look again if something needs fixing, but IMHO it's a different issue, this PR could be merged. |
I see. Sounds good. The march issue is that currently I can't build on my CPU without at least -march=native, which is miserable. I'm trying to do one failsafe build with no special instruction sets. At any rate, could you rebase this to the current state of testing please? |
@dermoth - Did you ever do a rebase? Doesn't look like it. |
Aww my bad... will try to get back at it shortly! |
4976e71
to
76dd0db
Compare
I also rebased to dev as it appears to be more current that testing... There see to be one issue though... one header file appears to have been removed from cppForSwig and fails dependency checks... Since I took the header list form existing Makefile definitions it's not really "my" bug but still breaks the build on latest code. I will not only remove it but also review changes to make sure all header files are also included there. Regards... |
DerviationScheme.h -> DerivationScheme.h
76dd0db
to
8c7cb1f
Compare
It was actually a typo... I inserted it before my commit to prevent breakages. I tested with the latest code that:
Regards, |
The dev branch is basically the 0.97 branch. It's actually broken at the moment, at least on Linux and macOS. Also, I have some PRs out there that will significantly alter the build system in 0.97. Here's what I would recommend.
Thanks for keeping this alive. Much appreciated. EDIT: If you want to see what's in the pipeline, look here. It's also against dev but I ran it against testing in order to ensure that it works. |
Just to clarify:
|
Looking back into this, the
Any interest in fixing that? FWIW we can find swig dependencies (to be added to Makefile.am) using the The last commit could be added standalone, but my recollection is that the commit alone didn't speed up that much because of all the time spend building and rebuilding swig. If there is still interest in this please let me know which branch I should rebase the fix against. Regards |
Hey. Thanks for hanging in there. The Makefile system has undergone quite a few changes in the last year or so. Some more changes will be merged into dev soon-ish. Once the changes are merged in, is there any chance that you can rebase? If you can also fix the SWIG stuff getting rebuilt every time, I'd be happy. There's a partial workaround now (disable the GUI) but if there's an efficient way to know when the SWIG stuff should be rebuilt, that would help a lot. |
A Makefile cleanup is welcomed, but consider that I'm looking to replace swig with CFFI for the next major version, so changes around swig will most likely never make it into a release at this point. |
Well unless you care about changing system libraries between tests then I would only add a couple header files as additional dependencies of CppBlockUtils_wrap.cxx, those being returned by swig itself, and remove the .PHONY target. It's a very simple change. |
Path is clear for any amount of PRs in the dev branch right now, feel free to submit. |
I need to dive into this again... I haven't needed to compile Armory for a while now. The fix was simple though - CppBlockUtils_wrap.cxx needed to depend on the swig auto-generated glue headers, and removed from .PHONY. As I said the only risk is if the libraries are swapped between builds, so if any external deps are upgraded you should start off a clean tree. |
Should we also figure out 2nd stage issue?