[cmake-developers] [CMake 0015562]: Generate the Android Make file
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15562 == Reported By:Gopi Krishnan Assigned To: == Project:CMake Issue ID: 15562 Category: CMake Reproducibility:unable to reproduce Severity: major Priority: high Status: new == Date Submitted: 2015-05-11 01:32 EDT Last Modified: 2015-05-11 01:32 EDT == Summary:Generate the Android Make file Description: I am Having C/C++ source file and trying to generate the Android Make file. But in Cmake tool seems it is not available . It is Possible to generate the Android Makefile for my C/C++ source. == Issue History Date ModifiedUsername FieldChange == 2015-05-11 01:32 Gopi Krishnan New Issue == -- 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-commits] CMake branch, master, updated. v3.2.2-1091-gdf0aa37
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via df0aa37a67e05008ac7ec175b14a0f3eaa78067e (commit) from ee3973e72a7e9775848fe806492c6e3a2feb8f47 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=df0aa37a67e05008ac7ec175b14a0f3eaa78067e commit df0aa37a67e05008ac7ec175b14a0f3eaa78067e Author: Kitware Robot kwro...@kitware.com AuthorDate: Mon May 11 00:01:05 2015 -0400 Commit: Kitware Robot kwro...@kitware.com CommitDate: Mon May 11 00:01:05 2015 -0400 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 4ba2522..081a1d1 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,5 +1,5 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 2) -set(CMake_VERSION_PATCH 20150510) +set(CMake_VERSION_PATCH 20150511) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits
Re: [CMake] CHECK_C_SOURCE_COMPILES and include_directories
Florian Weimer wrote: Is there a way to make CHECK_C_SOURCE_COMPILES honor the discovered include directories? cmake --help-module CheckCSourceCompiles The following variables may be set before calling this macro to modify the way the check is run: […] CMAKE_REQUIRED_INCLUDES = list of include directories Eike -- signature.asc Description: This is a digitally signed message part. -- 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
Re: [CMake] CHECK_C_SOURCE_COMPILES and include_directories
* Rolf Eike Beer: Florian Weimer wrote: Is there a way to make CHECK_C_SOURCE_COMPILES honor the discovered include directories? cmake --help-module CheckCSourceCompiles The following variables may be set before calling this macro to modify the way the check is run: […] CMAKE_REQUIRED_INCLUDES = list of include directories I saw that, but I thought this happens behind the scenes. Do I have to set this variable in addition to the include_directories directive? -- 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
Re: [CMake] CHECK_C_SOURCE_COMPILES and include_directories
Florian Weimer wrote: * Rolf Eike Beer: Florian Weimer wrote: Is there a way to make CHECK_C_SOURCE_COMPILES honor the discovered include directories? cmake --help-module CheckCSourceCompiles The following variables may be set before calling this macro to modify the way the check is run: […] CMAKE_REQUIRED_INCLUDES = list of include directories I saw that, but I thought this happens behind the scenes. Do I have to set this variable in addition to the include_directories directive? Yes, include_directories() only affects target, i.e. add_executable and friends, but not macros like CHECK_C_SOURCE_COMPILES. Those will explicitely look at those variables. Eike -- signature.asc Description: This is a digitally signed message part. -- 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
Re: [CMake] ctest not sending xlm-files to dashboard
You've answered your own question... Do it all with a single command, and the submit step will have the same tag as all the other steps. On Sun, May 10, 2015 at 12:37 AM, Ilias Miroslav miroslav.il...@umb.sk wrote: Hi again, I upgraded ctest to version 3.2.2, the problem remains. It seems the problem is related to re-creating new tag at the end of tests, what is happening the next day after midnight. Here we have log at the beginning of the test, 09/05/2015: configure step is done now you need to compile the sources: $ cd build_mingw64_i8_tests $ make Site: CHEMIA Build name: WinS12_MinGW64_i8_OpenBLAS_parallel_cloned Create new tag: 20150509-2153 - Miro Configure project with the proper directory name, containing xlm-files ready for output: Directory of C:\Users\milias\Documents\work\software\dirac\trunk_cloned\build_mingw64_i8_tests\Testing\20150509-2153 05/10/2015 02:38 AMDIR . 05/10/2015 02:38 AMDIR .. 05/10/2015 12:28 AM32,099 Build.xml 05/09/2015 11:53 PM 4,236 Configure.xml 05/10/2015 02:38 AM 180,342 Test.xml but again, at the end of the test (on 10/05/2015) it creates new tag 20150510-0038 - Miro, but there is no Testing\20150510-0038 subdirectory with corresponding xml-files: Site: CHEMIA Build name: WinS12_MinGW64_i8_OpenBLAS_parallel_cloned Create new tag: 20150510-0038 - Miro Submit files (using http) Send to track: Miro Using HTTP submit method Drop site:http://testboard.org/cdash/submit.php?project=DIRAC Submission successful maybe I should replace individual ctest commands ctest -D ExperimentalConfigure --track Miro 1%LOG% 21 ctest -j 2 -D ExperimentalBuild --track Miro 1%LOG% 21 ctest -j 2 -D ExperimentalTest --track Miro 1%LOG% 21 ctest -D ExperimentalSubmit --track Miro 1%LOG% 21 by one do-it-all command: ctest -j 2 -D Experimental --track Miro 1%LOG% 21 Best, Miro From: Ilias Miroslav Sent: Saturday, May 09, 2015 12:28 PM To: cmake@cmake.org Subject: ctest not sending xlm-files to dashboard Dear experts, I found that ctest is not sending resulting xml-files to the CDash-board. This is the ctest of version 3.2.0-rc1 on Windows server 2012. With the ctest -D ExperimentalSubmit command in the bat-script, which is launched automatically during the night by the Task Scheduler (when the user -me - is logged out), the report looks like: -- Site: CHEMIA Build name: WinS12_MinGW64_i8_OpenBLAS_parallel_cloned Create new tag: 20150509-0037 - Miro Submit files (using http) Send to track: Miro Using HTTP submit method Drop site:http://testboard.org/cdash/submit.php?project=DIRAC Submission successful -- I don't understand why the ctest above created the new tag, 20150509-0037 - Miro, because the desired xml-files are ready in the other subdirectory, 20150508-2152: -- Directory of C:\Users\milias\Documents\work\software\dirac\trunk_cloned\build_mingw64_i8_tests\Testing\20150508-2152 05/09/2015 02:37 AMDIR . 05/09/2015 02:37 AMDIR .. 05/09/2015 12:24 AM32,103 Build.xml 05/08/2015 11:52 PM 4,244 Configure.xml 05/09/2015 02:37 AM 179,765 Test.xml 3 File(s)216,112 bytes 2 Dir(s) 25,267,957,760 bytes free C:\Users\milias\Documents\work\software\dirac\trunk_cloned\build_mingw64_i8_tests\Testing\20150508-2152 Any help, please ? This night build spanned 05/08/2015 and 05/09/2015. Yours, Miro -- 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 -- 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
Re: [CMake] Switching configuration to icc
On May 10, 2015, at 13:16, Rahul K Soni ra...@ismu.ac.in wrote: Hi Petr Is deleting the buildsysystem means deleting the CMakeCache.txt file. How to set CC and CXX before configuring. Thanks a lot in advance. Shoot, I had top posted. Yes, you need to delete the bus directory as cmake caches settings after the initial run. Once the build directory is deleted, you need to run cmake as follows: CC=icc CXX=icpc cmake options -- 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
Re: [CMake] Switching configuration to icc
When I run like that it says CC=icc command not found. — Rahul Kumar Soni ScientistCSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 11:06 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: On May 10, 2015, at 13:16, Rahul K Soni ra...@ismu.ac.in wrote: Hi Petr Is deleting the buildsysystem means deleting the CMakeCache.txt file. How to set CC and CXX before configuring. Thanks a lot in advance. Shoot, I had top posted. Yes, you need to delete the bus directory as cmake caches settings after the initial run. Once the build directory is deleted, you need to run cmake as follows: CC=icc CXX=icpc cmake options-- 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
[CMake] Switching configuration to icc
Just to be explicit, CC and CXX are shell variables that CMake reads. So invoke like below to make for sure they are getting set correctly: export CC=icc; export CXX=icc; cmake args Caleb On Sunday, May 10, 2015, Rahul K Soni ra...@ismu.ac.in javascript:_e(%7B%7D,'cvml','ra...@ismu.ac.in'); wrote: When I run like that it says CC=icc command not found. -- Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 11:06 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: On May 10, 2015, at 13:16, Rahul K Soni ra...@ismu.ac.in wrote: Hi Petr Is deleting the buildsysystem means deleting the CMakeCache.txt file. How to set CC and CXX before configuring. Thanks a lot in advance. Shoot, I had top posted. Yes, you need to delete the bus directory as cmake caches settings after the initial run. Once the build directory is deleted, you need to run cmake as follows: CC=icc CXX=icpc cmake options -- Sent from my iPhone 4s -- 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
Re: [CMake] Switching configuration to icc
Its like a ssh remote control of cluster from putty. — Rahul Kumar Soni ScientistCSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 11:53 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: On May 10, 2015, at 14:19, Rahul K Soni ra...@ismu.ac.in wrote: When I run like that it says CC=icc command not found. Which she'll are you using? If you're using bash, that should work. If you're using csh/tcsh, precede the CC with env, as follows: env CC=icc cmake options — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 11:06 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: On May 10, 2015, at 13:16, Rahul K Soni ra...@ismu.ac.in wrote: Hi Petr Is deleting the buildsysystem means deleting the CMakeCache.txt file. How to set CC and CXX before configuring. Thanks a lot in advance. Shoot, I had top posted. Yes, you need to delete the bus directory as cmake caches settings after the initial run. Once the build directory is deleted, you need to run cmake as follows: CC=icc CXX=icpc cmake options -- 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
Re: [CMake] Switching configuration to icc
CC=icc cmake options should do the trick On May 10, 2015, at 12:18, Rahul K Soni ra...@ismu.ac.in wrote: Hello everyone I am trying to configure vtk with cmake-3.2.2 in suse-hpc cluster. Prefeerred compiler in that cluster is intel. But I don't know why when Cmake is always configuring things for gcc when it is having icc also. Please help, how to switch the configuration to icc. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul -- 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 -- 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
Re: [CMake] Switching configuration to icc
No Tom, thats not working. I did ccmake CC=icc /path/to/vtk But the result is same. — Rahul Kumar Soni ScientistCSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 10:04 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: CC=icc cmake options should do the trick On May 10, 2015, at 12:18, Rahul K Soni ra...@ismu.ac.in wrote: Hello everyone I am trying to configure vtk with cmake-3.2.2 in suse-hpc cluster. Prefeerred compiler in that cluster is intel. But I don't know why when Cmake is always configuring things for gcc when it is having icc also. Please help, how to switch the configuration to icc. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul -- 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-- 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
Re: [CMake] Switching configuration to icc
You need to set CC before invoking cmake so that cmake will know to use the Intel compilers On May 10, 2015, at 12:57, Rahul K Soni ra...@ismu.ac.in wrote: No Tom, thats not working. I did ccmake CC=icc /path/to/vtk But the result is same. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 10:04 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: CC=icc cmake options should do the trick On May 10, 2015, at 12:18, Rahul K Soni ra...@ismu.ac.in wrote: Hello everyone I am trying to configure vtk with cmake-3.2.2 in suse-hpc cluster. Prefeerred compiler in that cluster is intel. But I don't know why when Cmake is always configuring things for gcc when it is having icc also. Please help, how to switch the configuration to icc. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul -- 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 -- 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
Re: [CMake] Switching configuration to icc
And you need to do with in a *totally clean* binary directory. The compiler cannot be changed once the buildsystem has been configured at least once. Simply delete the buildsystem and start over, with the proper CC (and CXX) environment variable(s). Petr On Sun, May 10, 2015 at 7:00 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: You need to set CC before invoking cmake so that cmake will know to use the Intel compilers On May 10, 2015, at 12:57, Rahul K Soni ra...@ismu.ac.in wrote: No Tom, thats not working. I did ccmake CC=icc /path/to/vtk But the result is same. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 10:04 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: CC=icc cmake options should do the trick On May 10, 2015, at 12:18, Rahul K Soni ra...@ismu.ac.in wrote: Hello everyone I am trying to configure vtk with cmake-3.2.2 in suse-hpc cluster. Prefeerred compiler in that cluster is intel. But I don't know why when Cmake is always configuring things for gcc when it is having icc also. Please help, how to switch the configuration to icc. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul -- 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 -- 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 -- 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
Re: [CMake] Switching configuration to icc
I am really sorry Tom. I am very new to all these things. Can you just exaplain in just one or two lines, how to do that. I will really appreciate your help. I am struggling with all these from several days. — Rahul Kumar Soni ScientistCSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 10:30 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: You need to set CC before invoking cmake so that cmake will know to use the Intel compilers On May 10, 2015, at 12:57, Rahul K Soni ra...@ismu.ac.in wrote: No Tom, thats not working. I did ccmake CC=icc /path/to/vtk But the result is same. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 10:04 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: CC=icc cmake options should do the trick On May 10, 2015, at 12:18, Rahul K Soni ra...@ismu.ac.in wrote: Hello everyone I am trying to configure vtk with cmake-3.2.2 in suse-hpc cluster. Prefeerred compiler in that cluster is intel. But I don't know why when Cmake is always configuring things for gcc when it is having icc also. Please help, how to switch the configuration to icc. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul -- 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 -- 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
Re: [CMake] Switching configuration to icc
Hi Petr Is deleting the buildsysystem means deleting the CMakeCache.txt file. How to set CC and CXX before configuring. Thanks a lot in advance. — Rahul Kumar Soni ScientistCSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 10:32 PM, Petr Kmoch petr.km...@gmail.com wrote: And you need to do with in a *totally clean* binary directory. The compiler cannot be changed once the buildsystem has been configured at least once. Simply delete the buildsystem and start over, with the proper CC (and CXX) environment variable(s). Petr On Sun, May 10, 2015 at 7:00 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: You need to set CC before invoking cmake so that cmake will know to use the Intel compilers On May 10, 2015, at 12:57, Rahul K Soni ra...@ismu.ac.in wrote: No Tom, thats not working. I did ccmake CC=icc /path/to/vtk But the result is same. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 10:04 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: CC=icc cmake options should do the trick On May 10, 2015, at 12:18, Rahul K Soni ra...@ismu.ac.in wrote: Hello everyone I am trying to configure vtk with cmake-3.2.2 in suse-hpc cluster. Prefeerred compiler in that cluster is intel. But I don't know why when Cmake is always configuring things for gcc when it is having icc also. Please help, how to switch the configuration to icc. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul -- 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 -- 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 -- 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
[Cmake-commits] CMake branch, next, updated. v3.2.2-2663-g93aad74
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 93aad74a0ef9c9ae887b51891c3a9cf247bfc1ea (commit) via 0d6029c3e007a1fb308dc313fe6b08b49587bade (commit) via 3f77538ad3d984d341f515ebb725a01bbb437e0b (commit) from eefab19dc8f52df10efe4caa37b7c4fad61f0734 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=93aad74a0ef9c9ae887b51891c3a9cf247bfc1ea commit 93aad74a0ef9c9ae887b51891c3a9cf247bfc1ea Merge: eefab19 0d6029c Author: Brad King brad.k...@kitware.com AuthorDate: Sun May 10 09:28:44 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sun May 10 09:28:44 2015 -0400 Merge topic 'ctest-no-make-i' into next 0d6029c3 fixup! CTest: Stop telling 'make' to ignore errors with -i 3f77538a build_command: Choose configuration consistently across signatures http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0d6029c3e007a1fb308dc313fe6b08b49587bade commit 0d6029c3e007a1fb308dc313fe6b08b49587bade Author: Brad King brad.k...@kitware.com AuthorDate: Sun May 10 09:25:30 2015 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Sun May 10 09:25:30 2015 -0400 fixup! CTest: Stop telling 'make' to ignore errors with -i diff --git a/Tests/RunCMake/ctest_build/BuildFailure-CMP0061-OLD-result.txt b/Tests/RunCMake/ctest_build/BuildFailure-CMP0061-OLD-result.txt new file mode 100644 index 000..9cdf4a5 --- /dev/null +++ b/Tests/RunCMake/ctest_build/BuildFailure-CMP0061-OLD-result.txt @@ -0,0 +1 @@ +(0|-1|255) diff --git a/Tests/RunCMake/ctest_build/BuildFailure-CMP0061-OLD-stderr.txt b/Tests/RunCMake/ctest_build/BuildFailure-CMP0061-OLD-stderr.txt new file mode 100644 index 000..af70ac3 --- /dev/null +++ b/Tests/RunCMake/ctest_build/BuildFailure-CMP0061-OLD-stderr.txt @@ -0,0 +1,2 @@ +^(Error\(s\) when building project +)?ctest_build returned zero$ diff --git a/Tests/RunCMake/ctest_build/BuildFailure-stderr.txt b/Tests/RunCMake/ctest_build/BuildFailure-stderr.txt index c984df0..1e6ad87 100644 --- a/Tests/RunCMake/ctest_build/BuildFailure-stderr.txt +++ b/Tests/RunCMake/ctest_build/BuildFailure-stderr.txt @@ -1 +1,2 @@ -^Error\(s\) when building project$ +^Error\(s\) when building project +ctest_build returned non-zero$ diff --git a/Tests/RunCMake/ctest_build/RunCMakeTest.cmake b/Tests/RunCMake/ctest_build/RunCMakeTest.cmake index 21f9ae7..c6f732c 100644 --- a/Tests/RunCMake/ctest_build/RunCMakeTest.cmake +++ b/Tests/RunCMake/ctest_build/RunCMakeTest.cmake @@ -16,6 +16,13 @@ add_custom_target(BuildFailure ALL COMMAND command-does-not-exist) set(CASE_TEST_PREFIX_CODE [[ cmake_policy(SET CMP0061 NEW) ]]) + set(CASE_TEST_SUFFIX_CODE [[ +if (ctest_build_return_value) + message(ctest_build returned non-zero) +else() + message(ctest_build returned zero) +endif() +]]) run_ctest(BuildFailure) if (RunCMake_GENERATOR MATCHES Makefiles) diff --git a/Tests/RunCMake/ctest_build/test.cmake.in b/Tests/RunCMake/ctest_build/test.cmake.in index 6f89a65..768f1c6 100644 --- a/Tests/RunCMake/ctest_build/test.cmake.in +++ b/Tests/RunCMake/ctest_build/test.cmake.in @@ -13,4 +13,5 @@ set(CTEST_BUILD_CONFIGURATION $ENV{CMAKE_CONFIG_TYPE}) set(ctest_build_args @CASE_CTEST_BUILD_ARGS@) ctest_start(Experimental) ctest_configure() -ctest_build(${ctest_build_args}) +ctest_build(${ctest_build_args} RETURN_VALUE ctest_build_return_value) +@CASE_TEST_SUFFIX_CODE@ http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3f77538ad3d984d341f515ebb725a01bbb437e0b commit 3f77538ad3d984d341f515ebb725a01bbb437e0b Author: Brad King brad.k...@kitware.com AuthorDate: Sun May 10 09:05:52 2015 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Sun May 10 09:07:06 2015 -0400 build_command: Choose configuration consistently across signatures Teach the legacy two-argument signature to use CMAKE_CONFIG_TYPE from the environment only if it is non-empty. This makes behavior consistent with the main signature. diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx index c6c9804..62fafa5 100644 --- a/Source/cmBuildCommand.cxx +++ b/Source/cmBuildCommand.cxx @@ -130,7 +130,7 @@ bool cmBuildCommand std::string configType = Release; const char* cfg = getenv(CMAKE_CONFIG_TYPE); - if ( cfg ) + if ( cfg *cfg ) { configType = cfg; } --- Summary of changes: Source/cmBuildCommand.cxx |2 +- Tests/RunCMake/ctest_build/BuildFailure-CMP0061-OLD-result.txt |1 +
[CMake] Switching configuration to icc
Hello everyone I am trying to configure vtk with cmake-3.2.2 in suse-hpc cluster. Prefeerred compiler in that cluster is intel. But I don't know why when Cmake is always configuring things for gcc when it is having icc also. Please help, how to switch the configuration to icc. — Rahul Kumar Soni ScientistCSIR-IMMT Sent from iPad Rahul-- 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
Re: [CMake] Switching configuration to icc
And if icc is not in the path, or in a standard location that CMake looks in, you should specify the full path. i.e. export CC=/usr/bin/icc ... On Sunday, May 10, 2015, J. Caleb Wherry calebwhe...@gmail.com wrote: Just to be explicit, CC and CXX are shell variables that CMake reads. So invoke like below to make for sure they are getting set correctly: export CC=icc; export CXX=icc; cmake args Caleb On Sunday, May 10, 2015, Rahul K Soni ra...@ismu.ac.in wrote: When I run like that it says CC=icc command not found. — Rahul Kumar Soni Scientist CSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 11:06 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: On May 10, 2015, at 13:16, Rahul K Soni ra...@ismu.ac.in wrote: Hi Petr Is deleting the buildsysystem means deleting the CMakeCache.txt file. How to set CC and CXX before configuring. Thanks a lot in advance. Shoot, I had top posted. Yes, you need to delete the bus directory as cmake caches settings after the initial run. Once the build directory is deleted, you need to run cmake as follows: CC=icc CXX=icpc cmake options -- Sent from my iPhone 4s -- 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