Ticket #1881 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Implement build using CMake

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: blocker Milestone: Iteration 27
Component: Mantid Keywords:
Cc: Blocked By: #2200
Blocking: Tester: Stuart Campbell

Description

Will also include some reorganisation of the directory structure.

Will initially be done on a branch.

Change History

comment:1 Changed 10 years ago by Russell Taylor

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Russell Taylor

(In [7250]) Create a branch for code reshuffle associated with Cmake. Re #1881

comment:3 Changed 10 years ago by Russell Taylor

(In [7280]) Starting to move directories. Re #1881

comment:4 Changed 10 years ago by Russell Taylor

(In [7281]) New directory to sit at top of all compiled code. Re #1881

comment:5 Changed 10 years ago by Russell Taylor

(In [7282]) Move some directories down to new Mantid directory. Re #1881

comment:6 Changed 10 years ago by Russell Taylor

(In [7283]) More moves. Re #1881

comment:7 Changed 10 years ago by Russell Taylor

(In [7294]) Re #1881.

comment:8 Changed 10 years ago by Russell Taylor

(In [7379]) First lot of nascent CMake build files. Re #1881.

comment:9 Changed 10 years ago by Peter Peterson

(In [7420]) Made several of the directory listings explicit. Refs #1881.

comment:10 Changed 10 years ago by Stuart Campbell

(In [7442]) Remove eclipse project files. refs #1881

comment:11 Changed 10 years ago by Russell Taylor

(In [7456]) Add OpenCascade find module. Re #1881

comment:12 Changed 10 years ago by Russell Taylor

(In [7460]) Add path. Re #1881

comment:13 Changed 10 years ago by Russell Taylor

(In [7464]) Add FindNumpy module. Re #1881.

comment:14 Changed 10 years ago by Peter Peterson

(In [7496]) Made several of the directory listings explicit. Refs #1881.

comment:15 Changed 10 years ago by Peter Peterson

(In [7515]) Made several of the directory listings explicit. Refs #1881.

comment:16 Changed 10 years ago by Russell Taylor

(In [7517]) Add copying of properties and python files to Bin directory. Re #1881.

comment:17 Changed 10 years ago by Peter Peterson

(In [7543]) Making file list explicit again. Refs #1881.

comment:18 Changed 10 years ago by Michael Reuter

(In [7545]) Adding muParser path to muParser.h includes. Make the header find automatic under Linux. Should avoid shoving too many paths for includes when Windoze uses Third_Party. This refs #1881.

comment:19 Changed 10 years ago by Michael Reuter

(In [7546]) Reverting change since Russell's going to fix this properly. This refs #1881.

comment:20 Changed 10 years ago by Russell Taylor

(In [7549]) So far, can build Kernel, Geometry, API & PythonAPI on Windows. Re #1881.

comment:21 Changed 10 years ago by Russell Taylor

(In [7553]) Linux being all (case) sensitive on me. Re #1881.

comment:22 Changed 10 years ago by Peter Peterson

(In [7568]) Added path for where muparser lives on ubuntu. Refs #1881.

comment:23 Changed 10 years ago by Russell Taylor

(In [7570]) Fix unix part of FindGSL. Re #1881.

comment:24 Changed 10 years ago by Russell Taylor

(In [7589]) Add dependency on DataObjects to downstream packages. Re #1881

comment:25 Changed 10 years ago by Russell Taylor

(In [7597]) Just ICat left to build on Windows (ignoring Matlab & MD business for now). Re #1881.

comment:26 Changed 10 years ago by Russell Taylor

(In [7599]) ICat built on Windows. Re #1881.

comment:27 Changed 10 years ago by Russell Taylor

(In [7631]) Better selection of release or debug libraries. Re #1881.

comment:28 Changed 10 years ago by Russell Taylor

(In [7632]) Don't bomb out if python debug library not there. Re #1881.

comment:29 Changed 10 years ago by Russell Taylor

(In [7634]) Add selection of gsl & muparser debug libraries, if present. Re #1881.

comment:30 Changed 10 years ago by Russell Taylor

(In [7636]) Add openmp detection. Re #1881.

comment:31 Changed 10 years ago by Peter Peterson

(In [7643]) Adding macros for cxxtest. Kinda works. Refs #1881.

comment:32 Changed 10 years ago by Peter Peterson

(In [7647]) Removing version of cxxtest that we are no longer using. Refs #1881.

comment:33 Changed 10 years ago by Russell Taylor

(In [7652]) First build of MantidQtAPI. Re #1881

comment:34 Changed 10 years ago by Russell Taylor

(In [7656]) Build MantidWidgets. Re #1881.

comment:35 Changed 10 years ago by Russell Taylor

(In [7657]) Forgot to add CMakeLists file. Re #1881.

comment:36 Changed 10 years ago by Russell Taylor

(In [7658]) Build CustomDialogs. Re #1881.

comment:37 Changed 10 years ago by Russell Taylor

(In [7659]) Build CustomInterfaces. Re #1881

comment:38 Changed 10 years ago by Russell Taylor

(In [7660]) Move qwt headers into Third_Party. Re #1881.

comment:39 Changed 10 years ago by Russell Taylor

(In [7661]) Addition for Windows. Re #1881.

comment:40 Changed 10 years ago by Russell Taylor

(In [7679]) Move lower qtiplot directory and rename to MantidPlot. Re #1881.

comment:41 Changed 10 years ago by Russell Taylor

(In [7682]) Remove only reference to QHttp module, which isn't used anyway. Re #1881.

comment:42 Changed 10 years ago by Michael Reuter

(In [7685]) Ubuntu calls Qwt library qwt-qt4 so add it to check. Extra addition works on Fedora. This refs #1881.

comment:43 Changed 10 years ago by Michael Reuter

(In [7686]) First cut at getting Vates project in. It's currently off by default since Vates doesn't compile with current code in branch. This refs #1881.

comment:44 Changed 10 years ago by Russell Taylor

(In [7690]) First part of building MantidPlot. Gets up to point of needing sip. Re #1881.

comment:45 Changed 10 years ago by Michael Reuter

(In [7691]) Removing duplicately declared variables. This refs #1881.

comment:46 Changed 10 years ago by Peter Peterson

(In [7695]) Specializing the configuration of the testing executables. Refs #1881.

comment:47 Changed 10 years ago by Peter Peterson

(In [7696]) Turning on testing. Refs #1881.

comment:48 Changed 10 years ago by Peter Peterson

(In [7697]) Adding specific tests. Refs #1881.

comment:49 Changed 10 years ago by Peter Peterson

(In [7760]) Adding check target for building and running tests. This is a workaround for a bug in cmake itself. Refs #1881.

comment:50 Changed 10 years ago by Russell Taylor

(In [7767]) MantidPlot compiles, with caveats: scripting doesn't work yet; no icons/splashscreen. Re #1881.

comment:51 Changed 10 years ago by Russell Taylor

(In [7770]) Additions to get Python working in MantidPlot. Add newer FindPythonLibs than Redhat CMake has to find shared rather than static library. Re #1881.

comment:52 Changed 10 years ago by Russell Taylor

(In [7771]) Move qwt source code to main Third_Party. Re #1881.

comment:53 Changed 10 years ago by Russell Taylor

(In [7808]) Add sip business. Re #1881.

comment:54 Changed 10 years ago by Russell Taylor

(In [7814]) Factor out some of the setup that's common to the Framework and the whole lot. Re #1881.

comment:55 Changed 10 years ago by Peter Peterson

(In [7829]) Moving testing declarations back to the top level. Refs #1881.

comment:56 Changed 10 years ago by Peter Peterson

(In [7830]) Adding older released version of cxxtestgen to the search. Refs #1881.

comment:57 Changed 10 years ago by Russell Taylor

(In [7832]) Move cxxtest finding to CommonSetup script. Allow building if cxxtest not found. Re #1881.

comment:58 Changed 10 years ago by Russell Taylor

(In [7833]) Windows changes. Re #1881.

comment:59 Changed 10 years ago by Stuart Campbell

(In [7843]) Update to cxxtest (from trunk) to add timing . refs #1881

comment:60 Changed 10 years ago by Peter Peterson

(In [7844]) Adding pictures and stuff to branch. Refs #1881.

comment:61 Changed 10 years ago by Stuart Campbell

(In [7850]) Making cxxtestgen executable. refs #1881

comment:62 Changed 10 years ago by Russell Taylor

(In [7870]) Mods for Windows. Re #1881.

comment:63 Changed 10 years ago by Russell Taylor

(In [7887]) Ditch building into Plugins directory. Not required for developers and Windows ignored it anyway. Re #1881.

comment:64 Changed 10 years ago by Russell Taylor

(In [7903]) Updates, mainly for visual studio solution generation. Re #1881.

comment:65 Changed 10 years ago by Russell Taylor

(In [7904]) Re #1881.

comment:66 Changed 10 years ago by Stuart Campbell

(In [7950]) Remove Bin dir. refs #1881

comment:67 Changed 10 years ago by Nick Draper

  • Milestone changed from Iteration 26 to Iteration 27

Bulk move of tickets to iteration 27, if your ticket is essential for Iteration 26 then move it back.

comment:68 Changed 10 years ago by Stuart Campbell

(In [8216]) Removed spaces from directory. refs #1881

comment:69 Changed 10 years ago by Stuart Campbell

(In [8217]) Removed unused directory. refs #1881

comment:70 Changed 10 years ago by Stuart Campbell

(In [8345]) Added additional path for straight unix build of opencascade. refs #1881

comment:71 Changed 10 years ago by Russell Taylor

(In [8364]) Rename Framework code directory to just that. Also delete Main and VS & Eclipse project file. Re #1881.

comment:72 Changed 10 years ago by Russell Taylor

(In [8365]) Create new top-level directory called Mantid and move Framework directory into it. Re #1881.

comment:73 Changed 10 years ago by Russell Taylor

(In [8366]) Move some directories down to new Mantid directory. Re #1881

comment:74 Changed 10 years ago by Russell Taylor

(In [8367]) More moves. Re #1881

comment:75 Changed 10 years ago by Russell Taylor

(In [8368]) More moves. Re #1881

comment:76 Changed 10 years ago by Russell Taylor

(In [8369]) Rename zlib library for Windows so CMake will find it. Add Build directory containing place for some CMake files. Re #1881.

comment:77 Changed 10 years ago by Russell Taylor

(In [8370]) Add CMake files for Framework. They don't work yet. Re #1881.

comment:78 Changed 10 years ago by Russell Taylor

(In [8371]) Correct file listings. Framework now builds using CMake. Re #1881.

comment:79 Changed 10 years ago by Russell Taylor

(In [8372]) Fix up paths for Scons build and in tests. Re #1881.

comment:80 Changed 10 years ago by Russell Taylor

(In [8373]) Fixing paths in tests. Re #1881.

comment:81 Changed 10 years ago by Stuart Campbell

(In [8374]) Fixing paths in algorithms tests. refs #1881

comment:82 Changed 10 years ago by Russell Taylor

(In [8375]) Fix paths in properties files. Re #1881

comment:83 Changed 10 years ago by Russell Taylor

(In [8376]) Fix paths in DataHandling tests. Re #1881.

comment:84 Changed 10 years ago by Russell Taylor

(In [8377]) Path fixes for Scons on Windows. Re #1881.

comment:85 Changed 10 years ago by Martyn Gigg

(In [8378]) Path fixes for buildserver scripts. Re #1881.

comment:86 Changed 10 years ago by Stuart Campbell

(In [8379]) Fixing paths in algorithms tests. refs #1881

comment:87 Changed 10 years ago by Peter Peterson

(In [8380]) Making cxxtestgen executable for linux. Refs #1881.

comment:88 Changed 10 years ago by Peter Peterson

(In [8382]) Deleted executable. Refs #1881.

comment:89 Changed 10 years ago by Peter Peterson

(In [8383]) Updated list of files for CMake. Refs #1881.

comment:90 Changed 10 years ago by Peter Peterson

(In [8384]) Updated file listings. Refs #1881.

comment:91 Changed 10 years ago by Peter Peterson

(In [8385]) Added Kernel tests. Commented out the ones that don't work. Refs #1881.

comment:92 Changed 10 years ago by Peter Peterson

(In [8386]) Added tests for Geometry. Refs #1881.

comment:93 Changed 10 years ago by Peter Peterson

(In [8387]) Adding tests for API. Refs #1881.

comment:94 Changed 10 years ago by Peter Peterson

(In [8388]) Still have issues building the tests. They are currently commented out. Refs #1881.

comment:95 Changed 10 years ago by Peter Peterson

(In [8389]) Adding tests for NeXus. Refs #1881.

comment:96 Changed 10 years ago by Peter Peterson

(In [8390]) Got a bit further diagnosing AlgorithmsTest. Refs #1881.

comment:97 Changed 10 years ago by Russell Taylor

(In [8391]) Last few path fix-ups for algorithm tests. Re #1881.

comment:98 Changed 10 years ago by Russell Taylor

(In [8392]) Move TestingTools down into Mantid directory and move new cxxtest into there as well. Re #1881.

comment:99 Changed 10 years ago by Russell Taylor

(In [8393]) Fix path to moved gmock. Re #1881.

comment:100 Changed 10 years ago by Russell Taylor

(In [8394]) Move MantidQt headers into subdirectories for consistency with framework conventions and simpler build. Re #1881.

comment:101 Changed 10 years ago by Russell Taylor

(In [8395]) Move qwt headers into Third_Party. Re #1881.

comment:102 Changed 10 years ago by Russell Taylor

(In [8396]) Move lower qtiplot directory and rename to MantidPlot. Re #1881.

comment:103 Changed 10 years ago by Russell Taylor

(In [8397]) Copy over remaining CMakeLists files from branch. Re #1881.

comment:104 Changed 10 years ago by Russell Taylor

(In [8398]) Move images required for MantidPlot. Re #1881.

comment:105 Changed 10 years ago by Russell Taylor

(In [8399]) Move images. Re #1881.

comment:106 Changed 10 years ago by Russell Taylor

(In [8400]) Fix for changed library name on Windows. Re #1881.

comment:107 Changed 10 years ago by Russell Taylor

(In [8401]) Changes for compilation of MantidQt via qmake. Re #1881.

comment:108 Changed 10 years ago by Russell Taylor

(In [8402]) For now, add back copy of zlib library with old name to keep scons happy. Re #1881.

comment:109 Changed 10 years ago by Stuart Campbell

(In [8403]) Changed path to cxxtestgen script for hudson. refs #1881

comment:110 Changed 10 years ago by Russell Taylor

(In [8404]) Path fixes. Re #1881.

comment:111 Changed 10 years ago by Stuart Campbell

(In [8405]) Changed path to cxxtestgen script for hudson. refs #1881

comment:112 Changed 10 years ago by Stuart Campbell

(In [8406]) Changed path to cxxtestgen script for hudson. refs #1881

comment:113 Changed 10 years ago by Russell Taylor

(In [8407]) MantidPlot movements. Re #1881.

comment:114 Changed 10 years ago by Russell Taylor

(In [8408]) Re #1881.

comment:115 Changed 10 years ago by Russell Taylor

(In [8409]) Re #1881.

comment:116 Changed 10 years ago by Russell Taylor

(In [8411]) Have buildserver emails go out to all again. Re #1881.

comment:117 Changed 10 years ago by Russell Taylor

(In [8412]) Remove spaces in directory names. Re #1881.

comment:118 Changed 10 years ago by Russell Taylor

(In [8416]) Changes to build MantidPlot using qmake. Re #1881.

comment:119 Changed 10 years ago by Russell Taylor

(In [8417]) Properties file path changes (for scons/qmake, not cmake at this time). Re #1881.

comment:120 Changed 10 years ago by Russell Taylor

(In [8419]) Add library for mac. Re #1881.

comment:121 Changed 10 years ago by Martyn Gigg

(In [8420]) Mods for Mac build. Re #1881.

comment:122 Changed 10 years ago by Russell Taylor

(In [8421]) Fix import path for MantidPlot build report. Re #1881.

comment:123 Changed 10 years ago by Peter Peterson

(In [8422]) Adding new location of cxxtest into search path. Refs #1881.

comment:124 Changed 10 years ago by Peter Peterson

(In [8423]) Re-enabled the algorithm tests as a whole and commented out the ones that are broken. Refs #1881.

comment:125 Changed 10 years ago by Russell Taylor

(In [8424]) Add new files to enable successful MantidQt build with CMake. Re #1881.

comment:126 Changed 10 years ago by Russell Taylor

(In [8425]) Path changes for Windows build. Re #1881.

comment:127 Changed 10 years ago by Peter Peterson

(In [8426]) Removing paths that no longer exist. Refs #1881.

comment:128 Changed 10 years ago by Peter Peterson

(In [8427]) Added include and library declarations. Refs #1881.

comment:129 Changed 10 years ago by Russell Taylor

(In [8429]) Fix paths for Mac installer. Re #1881.

comment:130 Changed 10 years ago by Russell Taylor

(In [8430]) Update copied python files. Re #1881.

comment:131 Changed 10 years ago by Russell Taylor

(In [8431]) Update paths in build files for Mac installer. Re #1881.

comment:132 Changed 10 years ago by Peter Peterson

(In [8433]) Added include and library declarations. Refs #1881.

comment:133 Changed 10 years ago by Russell Taylor

(In [8434]) Paths for RPM build. Re #1881.

comment:134 Changed 10 years ago by Peter Peterson

(In [8435]) Added tests for the CurveFitting. Refs #1881.

comment:135 Changed 10 years ago by Russell Taylor

(In [8440]) Path fixes for windows installer. Re #1881.

comment:136 Changed 10 years ago by Peter Peterson

(In [8441]) Added tests for the DataHandling. Refs #1881.

comment:137 Changed 10 years ago by Peter Peterson

(In [8442]) Added tests for the DataObjects. Refs #1881.

comment:138 Changed 10 years ago by Peter Peterson

(In [8443]) Fixed bug where framework only build didn't find the tests. Refs #1881.

comment:139 Changed 10 years ago by Russell Taylor

(In [8444]) Path mistake. Re #1881.

comment:140 Changed 10 years ago by Peter Peterson

(In [8445]) Added tests for the ICat. Refs #1881.

comment:141 Changed 10 years ago by Peter Peterson

(In [8446]) Added tests for the PythonAPI without commenting out broken tests. Refs #1881.

comment:142 Changed 10 years ago by Russell Taylor

(In [8447]) Missed a couple. Re #1881.

comment:143 Changed 10 years ago by Russell Taylor

(In [8448]) Add stub CMakeLists for MD packages. Re #1881.

comment:144 Changed 10 years ago by Russell Taylor

(In [8449]) Re #1881.

comment:145 Changed 10 years ago by Peter Peterson

(In [8450]) Putting back failing tests to help others debug. Refs #1881.

comment:146 Changed 10 years ago by Peter Peterson

(In [8451]) Putting back failing tests to help others debug. Refs #1881.

comment:147 Changed 10 years ago by Russell Taylor

(In [8452]) Fix CMake build of CustomInterfaces. Re #1881.

comment:148 Changed 10 years ago by Russell Taylor

(In [8457]) Missed setting path to Third Party libs for 32 bit windows compilers. Re #1881.

comment:149 Changed 10 years ago by Russell Taylor

(In [8460]) Add custom targets to build everything in the Framework or in MantidQt. Re #1881.

comment:150 Changed 10 years ago by Peter Peterson

(In [8462]) Added back the rest of the Algorithms that don't throw exceptions or break the build. Refs #1881.

comment:151 Changed 10 years ago by Peter Peterson

(In [8465]) Adding FrameworkTests target. Refs #1881.

comment:152 Changed 10 years ago by Russell Taylor

(In [8466]) Copy Windows .lib files to bin directory as part of build. Re #1881.

comment:153 Changed 10 years ago by Russell Taylor

(In [8468]) Explicitly make the default build type Release, if none is specified. Re #1881.

comment:154 Changed 10 years ago by Michael Reuter

(In [8469]) Fix VisIt finder to correctly handle when VisIt is not found. This refs #1881.

comment:155 Changed 10 years ago by Michael Reuter

(In [8470]) Filling out CMake file for MDAlgorithms. This refs #1881.

comment:156 Changed 10 years ago by Michael Reuter

(In [8471]) Removed offending Centerpiece rebinning files from CMake as they do not compile on Linux. The rest do. This refs #1881.

comment:157 Changed 10 years ago by Michael Reuter

(In [8472]) Adding tests for MDAlgorithms. Nothing works since GMock isn't found. This refs #1881.

comment:158 Changed 10 years ago by Michael Reuter

(In [8473]) Corrected MAKE_VATES checks to use appropriate variable naming convention. This refs #1881.

comment:159 Changed 10 years ago by Peter Peterson

(In [8474]) Run each testsuite separately. Refs #1881.

comment:160 Changed 10 years ago by Alex Buts

(In [8479]) refs #1881 Changes allow building Mantid 32 or 64-bit framework on 64-bit machine depending on the choice of cmake generator (e.g 32-bit studio project for VS 2010 and 64-bit for VS 2010 Win64)

comment:161 Changed 10 years ago by Martyn Gigg

(In [8480]) A few more modifications for the RPM build scripts so that they understand the new repository structure. Re #1881

comment:162 Changed 10 years ago by Alex Buts

(In [8486]) refs #1881 Temporary added MD VS projects to facilitate development until cmake is ready to support it

The projects correct in Win32 debug version only and refer to cmake-build mantid located in ~/Code/Mantid/Win32 folder.

VS projects to test MDDataObjects and MDAlgorithms modified to work with the above mentioned build

comment:163 Changed 10 years ago by Peter Peterson

(In [8487]) A bit of code cleanup. Refs #1881.

comment:164 Changed 10 years ago by Russell Taylor

(In [8489]) Have CMake correct the paths in the Mantid.properties file. Re #1881.

comment:165 Changed 10 years ago by Peter Peterson

(In [8490]) Adding check for the version of the script that windoze uses. Refs #1881.

comment:166 Changed 10 years ago by Peter Peterson

(In [8497]) Uncommented tests that are just broken themselves. There are still a few that break everything. Refs #1881.

comment:167 Changed 10 years ago by Michael Reuter

(In [8498]) Adding GMock/GTest finders and including into CommonSetup. The finders are currently a no-op. This refs #1881.

comment:168 Changed 10 years ago by Michael Reuter

