Re: [MoM] Any progress?
Hi Luis,
On Sat, Feb 25, 2012 at 03:03:50PM -0500, Luis Ibanez wrote:
> Among the extra candy that a cmake-base build process could bring
> to bear here is the "potential" for building GTM in Macs and MinGW,
> which can be a great step towards wide adoption of M / MUMPS in
> different platforms.
This would be a nice side effect.
> The current experiment is not yet to the point where we can
> claim that fis-gtm can be configured with cmake, so I may still
> have to spend some quality time with it before promoting it
> too much.
OK.
> so, you can clone with :
>
> git clone git://github.com/luisibanez/fis-gtm.git
>
> and then get to the "cmakeified" branch with:
>
> git checkout --track origin/cmakefied
s/cmakefied/cmakeified/ (in case anybody wants to reproduce)
> then,
> create a binary directory to build fis-gtm
> outside of the source tree.
>
> For example:
> (assuming that you cloned fis-gtm in the
> directory ~/src/fis-gtm)
>
> mkdir /tmp/fis-gtm-build
> cd /tmp/fis-gtm-build
> ccmake ~/src/fis-gtm
> make
>
> This works for me in 32 bits, (not yet in 64 bits)
I trhied on 64 bit and in fact I've got:
$ make
[ 0%] Building C object sr_linux/CMakeFiles/gtm_linux.dir/caller_id.c.o
In file included from /home/andreas/debian-maintain/repack/fis-gtm/cmakified/fis-gtm/sr_port/mdef.h:86:0,
from /home/andreas/debian-maintain/repack/fis-gtm/cmakified/fis-gtm/sr_linux/caller_id.c:26:
/home/andreas/debian-maintain/repack/fis-gtm/cmakified/fis-gtm/sr_port/gtm_threadgbl.h:17:110: fatal error: gtm_threadgbl_deftypes.h: No such file or directory
compilation terminated.
make[2]: *** [sr_linux/CMakeFiles/gtm_linux.dir/caller_id.c.o] Error 1
make[1]: *** [sr_linux/CMakeFiles/gtm_linux.dir/all] Error 2
make: *** [all] Error 2
> up to the point of compiling the .c files into .o and
> creating libraries with them. The next step would
> be to set up the build of executables...
>
> and then see if they work... :-)
Good luck!
> I'll try to make some progress on this in the
> following days, but I'm also dealing with some
> deadlines, so, I may not be able to put as much
> time on this effort as I would like,...
>
> Things in the calendar are looking
> better after Thursday.
Fine. I'm really keen on hearing some good news.
Kind regards and thanks for your intermediate report
Andreas.
--
http://fam-tille.de
Reply to: