Re: [Vm-dev] CMakeVMMaker what is repository for latest? and how    to????????sync with source.squeak.org?

gettimothy gettimothy at zoho.com
Fri May 16 17:33:37 UTC 2014


Hi Tim.
 > Here is what I have in place so far: 
> 
> 1. Get the latest Cog tree from svn co http://www.squeakvm.org/svn/squeak/branches/Cog 
> 2. cd Cog/image/ and run script to build an image which: 
> 2.a builds image with tools per current process. 
> 2.b (additionally loads FT2Plus Toxic bypass) 
> 2.c additionally load the CMakeVMMaker package from source.squeak.org (now loading from SmalltalkHub) 
> 2.d Recursively copies the parent Cog source code to image_directory/oscogvm/* 
> 3.e Cleans the source tree to just source by finding and deleting all GNU-Build artefacts (Makefiles, autotool stuff) 
> 3. User launches new image with the pristine source tree underneath it. 
> 4. Run process SqueakVMBuilder buildXYZ (same as pharo process, but squeak names) to generate the source code and CMake stuff in the clean source tree. 
> 5. Run generated 'build.sh' script which invokes CMake and make. 
 
 
It’s those last two parts that imply something is going a bit off-track here. 
 
Now don’t forget I’m a fan of VMMaker, after all I invented it 14 years ago (actually so far as I can tell pretty much *exactly* ) but the convenience of being able to do an svn co, hit the OS-appropriate buttons and autoconfigure/build is considerable. Yes, I suppose one could have multiple svn branches for the (many, many) different versions of *nix but making use of the already existing CMake capability strikes me as more sensible. 


Existing functionality is unchanged. 
There is only 1 SVN branch. 
VMaker is unchanged
My additions are non-intrusive.



Regarding existing CMake capability, I am leveraging what the pharo team has already done.  It appears Ian's work is hand coded CMakeLists.txt in trunk/platforms/unix and a configure script that generates the plugin CMake files. 


Regarding your ability to just svn co and run cmake, I agree that will be nice and it can be done. However until the tool is mature we need something that will work with what we have without getting in the way. I believe this approach will accomplish that.


Hopefully I will have something in place tomorrow that you can test-drive.


cordially,




tty.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140516/c351cdf9/attachment-0001.htm


More information about the Vm-dev mailing list