(In [8500]) Making MD* tests not dependent on GMock/GTest available to CMake. This refs #1881.

comment:169 Changed 10 years ago by Russell Taylor

[8502] checked in under wrong ticket.

comment:170 Changed 10 years ago by Stuart Campbell

(In [8504]) Commented out test that breaks the build. refs #1881

comment:171 Changed 10 years ago by Russell Taylor

(In [8505]) Fix test. Re #1881.

comment:172 Changed 10 years ago by Russell Taylor

(In [8506]) Remove use of file in RegexSupportTest. Now passes with CTest. Re #1881.

comment:173 Changed 10 years ago by Peter Peterson

(In [8507]) Modified call for cxxtestgen so it is more likely to work on windoze. Only the build server knows. Refs #1881.

comment:174 Changed 10 years ago by Peter Peterson

(In [8508]) Added an extra using directive so it would compile. Refs #1881.

comment:175 Changed 10 years ago by Michael Reuter

(In [8509]) Attempt to get GMock/GTest into CMake for real. Headers and libgmock generate a huge number of linker errors that look to be self-inflicted, so test compilation fails. No working solution found. This refs #1881.

comment:176 Changed 10 years ago by Russell Taylor

(In [8510]) Fix most API tests under CMake. Re #1881.

comment:177 Changed 10 years ago by Russell Taylor

(In [8511]) Fix Nexus test for CMake. Re #1881.

comment:178 Changed 10 years ago by Peter Peterson

(In [8512]) Adding includes and using directives so things can compile on their own. Refs #1881.

comment:179 Changed 10 years ago by Peter Peterson

(In [8513]) Commenting out tests that are using the convenience functions for creating data. The implementation needs to be moved out of the header. Refs #1881.

comment:180 Changed 10 years ago by Peter Peterson

(In [8514]) Each test header creates its own header file which is compiled separately. Refs #1881.

comment:181 Changed 10 years ago by Russell Taylor

(In [8515]) All uncommented tests in DataHandling pass with CMake. Re #1881.

comment:182 Changed 10 years ago by Russell Taylor

(In [8516]) Delete no-longer-needed properties file. Re #1881.

comment:183 Changed 10 years ago by Russell Taylor

(In [8519]) Add back in some tests that now pass under CMake. Re #1881.

comment:184 Changed 10 years ago by Russell Taylor

(In [8521]) Add more tests back into CMake. Re #1881.

comment:185 Changed 10 years ago by Martyn Gigg

(In [8524]) Missed necessary changes to the nightly build script for the RPM when testing locally. Should fix automated RPM build now. Re #1881

comment:186 Changed 10 years ago by Martyn Gigg

(In [8525]) One more path fix for RPM auto build script. Re #1881

comment:187 Changed 10 years ago by Peter Peterson

(In [8529]) Putting some tests back in. Thanks Martyn. Refs #1881 and #2196.

comment:188 Changed 10 years ago by Peter Peterson

(In [8530]) Putting some tests back in. Thanks Martyn. Refs #1881 and #2196.

comment:189 Changed 10 years ago by Michael Reuter

(In [8533]) Building of VisIt dependent projects is now available in CMake system. This refs #1881.

comment:190 Changed 10 years ago by Peter Peterson

(In [8535]) Putting in another test. Refs #1881 and #2196.

comment:191 Changed 10 years ago by Martyn Gigg

(In [8537]) Tell scons to build the new TestHelpers package so that ISIS buildservers are still happy with moving the test helpers while the CMake transition is still in progress. Refs #2196 and #1881

comment:192 Changed 10 years ago by Peter Peterson

(In [8544]) Putting back more tests. Refs #1881 and #2196.

comment:193 Changed 10 years ago by Peter Peterson

(In [8546]) Putting back more tests in CMake. Refs #1881 and #2196.

comment:194 Changed 10 years ago by Michael Reuter

(In [8547]) Removing wrongly included test file. This refs #1881.

comment:195 Changed 10 years ago by Michael Reuter

(In [8548]) Consolidating Vates setup. This refs #1881.

comment:196 Changed 10 years ago by Michael Reuter

(In [8549]) Removing no longer needed module. This refs #1881.

comment:197 Changed 10 years ago by Peter Peterson

(In [8551]) Putting more tests into cmake. Refs #1881.

comment:198 Changed 10 years ago by Michael Reuter

(In [8552]) Streamlining VTK libraries for VisitPresenters. This refs #1881.

comment:199 Changed 10 years ago by Peter Peterson

(In [8553]) Putting more tests into cmake. Refs #1881.

comment:200 Changed 10 years ago by Michael Reuter

(In [8554]) Hiding VisitPresenters tests in CMake until GMock/GTest issue resolved. This refs #1881.

comment:201 Changed 10 years ago by Peter Peterson

(In [8555]) Putting more tests into cmake. Refs #1881.

comment:202 Changed 10 years ago by Peter Peterson

(In [8556]) Putting more tests into cmake. Refs #1881.

comment:203 Changed 10 years ago by Peter Peterson

(In [8557]) Removed relative path. Refs #1881.

comment:204 Changed 10 years ago by Peter Peterson

(In [8558]) Removing relative paths and adding more tests back. Refs #1881.

comment:205 Changed 10 years ago by Peter Peterson

(In [8560]) Changing the comments in the code. Refs #1881.

comment:206 Changed 10 years ago by Russell Taylor

(In [8563]) Fix cxxtest timing on Windows. Re #1881.

comment:207 Changed 10 years ago by Peter Peterson

(In [8564]) Adding a switch so all tests can be run at once for the log files to work out for hudson. Refs #1881.

comment:208 Changed 10 years ago by Michael Reuter

(In [8565]) Commenting out strange MDAlgorithm tests from CMake. This refs #1881.

comment:209 Changed 10 years ago by Peter Peterson

(In [8567]) Renamed tests. Refs #2172 and #1881.

comment:210 Changed 10 years ago by Michael Reuter

(In [8569]) Harmonizing names of test classes to file names to make CMake happy. This refs #1881.

comment:211 Changed 10 years ago by Michael Reuter

(In [8570]) Fixing file paths for tests. This refs #1881.

comment:212 Changed 10 years ago by Peter Peterson

(In [8571]) Renamed tests. Refs #2172 and #1881.

comment:213 Changed 10 years ago by Michael Reuter

(In [8572]) Fixing more paths. This refs #1881.

comment:214 Changed 10 years ago by Peter Peterson

(In [8573]) Renamed tests. Refs #2172 and #1881.

comment:215 Changed 10 years ago by Peter Peterson

(In [8574]) Renamed tests. Refs #2172 and #1881.

comment:216 Changed 10 years ago by Peter Peterson

(In [8575]) Renamed tests. Refs #2172 and #1881.

comment:217 Changed 10 years ago by Russell Taylor

(In [8576]) Make file listings explicit for MantidQt. Re #1881.

comment:218 Changed 10 years ago by Stuart Campbell

(In [8577]) Made test filename match classname. refs #2172 & #1881 & #2180

comment:219 Changed 10 years ago by Alex Buts

(In [8579]) refs #1881 HDf5 has been sorted out for VATES and Win (at least 32) MDDataObjects and MDAlgorithms build successfully, so redundant VS projects deleted Tests have not been sorted yet, so remain as VS projects linked to cmake-generated solution

refs #1637 testDataGenerator class added as class to "read" artificial data for rebinning. (not fully functional yet)

comment:220 Changed 10 years ago by Peter Peterson

(In [8580]) Refs #1881.

comment:221 Changed 10 years ago by Peter Peterson

(In [8581]) Refs #1881

comment:222 Changed 10 years ago by Peter Peterson

(In [8583]) Removed debug comment. Refs #1881.

comment:223 Changed 10 years ago by Michael Reuter

(In [8585]) Putting Vates directory back into build. This refs #1881.

comment:224 Changed 10 years ago by Peter Peterson

(In [8586]) Tests should be setting the working directory correctly now. Refs #1881.

comment:225 Changed 10 years ago by Peter Peterson

(In [8588]) Renaming more tests so they run. Refs #1881 and #2172.

comment:226 Changed 10 years ago by Martyn Gigg

(In [8589]) Small update to scons build to ensure it is correctly updating the repository when it runs a build. The strange failure on windows 64 is actually correct and the rest are passing when they shouldn't./MantidPlot Re #1881

comment:227 Changed 10 years ago by Peter Peterson

(In [8591]) Refs #1881 and #2172.

comment:228 Changed 10 years ago by Russell Taylor

(In [8593]) Fix failing ConfigServiceTest for CMake - it was relying on a relative path existing that (possibly) didn't. Re #1881.

comment:229 Changed 10 years ago by Martyn Gigg

(In [8595]) Update linker list for PythonAPI on Unix targets to avoid the odd segfaulting bug that seems to plague the standalone python interpreter when we import Mantid. Re #1881

comment:230 Changed 10 years ago by Michael Reuter

(In [8596]) Removing debug statements. This refs #1881.

comment:231 Changed 10 years ago by Michael Reuter

(In [8597]) Adding debug lib for debug build. This refs #1881.

comment:232 Changed 10 years ago by Michael Reuter

(In [8598]) Adding GMock libs for VisitPresenters. This refs #1881.

comment:233 Changed 10 years ago by Peter Peterson

(In [8599]) Refs #1881 and #2172.

comment:234 Changed 10 years ago by Michael Reuter

(In [8604]) Harmonizing more test names. This refs #1881.

comment:235 Changed 10 years ago by Michael Reuter

(In [8605]) Fixing file paths for tests. This refs #1881.

comment:236 Changed 10 years ago by Michael Reuter

(In [8608]) Adding VATES directory to data search path. This refs #1881.

comment:237 Changed 10 years ago by Michael Reuter

(In [8609]) Fixing file paths for tests. This refs #1881.

comment:238 Changed 10 years ago by Michael Reuter

(In [8610]) Adding gmock debug library finding. This refs #1881.

comment:239 Changed 10 years ago by Russell Taylor

(In [8611]) More fleshing out of file listings in MantidQt. Re #1881.

comment:240 Changed 10 years ago by Michael Reuter

(In [8612]) Adding API tests that require GMock. This refs #1881.

comment:241 Changed 10 years ago by Peter Peterson

(In [8616]) Refs #1881.

comment:242 Changed 10 years ago by Russell Taylor

(In [8617]) Windows preprocessor definitions need to be set at more precise level. Re #1881.

comment:243 Changed 10 years ago by Russell Taylor

(In [8618]) One more directory needs updating on buildservers. Re #1881.

comment:244 Changed 10 years ago by Russell Taylor

(In [8619]) Re #1881.

comment:245 Changed 10 years ago by Peter Peterson

(In [8621]) Refs #1881 and #2172.

comment:246 Changed 10 years ago by Peter Peterson

(In [8623]) Putting more tests in. Refs #1881.

comment:247 Changed 10 years ago by Russell Taylor

(In [8625]) Change exception type that Visual Studio compiler was suddenly very unhappy with under CMake (or newer cxxtest). Re #1881.

comment:248 Changed 10 years ago by Peter Peterson

(In [8626]) Putting more tests in. Refs #1881.

comment:249 Changed 10 years ago by Peter Peterson

(In [8627]) Putting more tests in. Refs #1881 and #2172.

comment:250 Changed 10 years ago by Peter Peterson

