Re: [cmake-developers] Toward a more deterministic ninja generator
On 06/14/2016 11:18 AM, Nicolas Desprès wrote: > It makes the ninja generator more deterministic by sorting the > build edge's inputs/outputs. It does not introduce any > regression on my macbookpro. > > This could help to fix issue #15968. What examples of non-determinism have you observed after the changes already made for that issue? > + // We assume that commands using $in and $out varialbes do not care > + // about the order of their inputs/outputs files, but commands that do > + // not use them do care (like custom commands for instance). I'd prefer not to make this assumption. CMake should order the inputs and outputs in a deterministic way before getting to the code in question. If that is not happening then there may be a deeper problem. Sorting this late is fixing the symptom. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] codeblocks generator: Fix include directories being in unexpected order
On 06/14/2016 11:52 AM, Tobias Hunger wrote: > https://github.com/hunger/CMake/commit/f190b069db2e430fd94b25e6287cd7fbc28661e3 > > Is the same thing updated based on suggestions from Stephen. Thanks, applied: cmExtraCodeBlocksGenerator: Do not shuffle include directories https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f190b069 -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] [patch] FindIce updates
I have opened a couple of merge requests here, and also merged these into next for testing: https://gitlab.kitware.com/cmake/cmake/merge_requests/17 https://gitlab.kitware.com/cmake/cmake/merge_requests/19 The first adds support for the latest 3.6.x releases. The second adds support for finding debug variants of the library, uses SelectLibraryConfigurations and adds support for release and debug variants to the imported targets. Regards, Roger -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] [Patch] Two trivial patches fixing type in CPack/DEB testcase
Am 2016-06-16 13:37, schrieb mail6543210--- via cmake-developers: Hi there, Here're two trivial patches for testing of CPack/DEB. One is for building cmake on SELinux-enabled system, and other is for a typo in the same file form the former one. These patches is based on commit 83ae7944 First patch: When building cmake on an SELinux-enabled system, there will be an extra dot at the end of permission field of `ls -l` like this: -rwxrwxrwx. ^ this dot This makes the testing RunCMake.CPack_DEB fail. This patch add an optional dot in the regex to fix it. If it is exactly a dot and not "some random character", than you need to escape that in the regular expression as dot is the wildcard character there. Greetings, Eike -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] [Patch] Two trivial patches fixing type in CPack/DEB testcase
Hi there, Here're two trivial patches for testing of CPack/DEB. One is for building cmake on SELinux-enabled system, and other is for a typo in the same file form the former one. These patches is based on commit 83ae7944 First patch: When building cmake on an SELinux-enabled system, there will be an extra dot at the end of permission field of `ls -l` like this: -rwxrwxrwx. ^ this dot This makes the testing RunCMake.CPack_DEB fail. This patch add an optional dot in the regex to fix it. Second patch: Fix typos in testing data. This bug causes two variable undefined. Since "result" MATCHES "${expected_but_undefined_variable}" returns true, this bug has no effect. BR, Patrick From 8e642969249961aa415ba43e85814e962ebc7ef5 Mon Sep 17 00:00:00 2001 From: mail6543210Date: Thu, 16 Jun 2016 17:18:40 +0800 Subject: [PATCH 1/2] Enable building on SELinux-enabled system --- Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake b/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake index 5f929ff..ffc795d 100644 --- a/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake +++ b/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake @@ -1,17 +1,17 @@ set(foo_preinst "^echo default_preinst$") -set(foo_preinst_permissions_regex "-rwxr-xr-x .*") +set(foo_preinst_permissions_regex "-rwxr-xr-x.? .*") set(foo_prerm "^echo default_prerm$") -set(foo_prerm_permissions_regex "-rwxr-xr-x .*") +set(foo_prerm_permissions_regex "-rwxr-xr-x.? .*") verifyDebControl("${FOUND_FILE_1}" "foo" "preinst;prerm") set(bar_preinst "^echo bar_preinst$") -set(bar_prerm_permissions_regex "-rwx-- .*") +set(bar_prerm_permissions_regex "-rwx--.? .*") set(bar_prerm "^echo bar_prerm$") -set(bar_prerm_permissions_regex "-rwx-- .*") +set(bar_prerm_permissions_regex "-rwx--.? .*") verifyDebControl("${FOUND_FILE_2}" "bar" "preinst;prerm") set(bas_preinst "^echo default_preinst$") -set(bas_prerm_permissions_regex "-rwxr-xr-x .*") +set(bas_prerm_permissions_regex "-rwxr-xr-x.? .*") set(bas_prerm "^echo default_prerm$") -set(bas_prerm_permissions_regex "-rwxr-xr-x .*") +set(bas_prerm_permissions_regex "-rwxr-xr-x.? .*") verifyDebControl("${FOUND_FILE_3}" "bas" "preinst;prerm") -- 1.9.1 From 3bf160c4ea4e88858584435a0fa8c83a5702ff4e Mon Sep 17 00:00:00 2001 From: mail6543210 Date: Thu, 16 Jun 2016 17:29:40 +0800 Subject: [PATCH 2/2] Fix typos of testing data in CPack/DEB --- Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake b/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake index ffc795d..1a63e1d 100644 --- a/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake +++ b/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake @@ -5,13 +5,13 @@ set(foo_prerm_permissions_regex "-rwxr-xr-x.? .*") verifyDebControl("${FOUND_FILE_1}" "foo" "preinst;prerm") set(bar_preinst "^echo bar_preinst$") -set(bar_prerm_permissions_regex "-rwx--.? .*") +set(bar_preinst_permissions_regex "-rwx--.? .*") set(bar_prerm "^echo bar_prerm$") set(bar_prerm_permissions_regex "-rwx--.? .*") verifyDebControl("${FOUND_FILE_2}" "bar" "preinst;prerm") set(bas_preinst "^echo default_preinst$") -set(bas_prerm_permissions_regex "-rwxr-xr-x.? .*") +set(bas_preinst_permissions_regex "-rwxr-xr-x.? .*") set(bas_prerm "^echo default_prerm$") set(bas_prerm_permissions_regex "-rwxr-xr-x.? .*") verifyDebControl("${FOUND_FILE_3}" "bas" "preinst;prerm") -- 1.9.1 -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers