Notes |
|
(0040467)
|
Brad King
|
2016-02-10 14:12
(edited on: 2016-02-11 08:56) |
|
|
|
(0040468)
|
Chris
|
2016-02-10 17:13
|
|
Even with the applied patch I'm still seeing differences in the build.ninja files. A lot less differences than previously, but target orders are still different.
I don't expect that those should impact the build output. I have a test build running.
I applied your patch on top of CMake 3.5.0 rc2. |
|
|
(0040469)
|
Chris
|
2016-02-10 17:26
|
|
My build completed. While the ninja files are not identical, the generated binaries are.
Thanks for the rapid fix. Any chance this can get nominated for 3.5.0? |
|
|
(0040471)
|
Brad King
|
2016-02-11 08:59
|
|
Re 0015968:0040469: The development window for 3.5 is closed:
https://cmake.org/pipermail/cmake-developers/2016-February/027637.html [^]
We typically don't add non-regression fixes after rc1 because every change risks a new regression and therefore undermines rc testing already done by others.
Meanwhile we should work further to eliminate the non-determinism you're seeing. I just generated a LLVM build tree with "-G Ninja" twice and got identical build.ninja files. What differences do you see? |
|
|
(0040476)
|
Chris
|
2016-02-11 16:21
|
|
I'm still seeing a lot of dependencies being re-ordered.
With your patch I'm no longer seeing randomization in the order that targets appear in the file.
One example diff I'm seeing is the first run has:
build cmake_order_depends_target_llvm-tblgen: phony || lib/libLLVMSupport.a lib/libLLVMTableGen.a utils/TableGen/obj.llvm-tblgen
The second run has:
build cmake_order_depends_target_llvm-tblgen: phony || utils/TableGen/obj.llvm-tblgen lib/libLLVMSupport.a lib/libLLVMTableGen.a
This is less important than the other diffs because it doesn't impact the final built product. |
|
|
(0040477)
|
Brad King
|
2016-02-12 08:58
|
|
|
|
(0040480)
|
Chris
|
2016-02-12 19:27
|
|
With that patch the ninja files are identical. I tested by comparing 3 subsequent builds.
Thanks for the rapid fix! |
|
|
(0040493)
|
Brad King
|
2016-02-16 09:45
|
|
Great, thanks for testing!
|
|
|
(0041252)
|
Kitware Robot
|
2016-06-10 14:21
|
|
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|