[torquedev] CMake'ing Torque

Dominique Belhachemi domibel at cs.tu-berlin.de
Thu Apr 8 10:10:18 MDT 2010


Hi,

maui is not ready yet, I still have to deal with some *.h.in files. But
if I use the autotools output then CMake's build output looks quiet good
to me. A logfile for maui is attached.

Cheers
Dominique



On Wed, 2010-04-07 at 11:44 -0400, Dominique Belhachemi wrote: 
> On Wed, 2010-04-07 at 08:21 -0700, Garrick Staples wrote:
> 
> > 
> > Let's start with maui. It needs buildsystem love.
> > 
> OK. I will have a look at it.
> 
> Cheers
> Dominique


-------------- next part --------------
$ ls
bin        CMakeLists.txt  config.status  configure.ac  docs  include  LICENSE          log       Makefile.in    maui.cfg.dist.in  maui-private.cfg       maui-private.cfg.dist.in  spool  stats  traces
CHANGELOG  config.log      configure      contrib       etc   lib      LICENSE.mcompat  Makefile  maui.cfg.dist  maui.ck           maui-private.cfg.dist  README                    src    tools


$ mkdir build
$ cd build/

$ cmake ..
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/maui-3.3/build


$ make
[  1%] Building C object src/moab/CMakeFiles/moab.dir/MFile.c.o
[  3%] Building C object src/moab/CMakeFiles/moab.dir/MConfig.c.o
[  5%] Building C object src/moab/CMakeFiles/moab.dir/MQOS.c.o
[  7%] Building C object src/moab/CMakeFiles/moab.dir/MLog.c.o
[  9%] Building C object src/moab/CMakeFiles/moab.dir/MCred.c.o
[ 11%] Building C object src/moab/CMakeFiles/moab.dir/MSched.c.o
[ 13%] Building C object src/moab/CMakeFiles/moab.dir/MAM.c.o
[ 15%] Building C object src/moab/CMakeFiles/moab.dir/MSR.c.o
[ 16%] Building C object src/moab/CMakeFiles/moab.dir/MRes.c.o
[ 18%] Building C object src/moab/CMakeFiles/moab.dir/MUser.c.o
[ 20%] Building C object src/moab/CMakeFiles/moab.dir/MGroup.c.o
[ 22%] Building C object src/moab/CMakeFiles/moab.dir/MAcct.c.o
[ 24%] Building C object src/moab/CMakeFiles/moab.dir/MClass.c.o
[ 26%] Building C object src/moab/CMakeFiles/moab.dir/MTime.c.o
[ 28%] Building C object src/moab/CMakeFiles/moab.dir/MNode.c.o
[ 30%] Building C object src/moab/CMakeFiles/moab.dir/MConst.c.o
[ 32%] Building C object src/moab/CMakeFiles/moab.dir/MACL.c.o
[ 33%] Building C object src/moab/CMakeFiles/moab.dir/MStats.c.o
[ 35%] Building C object src/moab/CMakeFiles/moab.dir/MLocal.c.o
[ 37%] Building C object src/moab/CMakeFiles/moab.dir/MUtil.c.o
[ 39%] Building C object src/moab/CMakeFiles/moab.dir/MTrace.c.o
[ 41%] Building C object src/moab/CMakeFiles/moab.dir/MAppSim.c.o
[ 43%] Building C object src/moab/CMakeFiles/moab.dir/MQueue.c.o
[ 45%] Building C object src/moab/CMakeFiles/moab.dir/MLimit.c.o
[ 47%] Building C object src/moab/CMakeFiles/moab.dir/MXI.c.o
[ 49%] Building C object src/moab/CMakeFiles/moab.dir/MSim.c.o
[ 50%] Building C object src/moab/CMakeFiles/moab.dir/MRMSI.c.o
[ 52%] Building C object src/moab/CMakeFiles/moab.dir/MBF.c.o
[ 54%] Building C object src/moab/CMakeFiles/moab.dir/MJob.c.o
[ 56%] Building C object src/moab/CMakeFiles/moab.dir/MPriority.c.o
[ 58%] Building C object src/moab/CMakeFiles/moab.dir/MPolicy.c.o
[ 60%] Building C object src/moab/CMakeFiles/moab.dir/MPreempt.c.o
[ 62%] Building C object src/moab/CMakeFiles/moab.dir/MFS.c.o
[ 64%] Building C object src/moab/CMakeFiles/moab.dir/MPar.c.o
[ 66%] Building C object src/moab/CMakeFiles/moab.dir/MRM.c.o
[ 67%] Building C object src/moab/CMakeFiles/moab.dir/MPBSI.c.o
[ 69%] Building C object src/moab/CMakeFiles/moab.dir/MWikiI.c.o
[ 71%] Building C object src/moab/CMakeFiles/moab.dir/MSys.c.o
[ 73%] Building C object src/moab/CMakeFiles/moab.dir/MCP.c.o
[ 75%] Building C object src/moab/CMakeFiles/moab.dir/MUI.c.o
Linking C static library libmoab.a
[ 75%] Built target moab
[ 77%] Building C object src/mcom/CMakeFiles/mcom.dir/MSU.c.o
[ 79%] Building C object src/mcom/CMakeFiles/mcom.dir/MSec.c.o
[ 81%] Building C object src/mcom/CMakeFiles/mcom.dir/MS3I.c.o
/home/domibel/my-debian-packages/packages/maui/maui-3.3/src/mcom/MS3I.c: In function ‘MS3LoadModule’:
/home/domibel/my-debian-packages/packages/maui/maui-3.3/src/mcom/MS3I.c:559: warning: assignment from incompatible pointer type
/home/domibel/my-debian-packages/packages/maui/maui-3.3/src/mcom/MS3I.c:560: warning: assignment from incompatible pointer type
/home/domibel/my-debian-packages/packages/maui/maui-3.3/src/mcom/MS3I.c:566: warning: assignment from incompatible pointer type
/home/domibel/my-debian-packages/packages/maui/maui-3.3/src/mcom/MS3I.c:574: warning: assignment from incompatible pointer type
/home/domibel/my-debian-packages/packages/maui/maui-3.3/src/mcom/MS3I.c:579: warning: assignment from incompatible pointer type
[ 83%] Building C object src/mcom/CMakeFiles/mcom.dir/MXML.c.o
[ 84%] Building C object src/mcom/CMakeFiles/mcom.dir/MConst.c.o
[ 86%] Building C object src/mcom/CMakeFiles/mcom.dir/MTComm.c.o
[ 88%] Building C object src/mcom/CMakeFiles/mcom.dir/MComm.c.o
Linking C static library libmcom.a
[ 88%] Built target mcom
[ 90%] Building C object src/server/CMakeFiles/maui.dir/Server.c.o
[ 92%] Building C object src/server/CMakeFiles/maui.dir/UserI.c.o
[ 94%] Building C object src/server/CMakeFiles/maui.dir/SDR.c.o
[ 96%] Building C object src/server/CMakeFiles/maui.dir/LLI.c.o
Linking C executable maui
[ 96%] Built target maui
[ 98%] Building C object src/server/CMakeFiles/mclient.dir/mclient.c.o
Linking C executable mclient
[ 98%] Built target mclient
[100%] Building C object src/server/CMakeFiles/mprof.dir/mprof.c.o
Linking C executable mprof
[100%] Built target mprof

$ sudo make install
[ 75%] Built target moab
[ 88%] Built target mcom
[ 96%] Built target maui
[ 98%] Built target mclient
[100%] Built target mprof
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/maui/libmoab.a
-- Installing: /usr/local/include/moab.h
-- Installing: /usr/local/lib/maui/libmcom.a
-- Installing: /usr/local/sbin/maui
-- Installing: /usr/local/bin/mclient
-- Installing: /usr/local/bin/mprof
-- Installing: /usr/local/maui/maui.cfg
-- Installing: /usr/local/maui/maui-private.cfg



More information about the torquedev mailing list