(In [8628]) Refs #1881.

comment:251 Changed 10 years ago by Peter Peterson

(In [8629]) Excluding TestHelpers from the all target. Refs #1881.

comment:252 Changed 10 years ago by Russell Taylor

(In [8631]) Make sure returned variable is initialized. Re #1881.

comment:253 Changed 10 years ago by Russell Taylor

(In [8634]) Fix another uninitialised variable that Windows debug doesn't like. Re #1881.

comment:254 Changed 10 years ago by Peter Peterson

(In [8637]) Marked tests that are increasing testing time from 97s to 426s just by loading data in the constructors. Refs #1881.

comment:255 Changed 10 years ago by Russell Taylor

(In [8644]) Fix FindNumpy to correctly fail if Numpy not found and FindPoco not to fail if debug libraries not present. Re #1881.

comment:256 Changed 10 years ago by Anders Markvardsen

(In [8649]) Trying to install with cmake on new win64 machine. It was found difficult to install python in HKEY_LOCAL_MACHINE hence modified FindPythonLibs.cmake to also look in HKEY_CURRENT_USER. re #1881

comment:257 Changed 10 years ago by Stuart Campbell

(In [8655]) Add google mock static library for Fedora 14 x86_64. refs #1881

comment:258 Changed 10 years ago by Michael Reuter

(In [8665]) Adding libgmock.a to ignore list for directory. This will also avoid accidental check-in of this library at list level since the correct version for a given Linux OS should come from one of the directories below. This refs #1881.

comment:259 Changed 10 years ago by Michael Reuter

(In [8667]) Ignoring auto-generated Eclipse project file. This refs #1881.

comment:260 Changed 10 years ago by Peter Peterson

  • Blocked By 2225 added

