Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

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

Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

laurent laffont
Hi,

Finally I've managed to build squeak vm rev. 2135 (current stable) with FT2Plugin which makes all tests green on Pharo 1.0 rc3 image........ on my machine :)

If some Linux users can test it on their distro, thanks. 



PharoCore-1.0 + configured VMMaker 1.2 image  (for new vm builders, to have a known working base): http://lolgzs.free.fr/pharo/squeak-vm/PharoCore-1.0-VMMaker-1.2.tar.gz


To build from source archive:
=======================
tar -xvzf Squeak-3.11.3.2135-pharo-src.tar.gz
cd Squeak-3.11.3.2135-pharo-src/
mkdir build && cd build
../unix/cmake/configure
make
sudo make install


Internal plugins:
======================
UUIDPlugin

External plugins:
======================
ADPCMCodecPlugin
AioPlugin
AsynchFilePlugin
B2DPlugin
B3DAcceleratorPlugin
BMPReadWriterPlugin
BitBltPlugin
CroquetPlugin
DSAPrims
DropPlugin
FFTPlugin
FT2Plugin
FileCopyPlugin
FilePlugin
FloatArrayPlugin
FloatMathPlugin
GeniePlugin
HostWindowPlugin
JPEGReadWriter2Plugin
JPEGReaderPlugin
JoystickTabletPlugin
Klatt
LargeIntegers
LocalePlugin
MIDIPlugin
Matrix2x3Plugin
MiscPrimitivePlugin
Mpeg3Plugin
QuicktimePlugin
RePlugin
SecurityPlugin
SerialPlugin
SocketPlugin
SoundCodecPrims
SoundGenerationPlugin
SoundPlugin
Squeak3D
SqueakFFIPrims
StarSqueakPlugin
SurfacePlugin
UnixOSProcessPlugin
XDisplayControlPlugin
ZipPlugin


Fun story: if you don't have SecurityPlugin, LocaleTest>>testFontFullName   deletes your image :)
testFontFullName
"self debug: #testFontFullName"
| env dir |
env := (Locale isoLanguage: 'ja') languageEnvironment.
dir := FileDirectory on: SecurityManager default untrustedUserDirectory.
[dir recursiveDelete]   <-------------- Cool !!
on: Error
do: [:e | e].
env fontFullName.
self assert: dir exists


Cheers,

Laurent Laffont

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Adrian Lienhard

On Mar 26, 2010, at 22:11 , laurent laffont wrote:

[...]

> Fun story: if you don't have SecurityPlugin, LocaleTest>>testFontFullName
> deletes your image :)

WTF?! That's exactly what happened to me some time ago. I lost a lot of images that were stored in the same folder like the image. Let's get rid of this test.

I created issue http://code.google.com/p/pharo/issues/detail?id=2215

Adrian

> testFontFullName
> "self debug: #testFontFullName"
> | env dir |
> env := (Locale isoLanguage: 'ja') languageEnvironment.
> dir := FileDirectory on: SecurityManager default untrustedUserDirectory.
> [dir recursiveDelete]   <-------------- Cool !!
> on: Error
> do: [:e | e].
> env fontFullName.
> self assert: dir exists
>
>
> Cheers,
>
> Laurent Laffont
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Stéphane Ducasse
+1000

On Mar 27, 2010, at 10:19 AM, Adrian Lienhard wrote:

>
> On Mar 26, 2010, at 22:11 , laurent laffont wrote:
>
> [...]
>
>> Fun story: if you don't have SecurityPlugin, LocaleTest>>testFontFullName
>> deletes your image :)
>
> WTF?! That's exactly what happened to me some time ago. I lost a lot of images that were stored in the same folder like the image. Let's get rid of this test.
>
> I created issue http://code.google.com/p/pharo/issues/detail?id=2215
>
> Adrian
>
>> testFontFullName
>> "self debug: #testFontFullName"
>> | env dir |
>> env := (Locale isoLanguage: 'ja') languageEnvironment.
>> dir := FileDirectory on: SecurityManager default untrustedUserDirectory.
>> [dir recursiveDelete]   <-------------- Cool !!
>> on: Error
>> do: [:e | e].
>> env fontFullName.
>> self assert: dir exists
>>
>>
>> Cheers,
>>
>> Laurent Laffont
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Mariano Martinez Peck
In reply to this post by laurent laffont
Hi Laurent. Excellent news!   It's cool to see people playing with the VM. Depending in gurus of heroes is never good. Because they left and you are dead.

A little question...do you think we should replace the official Linux VM from the Pharo website ?

I would love that the official Linux VM has:

- that thing about the gnufication
I did that when compiling MacOS VM.
Read this link   (step 4 for example)
http://www.squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto

 does it make sense also in Linux VM ?  which are the difference in the benchmarks compared to do it without this step ?

- all tests green
- FT2Plugin and the Bryce magic for nicer fonts
- Include this VM in the Pharo 1.0 one click.

Did you check the benchmarks with the VM from Pharo website and yours ? can you evaluate the results of "1 tinyBenchmarks" as it is explained if point 5 of Adrian post:
http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles

It would be cool also to update the readme.txt of the Pharo Linux Vm if necessary

And finally would be great to add a link to download the sources also.

Thanks a lot.

Mariano


2010/3/26 laurent laffont <[hidden email]>
Hi,

Finally I've managed to build squeak vm rev. 2135 (current stable) with FT2Plugin which makes all tests green on Pharo 1.0 rc3 image........ on my machine :)

If some Linux users can test it on their distro, thanks. 



PharoCore-1.0 + configured VMMaker 1.2 image  (for new vm builders, to have a known working base): http://lolgzs.free.fr/pharo/squeak-vm/PharoCore-1.0-VMMaker-1.2.tar.gz


To build from source archive:
=======================
tar -xvzf Squeak-3.11.3.2135-pharo-src.tar.gz
cd Squeak-3.11.3.2135-pharo-src/
mkdir build && cd build
../unix/cmake/configure
make
sudo make install


Internal plugins:
======================
UUIDPlugin

External plugins:
======================
ADPCMCodecPlugin
AioPlugin
AsynchFilePlugin
B2DPlugin
B3DAcceleratorPlugin
BMPReadWriterPlugin
BitBltPlugin
CroquetPlugin
DSAPrims
DropPlugin
FFTPlugin
FT2Plugin
FileCopyPlugin
FilePlugin
FloatArrayPlugin
FloatMathPlugin
GeniePlugin
HostWindowPlugin
JPEGReadWriter2Plugin
JPEGReaderPlugin
JoystickTabletPlugin
Klatt
LargeIntegers
LocalePlugin
MIDIPlugin
Matrix2x3Plugin
MiscPrimitivePlugin
Mpeg3Plugin
QuicktimePlugin
RePlugin
SecurityPlugin
SerialPlugin
SocketPlugin
SoundCodecPrims
SoundGenerationPlugin
SoundPlugin
Squeak3D
SqueakFFIPrims
StarSqueakPlugin
SurfacePlugin
UnixOSProcessPlugin
XDisplayControlPlugin
ZipPlugin


Fun story: if you don't have SecurityPlugin, LocaleTest>>testFontFullName   deletes your image :)
testFontFullName
"self debug: #testFontFullName"
| env dir |
env := (Locale isoLanguage: 'ja') languageEnvironment.
dir := FileDirectory on: SecurityManager default untrustedUserDirectory.
[dir recursiveDelete]   <-------------- Cool !!
on: Error
do: [:e | e].
env fontFullName.
self assert: dir exists


Cheers,

Laurent Laffont

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Alain Plantec-4
In reply to this post by laurent laffont
laurent laffont a écrit :

> Hi,
>
> Finally I've managed to build squeak vm rev. 2135 (current stable)
> with FT2Plugin which makes all tests green on Pharo 1.0 rc3
> image........ on my machine :)
>
> If some Linux users can test it on their distro, thanks.
>
> The clean binary archive:
>  http://lolgzs.free.fr/pharo/squeak-vm/Squeak-3.11.3.2135-pharo-bin.tar.gz
tested on Ubuntu 9.10 32bits
works like a charm.
Thanks
Alain

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Schwab,Wilhelm K
In reply to this post by Mariano Martinez Peck
Laurent,
 
Since you have taken the time to get the vm build process going, please consider going one step further to get the Alien plugin built too.  PLEASE...
 
I would do it myself, but as that great 20th Century Philospher, Dirty Harry, put it "a man's got to know his limitations."
 
There has been progress: I have now actually used Code::Blocks to build a .so to work around a linking problem.  OTOH, that same library *might* have been at the center of yesterday's image meltdown :(   I am determined to free my number crunching work from Windows.  Given some of the custom hardware things I want to be able to continue doing, Macs are not really an answer or I would have made that jump years ago.
 
Bill

 
 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Mariano Martinez Peck
Sent: Saturday, March 27, 2010 7:58 AM
To: [hidden email]
Subject: Re: [Pharo-project] Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Hi Laurent. Excellent news!   It's cool to see people playing with the VM. Depending in gurus of heroes is never good. Because they left and you are dead.

A little question...do you think we should replace the official Linux VM from the Pharo website ?

I would love that the official Linux VM has:

- that thing about the gnufication
I did that when compiling MacOS VM.
Read this link   (step 4 for example)
http://www.squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto

 does it make sense also in Linux VM ?  which are the difference in the benchmarks compared to do it without this step ?

- all tests green
- FT2Plugin and the Bryce magic for nicer fonts
- Include this VM in the Pharo 1.0 one click.

Did you check the benchmarks with the VM from Pharo website and yours ? can you evaluate the results of "1 tinyBenchmarks" as it is explained if point 5 of Adrian post:
http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles

It would be cool also to update the readme.txt of the Pharo Linux Vm if necessary

And finally would be great to add a link to download the sources also.

Thanks a lot.

Mariano


2010/3/26 laurent laffont <[hidden email]>
Hi,

Finally I've managed to build squeak vm rev. 2135 (current stable) with FT2Plugin which makes all tests green on Pharo 1.0 rc3 image........ on my machine :)

