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
Compilation of ocaml fails in labltk with parallel jobs #4657
Comments
Comment author: @glondu When redirecting the output, the failure is not systematic. I managed to get a failure log with the following command: { ./configure && MAKEFLAGS=-j3 make world; } 2>&1|tee /tmp/build-failure.log |
Comment author: @garrigue The Objective Caml distribution has never supported parallel make. |
Comment author: @glondu If dependencies between targets were properly defined, "all" as it is now doesn't startle me (but of course, it wouldn't do the same as "world"). Nonetheless, the explicit sequencing in other targets (world, coreboot, etc.) suggests some support for parellel make. And it seems to me that ocamlbuild also supports parallel builds. Do you have any idea on how hard it would be to make OCaml parallel-build-safe? |
Comment author: @damiendoligez It's not hard to twiddle the makefiles to get a parallel make to work, but it's very hard to have any level of confidence about the parallel-safety. I don't know if there are tools to analyze makefiles for this. So maybe someday our makefiles will be parallelizable but don't hold your breath. |
Comment author: pipping This is a duplicate of bug #4243. |
Comment author: @damiendoligez Closing this PR as #4243 was fixed. |
Original bug ID: 4657
Reporter: @glondu
Status: closed (set by @xavierleroy on 2015-12-11T18:24:04Z)
Resolution: fixed
Priority: normal
Severity: feature
Version: 3.11.0+beta
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #4243
Bug description
On my computer, the compilation of ocaml always fails when called this way:
{ ./configure && MAKEFLAGS=-j3 make world; } > /tmp/build.log 2>&1
Attached is the build.log file produced by the command above. I guess it is because of some missing dependency in labltk Makefiles.
File attachments
The text was updated successfully, but these errors were encountered: