[Vm-dev] Squeak trunk patch - override hard-coded paths

K K Subbu kksubbu.ml at gmail.com
Wed Apr 24 10:09:31 UTC 2019


Hi,

The current Makefile.example in squeak trunk uses a hard-coded paths for 
install which requires sudo permissions. I have attached a SVN patch for 
this file to override the path for those who don't have sudo permissions.

With this patch, one can do the builds in any directory and install in 
any path. Doing builds in tmpfs is much faster than on SSD or hard disk.

$ squeaksvn=`pwd`
$ bld=$(mktemp -d /tmp/build.XXX)
$ target=$bld/target

$ cd $bld
$ cp $squeaksvn/platforms/unix/cmake/Makefile.example Makefile
$ make O=$target P=$squeaksvn/platforms S=$squeaksvn/src
$ make install

$ $target/bin/squeak $TESTIMAGE

$ rm -rf $bld $target

Regards .. Subbu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: installdir.patch
Type: text/x-patch
Size: 1093 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190424/ebcd6396/attachment-0001.bin>


More information about the Vm-dev mailing list