x
login Signup

Are conflicts in ElectricAccelerator deterministic?

If a certain emake build says "X conflict jobs" then, assuming emake history info is deleted, will a rebuild ALWAYS show the same "X conflict jobs"?

avatar image By adrian.muresan 123 asked Feb 02, 2017 at 09:47 PM
more ▼
(comments are locked)
10|750 characters needed characters left

1 answer: sort voted first

No, conflicts are not at all deterministic. Essentially you can think of a conflict as a race condition in your build definition (makefiles) that you happened to "lose" in a given execution of that build. A second no-history run may not see the same conflicts or even the same number of conflicts -- it all depends on the exact execution time and ordering of the jobs in the build, which may vary from one build to the next depending on a wide variety of factors that are beyond the control of ElectricAccelerator.

avatar image By eric melski ♦♦ 6k answered Feb 04, 2017 at 12:47 AM
more ▼
(comments are locked)
10|750 characters needed characters left
Your answer
toggle preview:

Up to 8 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.