If some Linux users can test it on their distro, thanks. 



PharoCore-1.0 + configured VMMaker 1.2 image  (for new vm builders, to have a known working base): http://lolgzs.free.fr/pharo/squeak-vm/PharoCore-1.0-VMMaker-1.2.tar.gz


To build from source archive:
=======================
tar -xvzf Squeak-3.11.3.2135-pharo-src.tar.gz
cd Squeak-3.11.3.2135-pharo-src/
mkdir build && cd build
../unix/cmake/configure
make
sudo make install


Internal plugins:
======================
UUIDPlugin

External plugins:
======================
ADPCMCodecPlugin
AioPlugin
AsynchFilePlugin
B2DPlugin
B3DAcceleratorPlugin
BMPReadWriterPlugin
BitBltPlugin
CroquetPlugin
DSAPrims
DropPlugin
FFTPlugin
FT2Plugin
FileCopyPlugin
FilePlugin
FloatArrayPlugin
FloatMathPlugin
GeniePlugin
HostWindowPlugin
JPEGReadWriter2Plugin
JPEGReaderPlugin
JoystickTabletPlugin
Klatt
LargeIntegers
LocalePlugin
MIDIPlugin
Matrix2x3Plugin
MiscPrimitivePlugin
Mpeg3Plugin
QuicktimePlugin
RePlugin
SecurityPlugin
SerialPlugin
SocketPlugin
SoundCodecPrims
SoundGenerationPlugin
SoundPlugin
Squeak3D
SqueakFFIPrims
StarSqueakPlugin
SurfacePlugin
UnixOSProcessPlugin
XDisplayControlPlugin
ZipPlugin


Fun story: if you don't have SecurityPlugin, LocaleTest>>testFontFullName   deletes your image :)
testFontFullName
"self debug: #testFontFullName"
| env dir |
env := (Locale isoLanguage: 'ja') languageEnvironment.
dir := FileDirectory on: SecurityManager default untrustedUserDirectory.
[dir recursiveDelete]   <-------------- Cool !!
on: Error
do: [:e | e].
env fontFullName.
self assert: dir exists


Cheers,

Laurent Laffont

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

laurent laffont
In reply to this post by Mariano Martinez Peck
2010/3/27 Mariano Martinez Peck <[hidden email]>
Hi Laurent. Excellent news!   It's cool to see people playing with the VM. Depending in gurus of heroes is never good. Because they left and you are dead.

A little question...do you think we should replace the official Linux VM from the Pharo website ?

I think so :) (if other users report no problem - Thanks Alain): the binary form is cleaner than exupery-vm, we have the source, fonts are nice, all tests green, build is reproductible. 
 

I would love that the official Linux VM has:

- that thing about the gnufication
I did that when compiling MacOS VM.
Read this link   (step 4 for example)
http://www.squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto

 does it make sense also in Linux VM ?  which are the difference in the benchmarks compared to do it without this step ?

Isn't it a MacOS issue only ? 
 

- all tests green
- FT2Plugin and the Bryce magic for nicer fonts

With Bryce's Bitlbt patch from Exupery VM some test fails.... and while some rendering are little better with Exupery, some aren't nice  (hints for example).
 
- Include this VM in the Pharo 1.0 one click.

Did you check the benchmarks with the VM from Pharo website and yours ? can you evaluate the results of "1 tinyBenchmarks" as it is explained if point 5 of Adrian post:
http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles

Benchmarks

Distro: up to date ArchLinux 32bits

$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping        : 6
cpu MHz         : 1994.987
cache size      : 4096 KB

(White MacBook 2008)

benchmark:

5 timesRepeat: [
  Transcript show: 1 tinyBenchmarks; cr]  

my Squeak VM 3.11.3 -r 2135 + FT2Plugin. GCC version 4.4.3 
==========================================
334421946 bytecodes/sec; 8026581 sends/sec
334640522 bytecodes/sec; 7449884 sends/sec
334421946 bytecodes/sec; 7449884 sends/sec
334421946 bytecodes/sec; 7675486 sends/sec
327156549 bytecodes/sec; 7598782 sends/sec


vanilla Squeak VM 3.11.3 -r 2135
==========================================
198449612 bytecodes/sec; 7593723 sends/sec
197836166 bytecodes/sec; 7548493 sends/sec
203174603 bytecodes/sec; 7558497 sends/sec
198757763 bytecodes/sec; 7528563 sends/sec
200312989 bytecodes/sec; 7232576 sends/sec

pharo-vm-0.15.2f-linux (exupery) 
==========================================
369942196 bytecodes/sec; 9303240 sends/sec
375091575 bytecodes/sec; 9333693 sends/sec
375641966 bytecodes/sec; 9280531 sends/sec
376193975 bytecodes/sec; 9280531 sends/sec
376470588 bytecodes/sec; 9280531 sends/sec


Exupery is better on benchmarks, but what is the activity on this VM?

Laurent Laffont

It would be cool also to update the readme.txt of the Pharo Linux Vm if necessary

