squeak trunk patches

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

squeak trunk patches

K K Subbu
 
Hi,

Is squeak trunk SVN still taking in patches? It would be useful to have
a MAINTAINERS file in platforms/ that is keep current.

I found auto-generated sources in the trunk in multiple places in the
repo. e.g

$ wc -l {.,./platforms/{iOS/vm,unix,win32/build}}/src/vm/interp.c
   29638 ./src/vm/interp.c
       0 ./platforms/iOS/vm/src/vm/interp.c
   29434 ./platforms/unix/src/vm/interp.c
   29080 ./platforms/win32/build/src/vm/interp.c

The src in unix and win32 seems to be remnants from old builds. Should
they continue in the SVN?

I have attached a SVN patch for Makefile.example to override hard-coded
paths from scripts. E.g. build, install and smoke test in tmpfs.

$ cd $(mktemp -d /tmp/build.XXX)
$ cp ../../platforms/unix/cmake/Makefile.example .
$ mkdir target
$ make I=`pwd`/target P=~/squeak/platforms S=~/squeak/src
$ make install
$ ./target/bin/squeak $TESTIMAGE
...

Regards .. Subbu

installdir.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: squeak trunk patches

David T. Lewis
 
On Mon, Apr 24, 2017 at 11:36:04PM +0530, K K Subbu wrote:
>  
> Hi,
>
> Is squeak trunk SVN still taking in patches? It would be useful to have
> a MAINTAINERS file in platforms/ that is keep current.

Most of the active development work is happening in the GitHub repository.
But patches to keep the classic interpreter VM updated are welcome.

>
> I found auto-generated sources in the trunk in multiple places in the
> repo. e.g
>
> $ wc -l {.,./platforms/{iOS/vm,unix,win32/build}}/src/vm/interp.c
>   29638 ./src/vm/interp.c
>       0 ./platforms/iOS/vm/src/vm/interp.c
>   29434 ./platforms/unix/src/vm/interp.c
>   29080 ./platforms/win32/build/src/vm/interp.c
>
> The src in unix and win32 seems to be remnants from old builds. Should
> they continue in the SVN?

Those ./src subdirectories are obsolete. The most current generated
sources are kept in the ./src directory next to ./platforms in
http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/

These are up to date generated sources for the classic interpreter (not
for Cog and Spur VMs, see the GitHub repository for that).

>
> I have attached a SVN patch for Makefile.example to override hard-coded
> paths from scripts. E.g. build, install and smoke test in tmpfs.
>
> $ cd $(mktemp -d /tmp/build.XXX)
> $ cp ../../platforms/unix/cmake/Makefile.example .
> $ mkdir target
> $ make I=`pwd`/target P=~/squeak/platforms S=~/squeak/src
> $ make install
> $ ./target/bin/squeak $TESTIMAGE
> ...
>
> Regards .. Subbu

Thanks, I committed your patch.

FYI, the following people have access to the old SVN repository, as indicated
by the dav_svn.access file:

[groups]
squeak-branches = piumarta, johnmci, lewis, bernd, nedkonz, freudenberg, takashi, sig, eliot, esteban, rowledge, topa, marcel.taeumel, nice
squeak-HydraVM = piumarta, johnmci, lewis, bernd, nedkonz, freudenberg, takashi, sig, fulmer, esteban
squeak-tags = piumarta, johnmci, lewis, eliot, esteban, topa, marcel.taeumel, nice
squeak-src = lewis
squeak-cross = piumarta, lewis, rowledge, eliot, johnmci, nice
squeak-unix = piumarta, lewis, eliot, johnmci, nice
squeak-win32 = piumarta, lewis, eliot, topa, marcel.taeumel, nice
squeak-macos = piumarta, lewis, eliot, johnmci, nice
squeak-ios = esteban, johnmci
squeak-riscos = rowledge
squeak64 = piumarta, lewis

Dave

Reply | Threaded
Open this post in threaded view
|

Re: squeak trunk patches

K K Subbu
 
On Tuesday 25 April 2017 04:47 AM, David T. Lewis wrote:
>> The src in unix and win32 seems to be remnants from old builds. Should
>> they continue in the SVN?
> Those ./src subdirectories are obsolete. The most current generated
> sources are kept in the ./src directory next to ./platforms in
> http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/

Prompt and graceful response, as always. Thanks, Dave.

Is it possible to remove these from the repo? Their presence is
polluting indexes like ctags. Apart from confusing VM newcomers.

This repo is still relevant as I discovered when my upgraded my Ubuntu
env to 64-bit. I presume it will continue to remain relevant for the new
generation of ARM-based boards like RPi 3.

BTW, I haven't seen any posts from Ian since 2014. Is his position in
Ritsumeikan Univ taking up all his time?

Regards .. Subbu
Reply | Threaded
Open this post in threaded view
|

Re: squeak trunk patches

timrowledge
 

> On 24-04-2017, at 8:39 PM, K K Subbu <[hidden email]> wrote:
>  I presume it will continue to remain relevant for the new generation of ARM-based boards like RPi 3.

Not especially. Pi uses a Cog/Spur VM by default, thus you would need to pay more attention to the github sources and the VMMaker image stuff you will find at https://github.com/OpenSmalltalk/opensmalltalk-vm

Obviously the plain interpreter vm can be built for ARM since it merely uses gcc etc to build the executable; but it’s a *lot* slower than the CogSpur vm. Trust me; I’ve been doing Smalltalk on ARM for … ouch, 32 years.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
May the bugs of many programs nest on your hard drive.


Reply | Threaded
Open this post in threaded view
|

Re: squeak trunk patches

K K Subbu
 
On Tuesday 25 April 2017 09:31 AM, tim Rowledge wrote:
>> On 24-04-2017, at 8:39 PM, K K Subbu <[hidden email]> wrote:
>> I presume it will continue to remain relevant for the new
>> generation of ARM-based boards like RPi 3.

> Not especially. Pi uses a Cog/Spur VM by default, thus you would need
> to pay more attention to the github sources and the VMMaker image
> stuff you will find at
> https://github.com/OpenSmalltalk/opensmalltalk-vm

cog doesn't work with my 6502 images (yet!). I track all VMs including
osvm on github.

> Obviously the plain interpreter vm can be built for ARM since it
> merely uses gcc etc to build the executable; but it’s a *lot* slower
> than the CogSpur vm. Trust me; I’ve been doing Smalltalk on ARM for …
> ouch, 32 years.

True. My interest in VMs is academic. I work at system level with
scripts doing all the grunt work in headless mode on Rpi 3. RPi 3 costs
less than a tenth of a laptop, so the slower speed doesn't bother me much.

Regards .. Subbu
Reply | Threaded
Open this post in threaded view
|

Re: squeak trunk patches

David T. Lewis
In reply to this post by K K Subbu
 
On Tue, Apr 25, 2017 at 09:09:16AM +0530, K K Subbu wrote:

>
> On Tuesday 25 April 2017 04:47 AM, David T. Lewis wrote:
> >>The src in unix and win32 seems to be remnants from old builds. Should
> >>they continue in the SVN?
> >Those ./src subdirectories are obsolete. The most current generated
> >sources are kept in the ./src directory next to ./platforms in
> >http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/
>
> Prompt and graceful response, as always. Thanks, Dave.
>
> Is it possible to remove these from the repo? Their presence is
> polluting indexes like ctags. Apart from confusing VM newcomers.
>
> This repo is still relevant as I discovered when my upgraded my Ubuntu
> env to 64-bit. I presume it will continue to remain relevant for the new
> generation of ARM-based boards like RPi 3.
>
> BTW, I haven't seen any posts from Ian since 2014. Is his position in
> Ritsumeikan Univ taking up all his time?
>
> Regards .. Subbu

Yes, I think Ian is quite busy with those responibilies, although he does
continue to make the time to keep the squeakvm.org services running and
available to the community. I find that emails to Ian sometimes get lost
in his spam folders, so if you send mail to piumarta at gmail.com, I would
suggest putting [SQUEAK VM] in the subject line to catch his attention.

Dave