How to compile Spur VM in Windows?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to compile Spur VM in Windows?

hernanmd
Hello

I am trying to compile Spur VM in Windows 8.1.

As far as I understand Spur VM needs the Pharo 5.0 image format, is that right?

Apparently instructions here https://github.com/pharo-project/pharo-vm/blob/master/README-Win32-fasttrack.md are only applicable to "Old VM" in Pharo 3.0

Does anyone have any idea how to clone/compile the Spur VM (i.e. Pharo 5.0) ?

Cheers,

Hernán

Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] How to compile Spur VM in Windows?

EstebanLM
https://github.com/estebanlm/pharo-vm/tree/spur64

because I still do not merge with master
instructions should work, but right now you WILL NOT be able to build a VM, because there is a bug in OpalCompiler who prevents building the VM in spur images… and probably there are other issues, I couldn’t test further. 

So I would say you need to wait until I can restore the builds here: https://ci.inria.fr/pharo/view/5.0-VM-Spur/job/PharoVM-spur32/ 

(it’s been almost one month since I cannot build :( )

Esteban


On 06 Jan 2016, at 19:33, Hernán Morales Durand <[hidden email]> wrote:

Hello

I am trying to compile Spur VM in Windows 8.1.

As far as I understand Spur VM needs the Pharo 5.0 image format, is that right?

Apparently instructions here https://github.com/pharo-project/pharo-vm/blob/master/README-Win32-fasttrack.md are only applicable to "Old VM" in Pharo 3.0

Does anyone have any idea how to clone/compile the Spur VM (i.e. Pharo 5.0) ?

Cheers,

Hernán


Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] How to compile Spur VM in Windows?

EstebanLM
btw you might be able to build SpurVM using an old non-spur Pharo 5.0 image… not sure, but I do not see a reason why you couldn’t :)

Esteban

On 06 Jan 2016, at 20:05, Esteban Lorenzano <[hidden email]> wrote:

https://github.com/estebanlm/pharo-vm/tree/spur64

because I still do not merge with master
instructions should work, but right now you WILL NOT be able to build a VM, because there is a bug in OpalCompiler who prevents building the VM in spur images… and probably there are other issues, I couldn’t test further. 

So I would say you need to wait until I can restore the builds here: https://ci.inria.fr/pharo/view/5.0-VM-Spur/job/PharoVM-spur32/ 

(it’s been almost one month since I cannot build :( )

Esteban


On 06 Jan 2016, at 19:33, Hernán Morales Durand <[hidden email]> wrote:

Hello

I am trying to compile Spur VM in Windows 8.1.

As far as I understand Spur VM needs the Pharo 5.0 image format, is that right?

Apparently instructions here https://github.com/pharo-project/pharo-vm/blob/master/README-Win32-fasttrack.md are only applicable to "Old VM" in Pharo 3.0

Does anyone have any idea how to clone/compile the Spur VM (i.e. Pharo 5.0) ?

Cheers,

Hernán



Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] How to compile Spur VM in Windows?

hernanmd
Hola Esteban :)

As suggested, I am using sources from https://ci.inria.fr/pharo/view/VM/job/PharoVM/Architecture=32,Slave=vm-builder-win/

I have some questions:

1) The sources.tgz file in CI already includes the generated C code (in src/ directories) and CMake files (in build/ directories) ? So for checking the build it would not be necessary to evaluate "PharoVMBuilder buildWin32".

2) Just out of curiosity, VMMakerTool is usable these days?

3) I evaluated : PharoVMBuilder buildWin32. and received a lot of warnings (conflicting return types, undeclareds, etc) in Transcript - attached - Is this expected or should I try to update PharoVMMaker? And if so, from where?

Hernán

2016-01-06 16:08 GMT-03:00 Esteban Lorenzano <[hidden email]>:
btw you might be able to build SpurVM using an old non-spur Pharo 5.0 image… not sure, but I do not see a reason why you couldn’t :)

Esteban


On 06 Jan 2016, at 20:05, Esteban Lorenzano <[hidden email]> wrote:

https://github.com/estebanlm/pharo-vm/tree/spur64

because I still do not merge with master
instructions should work, but right now you WILL NOT be able to build a VM, because there is a bug in OpalCompiler who prevents building the VM in spur images… and probably there are other issues, I couldn’t test further. 

So I would say you need to wait until I can restore the builds here: https://ci.inria.fr/pharo/view/5.0-VM-Spur/job/PharoVM-spur32/ 

(it’s been almost one month since I cannot build :( )

Esteban


On 06 Jan 2016, at 19:33, Hernán Morales Durand <[hidden email]> wrote:

Hello

I am trying to compile Spur VM in Windows 8.1.

As far as I understand Spur VM needs the Pharo 5.0 image format, is that right?

Apparently instructions here https://github.com/pharo-project/pharo-vm/blob/master/README-Win32-fasttrack.md are only applicable to "Old VM" in Pharo 3.0

Does anyone have any idea how to clone/compile the Spur VM (i.e. Pharo 5.0) ?

Cheers,

Hernán





buildWarnings.txt (12K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] How to compile Spur VM in Windows?

EstebanLM
Hi Hernan, 

On 06 Jan 2016, at 23:46, Hernán Morales Durand <[hidden email]> wrote:

Hola Esteban :)

As suggested, I am using sources from https://ci.inria.fr/pharo/view/VM/job/PharoVM/Architecture=32,Slave=vm-builder-win/

I have some questions:

1) The sources.tgz file in CI already includes the generated C code (in src/ directories) and CMake files (in build/ directories) ? So for checking the build it would not be necessary to evaluate "PharoVMBuilder buildWin32”.

I never built the VM using those sources, so I don’t know how it will go. 
In general, I think what you say is ok. 


2) Just out of curiosity, VMMakerTool is usable these days?

Nope, we use CMakeMaker (could work, never tried).


3) I evaluated : PharoVMBuilder buildWin32. and received a lot of warnings (conflicting return types, undeclareds, etc) in Transcript - attached - Is this expected or should I try to update PharoVMMaker? And if so, from where?

I think you are “safe to go” with those warnings. I should review them, though. 

Esteban


Hernán

2016-01-06 16:08 GMT-03:00 Esteban Lorenzano <[hidden email]>:
btw you might be able to build SpurVM using an old non-spur Pharo 5.0 image… not sure, but I do not see a reason why you couldn’t :)

Esteban


On 06 Jan 2016, at 20:05, Esteban Lorenzano <[hidden email]> wrote:

https://github.com/estebanlm/pharo-vm/tree/spur64

because I still do not merge with master
instructions should work, but right now you WILL NOT be able to build a VM, because there is a bug in OpalCompiler who prevents building the VM in spur images… and probably there are other issues, I couldn’t test further. 

So I would say you need to wait until I can restore the builds here: https://ci.inria.fr/pharo/view/5.0-VM-Spur/job/PharoVM-spur32/ 

(it’s been almost one month since I cannot build :( )

Esteban


On 06 Jan 2016, at 19:33, Hernán Morales Durand <[hidden email]> wrote:

Hello

I am trying to compile Spur VM in Windows 8.1.

As far as I understand Spur VM needs the Pharo 5.0 image format, is that right?

Apparently instructions here https://github.com/pharo-project/pharo-vm/blob/master/README-Win32-fasttrack.md are only applicable to "Old VM" in Pharo 3.0

Does anyone have any idea how to clone/compile the Spur VM (i.e. Pharo 5.0) ?

Cheers,

Hernán




<buildWarnings.txt>