And finally would be great to add a link to download the sources also.

Thanks a lot.

Mariano


2010/3/26 laurent laffont <[hidden email]>
Hi,

Finally I've managed to build squeak vm rev. 2135 (current stable) with FT2Plugin which makes all tests green on Pharo 1.0 rc3 image........ on my machine :)

If some Linux users can test it on their distro, thanks. 



PharoCore-1.0 + configured VMMaker 1.2 image  (for new vm builders, to have a known working base): http://lolgzs.free.fr/pharo/squeak-vm/PharoCore-1.0-VMMaker-1.2.tar.gz


To build from source archive:
=======================
tar -xvzf Squeak-3.11.3.2135-pharo-src.tar.gz
cd Squeak-3.11.3.2135-pharo-src/
mkdir build && cd build
../unix/cmake/configure
make
sudo make install


Internal plugins:
======================
UUIDPlugin

External plugins:
======================
ADPCMCodecPlugin
AioPlugin
AsynchFilePlugin
B2DPlugin
B3DAcceleratorPlugin
BMPReadWriterPlugin
BitBltPlugin
CroquetPlugin
DSAPrims
DropPlugin
FFTPlugin
FT2Plugin
FileCopyPlugin
FilePlugin
FloatArrayPlugin
FloatMathPlugin
GeniePlugin
HostWindowPlugin
JPEGReadWriter2Plugin
JPEGReaderPlugin
JoystickTabletPlugin
Klatt
LargeIntegers
LocalePlugin
MIDIPlugin
Matrix2x3Plugin
MiscPrimitivePlugin
Mpeg3Plugin
QuicktimePlugin
RePlugin
SecurityPlugin
SerialPlugin
SocketPlugin
SoundCodecPrims
SoundGenerationPlugin
SoundPlugin
Squeak3D
SqueakFFIPrims
StarSqueakPlugin
SurfacePlugin
UnixOSProcessPlugin
XDisplayControlPlugin
ZipPlugin


Fun story: if you don't have SecurityPlugin, LocaleTest>>testFontFullName   deletes your image :)
testFontFullName
"self debug: #testFontFullName"
| env dir |
env := (Locale isoLanguage: 'ja') languageEnvironment.
dir := FileDirectory on: SecurityManager default untrustedUserDirectory.
[dir recursiveDelete]   <-------------- Cool !!
on: Error
do: [:e | e].
env fontFullName.
self assert: dir exists


Cheers,

Laurent Laffont

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Miguel Cobá
In reply to this post by laurent laffont
El vie, 26-03-2010 a las 22:11 +0100, laurent laffont escribió:
> Hi,
>
>
> Finally I've managed to build squeak vm rev. 2135 (current stable)
> with FT2Plugin which makes all tests green on Pharo 1.0 rc3
> image........ on my machine :)
>
>
> If some Linux users can test it on their distro, thanks.

Hi Laurent,
good job. I tested your instructions on my:

Debian GNU/Linux Squeeze (testing) amd64

I didn't have cmake so first had to install it:

aptitude install cmake

and then:

> To build from source archive:
> =======================
> wget http://lolgzs.free.fr/pharo/squeak-vm/Squeak-3.11.3.2135-pharo-src.tar.gz
> tar -xvzf Squeak-3.11.3.2135-pharo-src.tar.gz
> cd Squeak-3.11.3.2135-pharo-src/
> mkdir build && cd build
> ../unix/cmake/configure
> make

I don't install it (I don't like the custom install process) so I can't
say if ther is a problem with the install ;)

> sudo make install
>


I ran the tests in a PharoCore 10515 RC3. Just 1 failure:

7296 run, 7278 passes, 17 expected failures, 1 failures, 0 errors, 0
unexpected passes


Also,

1 tinyBenchmarks -> '362606232 bytecodes/sec; 10580494 sends/sec'

Cheers

--
Miguel Cobá
http://miguel.leugim.com.mx


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Adrian Lienhard
In reply to this post by laurent laffont

On Mar 27, 2010, at 17:16 , laurent laffont wrote:

>> I would love that the official Linux VM has:
>>
>> - that thing about the gnufication
>> I did that when compiling MacOS VM.
>> Read this link   (step 4 for example)
>>
>> http://www.squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto
>>
>> does it make sense also in Linux VM ?  which are the difference in the
>> benchmarks compared to do it without this step ?
>>
>
> Isn't it a MacOS issue only ?

No, this is relevant for all GNU C compilers! Without this step, which replaces the switch statement of the interpreter with a jump table, you get a *much* slower VM. I suggest to use the latest SVN source.

Adrian


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Miguel Cobá
In reply to this post by Miguel Cobá
El sáb, 27-03-2010 a las 10:56 -0600, Miguel Enrique Cobá Martinez
escribió:

> El vie, 26-03-2010 a las 22:11 +0100, laurent laffont escribió:
> > Hi,
> >
> >
> > Finally I've managed to build squeak vm rev. 2135 (current stable)
> > with FT2Plugin which makes all tests green on Pharo 1.0 rc3
> > image........ on my machine :)
> >
> >
> > If some Linux users can test it on their distro, thanks.
>
> Hi Laurent,
> good job. I tested your instructions on my:
>
> Debian GNU/Linux Squeeze (testing) amd64
>
> I didn't have cmake so first had to install it:
>
> aptitude install cmake
>
> and then:
>
> > To build from source archive:
> > =======================
> > wget http://lolgzs.free.fr/pharo/squeak-vm/Squeak-3.11.3.2135-pharo-src.tar.gz
> > tar -xvzf Squeak-3.11.3.2135-pharo-src.tar.gz
> > cd Squeak-3.11.3.2135-pharo-src/
> > mkdir build && cd build
> > ../unix/cmake/configure
> > make
>
> I don't install it (I don't like the custom install process) so I can't
> say if ther is a problem with the install ;)
>
> > sudo make install
> >
>
>
> I ran the tests in a PharoCore 10515 RC3. Just 1 failure:
>
> 7296 run, 7278 passes, 17 expected failures, 1 failures, 0 errors, 0
> unexpected passes

Forget this, this doesn't happen in a clean unzipped PharoCore 10515
RC3.
I was using a dirty directory that was used to build a Pharo dev image.
As part of the dev process, the sources or changes file is modified
somehow and this made the testRecompile fail when using the code from
the sources/changes file.

So, when using a clean 10515 core image the test are all green.

Good job.

Cheers
>
>
> Also,
>
> 1 tinyBenchmarks -> '362606232 bytecodes/sec; 10580494 sends/sec'
>
> Cheers
>

--
Miguel Cobá
http://miguel.leugim.com.mx


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

laurent laffont
In reply to this post by Schwab,Wilhelm K
Laurent,
 
Since you have taken the time to get the vm build process going, please consider going one step further to get the Alien plugin built too.  PLEASE...

Now I can build it, but my VM crashes while running Alien tests :(.  Nevertheless I want it (to play with Lumiere), so I will keep trying...

Laurent Laffont

 
 
I would do it myself, but as that great 20th Century Philospher, Dirty Harry, put it "a man's got to know his limitations."
 
There has been progress: I have now actually used Code::Blocks to build a .so to work around a linking problem.  OTOH, that same library *might* have been at the center of yesterday's image meltdown :(   I am determined to free my number crunching work from Windows.  Given some of the custom hardware things I want to be able to continue doing, Macs are not really an answer or I would have made that jump years ago.
 
Bill

 
 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Mariano Martinez Peck
Sent: Saturday, March 27, 2010 7:58 AM
To: [hidden email]
Subject: Re: [Pharo-project] Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Hi Laurent. Excellent news!   It's cool to see people playing with the VM. Depending in gurus of heroes is never good. Because they left and you are dead.

A little question...do you think we should replace the official Linux VM from the Pharo website ?

I would love that the official Linux VM has:

- that thing about the gnufication
I did that when compiling MacOS VM.
Read this link   (step 4 for example)
http://www.squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto

 does it make sense also in Linux VM ?  which are the difference in the benchmarks compared to do it without this step ?

- all tests green
- FT2Plugin and the Bryce magic for nicer fonts
- Include this VM in the Pharo 1.0 one click.

Did you check the benchmarks with the VM from Pharo website and yours ? can you evaluate the results of "1 tinyBenchmarks" as it is explained if point 5 of Adrian post:
http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles

It would be cool also to update the readme.txt of the Pharo Linux Vm if necessary

And finally would be great to add a link to download the sources also.

Thanks a lot.

Mariano


2010/3/26 laurent laffont <[hidden email]>
Hi,

Finally I've managed to build squeak vm rev. 2135 (current stable) with FT2Plugin which makes all tests green on Pharo 1.0 rc3 image........ on my machine :)

If some Linux users can test it on their distro, thanks. 



PharoCore-1.0 + configured VMMaker 1.2 image  (for new vm builders, to have a known working base): http://lolgzs.free.fr/pharo/squeak-vm/PharoCore-1.0-VMMaker-1.2.tar.gz


To build from source archive:
=======================
tar -xvzf Squeak-3.11.3.2135-pharo-src.tar.gz
cd Squeak-3.11.3.2135-pharo-src/
mkdir build && cd build
../unix/cmake/configure
make
sudo make install


Internal plugins:
======================
UUIDPlugin

External plugins:
======================
ADPCMCodecPlugin
AioPlugin
AsynchFilePlugin
B2DPlugin
B3DAcceleratorPlugin
BMPReadWriterPlugin
BitBltPlugin
CroquetPlugin
DSAPrims
DropPlugin
FFTPlugin
FT2Plugin
FileCopyPlugin
FilePlugin
FloatArrayPlugin
FloatMathPlugin
GeniePlugin
HostWindowPlugin
JPEGReadWriter2Plugin
JPEGReaderPlugin
JoystickTabletPlugin
Klatt
LargeIntegers
LocalePlugin
MIDIPlugin
Matrix2x3Plugin
MiscPrimitivePlugin
Mpeg3Plugin
QuicktimePlugin
RePlugin
SecurityPlugin
SerialPlugin
SocketPlugin
SoundCodecPrims
SoundGenerationPlugin
SoundPlugin
Squeak3D
SqueakFFIPrims
StarSqueakPlugin
SurfacePlugin
UnixOSProcessPlugin
XDisplayControlPlugin
ZipPlugin


Fun story: if you don't have SecurityPlugin, LocaleTest>>testFontFullName   deletes your image :)
testFontFullName
"self debug: #testFontFullName"
| env dir |
env := (Locale isoLanguage: 'ja') languageEnvironment.
dir := FileDirectory on: SecurityManager default untrustedUserDirectory.
[dir recursiveDelete]   <-------------- Cool !!
on: Error
do: [:e | e].
env fontFullName.
self assert: dir exists


Cheers,

Laurent Laffont

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

laurent laffont
In reply to this post by Adrian Lienhard
On Sat, Mar 27, 2010 at 6:13 PM, Adrian Lienhard <[hidden email]> wrote:

On Mar 27, 2010, at 17:16 , laurent laffont wrote:

>> I would love that the official Linux VM has:
>>
>> - that thing about the gnufication
>> I did that when compiling MacOS VM.
>> Read this link   (step 4 for example)
>>
>> http://www.squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto
>>
>> does it make sense also in Linux VM ?  which are the difference in the
>> benchmarks compared to do it without this step ?
>>
>
> Isn't it a MacOS issue only ?

No, this is relevant for all GNU C compilers! Without this step, which replaces the switch statement of the interpreter with a jump table, you get a *much* slower VM. I suggest to use the latest SVN source.

Does it mean latest SVN source is already "Gnuified" ?  With latest rev. I have a little drop in benchmarks. However I'd rather put a stable release for Pharo 1.0 than latest trunk. What do you think ?

Laurent Laffont
 

Adrian


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Adrian Lienhard

On Mar 27, 2010, at 18:21 , laurent laffont wrote:

> On Sat, Mar 27, 2010 at 6:13 PM, Adrian Lienhard <[hidden email]> wrote:
>
>>
>> On Mar 27, 2010, at 17:16 , laurent laffont wrote:
>>
>>>> I would love that the official Linux VM has:
>>>>
>>>> - that thing about the gnufication
>>>> I did that when compiling MacOS VM.
>>>> Read this link   (step 4 for example)
>>>>
>>>>
>> http://www.squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto
>>>>
>>>> does it make sense also in Linux VM ?  which are the difference in the
>>>> benchmarks compared to do it without this step ?
>>>>
>>>
>>> Isn't it a MacOS issue only ?
>>
>> No, this is relevant for all GNU C compilers! Without this step, which
>> replaces the switch statement of the interpreter with a jump table, you get
>> a *much* slower VM. I suggest to use the latest SVN source.
>>
>
> Does it mean latest SVN source is already "Gnuified" ?  With latest rev. I
> have a little drop in benchmarks. However I'd rather put a stable release
> for Pharo 1.0 than latest trunk. What do you think ?

The so-called "gnuification" is a transformation of the interp.c file. So this is done after generating the sources with VMMaker. The cmake configuration that comes with revision 2135 does not have this step enabled, and the more recent version that I used, revision 2151, has it. The magic is in the awk script in unix/cmake/gnuify.awk which produes gnu-interp.c.

Cheers,
Adrian

>
> Laurent Laffont
>
>
>>
>> Adrian
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

laurent laffont
> Does it mean latest SVN source is already "Gnuified" ?  With latest rev. I
> have a little drop in benchmarks. However I'd rather put a stable release
> for Pharo 1.0 than latest trunk. What do you think ?

The so-called "gnuification" is a transformation of the interp.c file. So this is done after generating the sources with VMMaker. The cmake configuration that comes with revision 2135 does not have this step enabled, and the more recent version that I used, revision 2151, has it. The magic is in the awk script in unix/cmake/gnuify.awk which produes gnu-interp.c.

OK thanks. I will take a look.

Laurent Laffont

 

Cheers,
Adrian

>
> Laurent Laffont
>
>
>>
>> Adrian
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

melkyades
If your VM crashes while testing alien, I probably is the same problem I had while testing it. The last 3 messages of the following thread may have the solution:

http://n4.nabble.com/Trying-to-build-alien-plugin-in-linux-td1562896i20.html

Changing the define solved the problem. Maybe the #if _APPLE_ ... should be changed to something according which handles linux too, or maybe -fno-omit-frame-pointer to makefile.ink should be added as eliot said (I don't know which makefile.ink and didn't have many time to investigate).

Regards,
            Javier.

2010/3/27 laurent laffont <[hidden email]>
> Does it mean latest SVN source is already "Gnuified" ?  With latest rev. I
> have a little drop in benchmarks. However I'd rather put a stable release
> for Pharo 1.0 than latest trunk. What do you think ?

The so-called "gnuification" is a transformation of the interp.c file. So this is done after generating the sources with VMMaker. The cmake configuration that comes with revision 2135 does not have this step enabled, and the more recent version that I used, revision 2151, has it. The magic is in the awk script in unix/cmake/gnuify.awk which produes gnu-interp.c.

OK thanks. I will take a look.

Laurent Laffont

 

Cheers,
Adrian

>
> Laurent Laffont
>
>
>>
>> Adrian
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



--
Javier Pimás
Ciudad de Buenos Aires

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

laurent laffont
In reply to this post by laurent laffont
I've tried gnuification on rev 2151. cmake/configure OK. But while building:

/home/lol/sandbox/squeakvm/Squeak-3.11.3.2151-pharo-src/build/gnu-interp.c:25104:2: erreur: #error GNUIFICATION FAILED ( 0 )


Laurent Laffont


On Sat, Mar 27, 2010 at 6:47 PM, laurent laffont <[hidden email]> wrote:
> Does it mean latest SVN source is already "Gnuified" ?  With latest rev. I
> have a little drop in benchmarks. However I'd rather put a stable release
> for Pharo 1.0 than latest trunk. What do you think ?

The so-called "gnuification" is a transformation of the interp.c file. So this is done after generating the sources with VMMaker. The cmake configuration that comes with revision 2135 does not have this step enabled, and the more recent version that I used, revision 2151, has it. The magic is in the awk script in unix/cmake/gnuify.awk which produes gnu-interp.c.

OK thanks. I will take a look.

Laurent Laffont

 

Cheers,
Adrian

>
> Laurent Laffont
>
>
>>
>> Adrian
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Mariano Martinez Peck
Adrian already reported such problem. Look squeak vm mailing list thread with subject "Gnuification fails when compiling unix VM with latest VMMaker source"

cheers

mariano

2010/3/27 laurent laffont <[hidden email]>
I've tried gnuification on rev 2151. cmake/configure OK. But while building:

/home/lol/sandbox/squeakvm/Squeak-3.11.3.2151-pharo-src/build/gnu-interp.c:25104:2: erreur: #error GNUIFICATION FAILED ( 0 )


Laurent Laffont



On Sat, Mar 27, 2010 at 6:47 PM, laurent laffont <[hidden email]> wrote:
> Does it mean latest SVN source is already "Gnuified" ?  With latest rev. I
> have a little drop in benchmarks. However I'd rather put a stable release
> for Pharo 1.0 than latest trunk. What do you think ?

The so-called "gnuification" is a transformation of the interp.c file. So this is done after generating the sources with VMMaker. The cmake configuration that comes with revision 2135 does not have this step enabled, and the more recent version that I used, revision 2151, has it. The magic is in the awk script in unix/cmake/gnuify.awk which produes gnu-interp.c.

OK thanks. I will take a look.

Laurent Laffont

 

Cheers,
Adrian

>
> Laurent Laffont
>
>
>>
>> Adrian
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Levente Uzonyi-2
In reply to this post by laurent laffont
On Sat, 27 Mar 2010, laurent laffont wrote:

> I've tried gnuification on rev 2151. cmake/configure OK. But while building:
>
> /home/lol/sandbox/squeakvm/Squeak-3.11.3.2151-pharo-src/build/gnu-interp.c:25104:2:
> erreur: #error GNUIFICATION FAILED ( 0 )

Which gnuification method did you try?
There are two different versions. The origial version is an awk script
which is run when you're building the vm with make. This is executed by
default if you have awk installed.
There's another version written in smalltalk (linked by Mariano into this
thread) which is not used by VMMAker at the moment, you probably don't
need that.
If you applied the latter one, you have to make sure that the first one is
not executed. You can't gnuifying the sources twice.
Since both do the same, the best you can do now is to ignore the smalltalk
version. If VMMaker will adopt Gnuifier.st we can remove the awk dependency
from the build process, until then you shouldn't apply it if your
platform has awk installed.


Levente

>
>
> Laurent Laffont
>
>
> On Sat, Mar 27, 2010 at 6:47 PM, laurent laffont
> <[hidden email]>wrote:
>
>>> Does it mean latest SVN source is already "Gnuified" ?  With latest rev.
>>> I
>>>> have a little drop in benchmarks. However I'd rather put a stable
>>> release
>>>> for Pharo 1.0 than latest trunk. What do you think ?
>>>
>>> The so-called "gnuification" is a transformation of the interp.c file. So
>>> this is done after generating the sources with VMMaker. The cmake
>>> configuration that comes with revision 2135 does not have this step enabled,
>>> and the more recent version that I used, revision 2151, has it. The magic is
>>> in the awk script in unix/cmake/gnuify.awk which produes gnu-interp.c.
>>>
>>
>> OK thanks. I will take a look.
>>
>> Laurent Laffont
>>
>>
>>
>>>
>>> Cheers,
>>> Adrian
>>>
>>>>
>>>> Laurent Laffont
>>>>
>>>>
>>>>>
>>>>> Adrian
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> [hidden email]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [hidden email]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

laurent laffont
OK, I've tried the Smalltalk one...

With rev 2151 gnuification (awk) is done as I have gnu-interp.c and gnu-interp.c.log in my build directory.

