On Sat, Apr 15, 2017 at 09:53:49AM +0000, Alistair Grant wrote:
> 
> If you just want to build a single V6 pharo executable (no scripts,
> linux 64 bit in the example below):
> 
> --
> #!/bin/bash
> set -e
> 
> git clone https://github.com/pharo-project/pharo-vm.git
> git checkout <the stable code...>
> cd pharo-vm/opensmalltalk-vm/build.linux64x64/pharo.cog.spur/build
> ./mvm
> --

And remembered that this will produce dragons, hopefully this will work:

--
#!/bin/bash
set -e

git clone https://github.com/pharo-project/pharo-vm.git
git checkout <the stable code...>
cd pharo-vm
../genVersion.sh
cd opensmalltalk-vm/build.linux64x64/pharo.cog.spur/build
./mvm
--

where genVersion.sh is:

--
#! /bin/bash

echo "`cat opensmalltalk-vm/platforms/Cross/vm/sqSCCSVersion.h | 
opensmalltalk-vm/.git_filters/RevDateURL.smudge`" > 
opensmalltalk-vm/platforms/Cross/vm/sqSCCSVersion.h
echo "`cat opensmalltalk-vm/platforms/Cross/plugins/sqPluginsSCCSVersion.h | 
opensmalltalk-vm/.git_filters/RevDateURL.smudge`" > 
opensmalltalk-vm/platforms/Cross/plugins/sqPluginsSCCSVersion.h
--

In case the mailer does formatting: there are only two lines of code,
each beginning with echo.

Cheers,
Alistair


Reply via email to