(In #2225) (In [8692]) Looping over python files. Refs #1881 and #2225.

comment:261 Changed 10 years ago by Russell Taylor

(In [8696]) Switch to using Mantid.properties file from Properties directory. Re #1881.

comment:262 Changed 10 years ago by Peter Peterson

(In [8702]) KernelTest no longer depends on TestHelpers. Refs #1881.

comment:263 Changed 10 years ago by Peter Peterson

(In [8703]) Forgot to export the class declaration for windows. Refs #1881.

comment:264 Changed 10 years ago by Peter Peterson

(In [8719]) Removed dependency on TestChannel.cpp since it isn't where the config file said. Refs #1881.

comment:265 Changed 10 years ago by Peter Peterson

(In [8721]) Adding test headers to list of dependencies for the test executables. Refs #1881.

comment:266 Changed 10 years ago by Mathieu Doucet

(In [8723]) Fixing MantidPlot to find pyqt interfaces. That broke with the last commit on this ticket. Russell, can you confirm that @MANTID_ROOT@ will always be an absolute path (as opposed to being relative to the bin directory as it was before)? Re #1881

comment:267 Changed 10 years ago by Stuart Campbell

(In [8725]) refs #1881

comment:268 Changed 10 years ago by Russell Taylor

(In [8731]) .properties and python files should be copied to correct directory for Visual Studio builds as well now. Re #1881.

comment:269 Changed 10 years ago by Russell Taylor

(In [8732]) Make CMake configuration fail if PyQt isn't found. Re #1881.

comment:270 Changed 10 years ago by Mathieu Doucet

(In [8733]) Added mantidqt.python_interfaces_directory as one of the Mantid properties that needs to be transformed from relative to absolute. Re #1881

comment:271 Changed 10 years ago by Peter Peterson

(In [8734]) Do not check in vs project files. Refs #1881.

comment:272 Changed 10 years ago by Peter Peterson

(In [8736]) Adding a test to make sure python can see MantidFramework. Refs #1881.

comment:273 Changed 10 years ago by Peter Peterson

(In [8744]) Ignoring some standard names for build directories. Refs #1881.

comment:274 Changed 10 years ago by Russell Taylor

(In [8745]) Group test targets into a folder in Visual Studio. Re #1881.

comment:275 Changed 10 years ago by Russell Taylor

(In [8747]) Re #1881.

comment:276 Changed 10 years ago by Russell Taylor

(In [8750]) Edit FileFinderTest to prevent constructor & destructor being called when running other tests. Re #1881.

comment:277 Changed 10 years ago by Russell Taylor

(In [8770]) Fix some image filenames and paths that had changed. Re #1881.

comment:278 Changed 10 years ago by Russell Taylor

(In [8777]) Make sure the properties file works for people only compiling the Framework project. Re #1881.

comment:279 Changed 10 years ago by Russell Taylor

(In [8778]) Fix ConfigServiceTest to work even if run from a different working directory. Re #1881.

comment:280 Changed 10 years ago by Stuart Campbell

(In [8779]) Added gmock lib for fedora 13. refs #1881

comment:281 Changed 10 years ago by Russell Taylor

(In [8784]) Ensure FilePropertyTest works if run from different directory to executable. Re #1881.

comment:282 Changed 10 years ago by Russell Taylor

(In [8789]) Hack PythonAPI tests so that they will pass when run from a different directory. The temptation to just rename the executable to PithonAPITest was strong, but resisted. Re #1881.

comment:283 Changed 10 years ago by Martyn Gigg

(In [8791]) Implmented a CMake config script for the Qt designer plugins. Refs #1881

comment:284 Changed 10 years ago by Martyn Gigg

(In [8793]) Update parent directory CMake file to tell it about the new child. Refs #1881

comment:285 Changed 10 years ago by Peter Peterson

(In [8798]) Adding xml report gereator for python unittests. Refs #1881.

comment:286 Changed 10 years ago by Peter Peterson

(In [8800]) Adding script to generate driver scripts for running sets of python unit tests. Refs #1881.

comment:287 Changed 10 years ago by Peter Peterson

(In [8802]) Fixed small bug when the directory has a trailing slash. Refs #1881.

comment:288 Changed 10 years ago by Peter Peterson

(In [8816]) Adding the rest of the functionality for running python unittests. Refs #1881.

comment:289 Changed 10 years ago by Peter Peterson

(In [8817]) First set of python tests. Refs #1881.

comment:290 Changed 10 years ago by Peter Peterson

(In [8830]) Changing import to make them a bit more useful. Refs #1881.

comment:291 Changed 10 years ago by Peter Peterson

(In [8831]) Added the numpy tests to ctest. Commented out the one test that doesn't work. Refs #1881.

comment:292 Changed 10 years ago by Russell Taylor

(In [8838]) Explicitly list all files in MantidPlot CMakeLists. Re #1881.

comment:293 Changed 10 years ago by Peter Peterson

(In [8839]) Fixed small bug in appending dependencies list. Refs #1881.

comment:294 Changed 10 years ago by Peter Peterson

(In [8842]) Being more honest about testing dependencies. Refs #1881.

comment:295 Changed 10 years ago by Peter Peterson

(In [8843]) Removing debug print. Refs #1881.

comment:296 Changed 10 years ago by Peter Peterson

(In [8844]) Corrected names of python unit tests. Refs #1881.

comment:297 Changed 10 years ago by Russell Taylor

(In [8857]) Add UserAlgorithms to CMake build (builds as part of test target). Re #1881.

comment:298 Changed 10 years ago by Stuart Campbell

(In [8859]) Removed path for test file. refs #1881

comment:299 Changed 10 years ago by Russell Taylor

(In [8861]) Change python unit tests to use algorithm from (much much smaller) UserAlgorithms library. Re #1881.

comment:300 Changed 10 years ago by Peter Peterson

(In [8862]) Bundling all of the pyunit tests into a single run. Refs #1881.

comment:301 Changed 10 years ago by Russell Taylor

(In [8864]) Fix for test under scons. Re #1881.

comment:302 Changed 10 years ago by Martyn Gigg

(In [8871]) Update the DesignerPlugins CMake file to move the libraries to the correct location after the build. Visual Studio seems unwillingly to accept setting the target location to a sub directory. Re #1881

comment:303 Changed 10 years ago by Martyn Gigg

(In [8882]) Added the /MP flag to WindowsSetup.cmake to enable multiprocessor builds within Visual Studio. Re #1881

comment:304 Changed 10 years ago by Mathieu Doucet

(In [8902]) Added python unittests for Scripts. Re #1881

comment:305 Changed 10 years ago by Peter Peterson

(In [8909]) Attaching the reduction tests to FrameworkTests. Refs #1881.

comment:306 Changed 10 years ago by Peter Peterson

(In [8911]) Removed path from data specification. Refs #1881.

comment:307 Changed 10 years ago by Stuart Campbell

(In [8990]) Added gmock library for RHEL6. refs #1881

comment:308 Changed 10 years ago by Russell Taylor

(In [9018]) Make tests more robust to parallel running by using unique file names. Re #1881.

comment:309 Changed 10 years ago by Russell Taylor

(In [9019]) Hoping to prevent occasional test failure. Re #1881.

comment:310 Changed 10 years ago by Russell Taylor

(In [9026]) Trying to get python tests to work with VS. Re #1881.

comment:311 Changed 10 years ago by Peter Peterson

(In [9027]) This may solve the issue of python files not being installed for linux. Refs #1881.

comment:312 Changed 10 years ago by Martyn Gigg

(In [9049]) Add a GNUSetup file to the CMake setup scripts. This contains options that only apply to the gcc/g++ compilers. At the moment it just activates the usual wrarning sets that we were missing. Apologies for creating a far messier compile output but these really should be on. Re #1881

comment:313 Changed 10 years ago by Martyn Gigg

(In [9050]) Forgot to include the GNUSetup in the main CMake script. Re #1881

comment:314 Changed 10 years ago by Martyn Gigg

(In [9072]) Add a compiler flag for windows compilers that have an issue with large objects that are generated by boost::python's template code. Re #1881

comment:315 Changed 10 years ago by Russell Taylor

(In [9078]) There was a "PROPERTIES" missing in the line added on the last commit of this file. Also made the file look neater at the same time. Re #1881.

comment:316 Changed 10 years ago by Russell Taylor

(In [9157]) Fix a couple of problems with the Mac installer. Re #1881.

comment:317 Changed 10 years ago by Russell Taylor

(In [9158]) Re #1881.

comment:318 Changed 10 years ago by Michael Reuter

(In [9249]) Adding dependency so Python tests build from check target. This refs #1881.

comment:319 Changed 10 years ago by Russell Taylor

(In [9391]) Tidy up targets in Visual Studio. Re #1881.

comment:320 Changed 10 years ago by Peter Peterson

(In [9450]) Test outputs are in bin/Testing. Should make it easier to see what is built. Refs #1881.

comment:321 Changed 10 years ago by Nick Draper

  • Blocked By 2200 added

comment:322 Changed 10 years ago by Russell Taylor

  • Status changed from accepted to verify
  • Resolution set to fixed

Time to close this mega-ticket. Further work can be done on new (smaller) tickets.

comment:323 Changed 10 years ago by Stuart Campbell

  • Status changed from verify to verifying
  • Tester set to Stuart Campbell

comment:324 Changed 10 years ago by Stuart Campbell

  • Status changed from verifying to closed

We do indeed have a build using cmake.

comment:325 Changed 10 years ago by Nick Draper

  • Blocked By 2225 removed

(In #2225) Bulk move of tickets at the end of iteration 27

comment:326 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2728

Note: See TracTickets for help on using tickets.