Benchmark gives me:

Squeak VM 3.11.3 -r 2151 + FT2Plugin + Gnuification
==========================================
312385600 bytecodes/sec; 7320778 sends/sec
310868245 bytecodes/sec; 8271046 sends/sec
310679611 bytecodes/sec; 8271046 sends/sec
310868245 bytecodes/sec; 7232576 sends/sec
310491206 bytecodes/sec; 8271046 sends/sec

compared to

 Squeak VM 3.11.3 -r 2135 + FT2Plugin
==========================================
334421946 bytecodes/sec; 8026581 sends/sec
334640522 bytecodes/sec; 7449884 sends/sec
334421946 bytecodes/sec; 7449884 sends/sec
334421946 bytecodes/sec; 7675486 sends/sec
327156549 bytecodes/sec; 7598782 sends/sec

so it seems that on my machine rev 2135 without gnuification is a little better. I have GCC 4.4.3,  Linux 32bits.

Laurent Laffont


On Sat, Mar 27, 2010 at 8:55 PM, Levente Uzonyi <[hidden email]> wrote:
On Sat, 27 Mar 2010, laurent laffont wrote:

I've tried gnuification on rev 2151. cmake/configure OK. But while building:

/home/lol/sandbox/squeakvm/Squeak-3.11.3.2151-pharo-src/build/gnu-interp.c:25104:2:
erreur: #error GNUIFICATION FAILED ( 0 )

Which gnuification method did you try?
There are two different versions. The origial version is an awk script which is run when you're building the vm with make. This is executed by default if you have awk installed.
There's another version written in smalltalk (linked by Mariano into this thread) which is not used by VMMAker at the moment, you probably don't need that. If you applied the latter one, you have to make sure that the first one is not executed. You can't gnuifying the sources twice.
Since both do the same, the best you can do now is to ignore the smalltalk version. If VMMaker will adopt Gnuifier.st we can remove the awk dependency from the build process, until then you shouldn't apply it if your platform has awk installed.


Levente




Laurent Laffont


On Sat, Mar 27, 2010 at 6:47 PM, laurent laffont
<[hidden email]>wrote:

Does it mean latest SVN source is already "Gnuified" ?  With latest rev.
I
have a little drop in benchmarks. However I'd rather put a stable
release
for Pharo 1.0 than latest trunk. What do you think ?

The so-called "gnuification" is a transformation of the interp.c file. So
this is done after generating the sources with VMMaker. The cmake
configuration that comes with revision 2135 does not have this step enabled,
and the more recent version that I used, revision 2151, has it. The magic is
in the awk script in unix/cmake/gnuify.awk which produes gnu-interp.c.


OK thanks. I will take a look.

Laurent Laffont




Cheers,
Adrian


Laurent Laffont



Adrian


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

Stéphane Ducasse
In reply to this post by Levente Uzonyi-2
>> /home/lol/sandbox/squeakvm/Squeak-3.11.3.2151-pharo-src/build/gnu-interp.c:25104:2:
>> erreur: #error GNUIFICATION FAILED ( 0 )
>
> Which gnuification method did you try?
> There are two different versions. The origial version is an awk script which is run when you're building the vm with make. This is executed by default if you have awk installed.
> There's another version written in smalltalk (linked by Mariano into this thread) which is not used by VMMAker at the moment, you probably don't need that. If you applied the latter one, you have to make sure that the first one is not executed. You can't gnuifying the sources twice.
> Since both do the same, the best you can do now is to ignore the smalltalk version. If VMMaker will adopt Gnuifier.st

This would be good!
Relying less on the tools of the platform is a plus to my eyes.

> we can remove the awk dependency from the build process, until then you shouldn't apply it if your platform has awk installed.
>
>
> Levente
>
>>
>>
>> Laurent Laffont
>>
>>
>> On Sat, Mar 27, 2010 at 6:47 PM, laurent laffont
>> <[hidden email]>wrote:
>>
>>>> Does it mean latest SVN source is already "Gnuified" ?  With latest rev.
>>>> I
>>>>> have a little drop in benchmarks. However I'd rather put a stable
>>>> release
>>>>> for Pharo 1.0 than latest trunk. What do you think ?
>>>>
>>>> The so-called "gnuification" is a transformation of the interp.c file. So
>>>> this is done after generating the sources with VMMaker. The cmake
>>>> configuration that comes with revision 2135 does not have this step enabled,
>>>> and the more recent version that I used, revision 2151, has it. The magic is
>>>> in the awk script in unix/cmake/gnuify.awk which produes gnu-interp.c.
>>>>
>>>
>>> OK thanks. I will take a look.
>>>
>>> Laurent Laffont
>>>
>>>
>>>
>>>>
>>>> Cheers,
>>>> Adrian
>>>>
>>>>>
>>>>> Laurent Laffont
>>>>>
>>>>>
>>>>>>
>>>>>> Adrian
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-project mailing list
>>>>>> [hidden email]
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> [hidden email]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [hidden email]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>
>>>
>>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
12345