<div dir="ltr"><div>Hi Alistair,</div><div><br></div><div>That is a bug that I have to fix. Currently, it is only using and old version of the threaded heartbeat. This because of the intentional duplication of code that I did originally when doing the minheadless VM:</div><div>1.- Remove everything.</div><div>2.- Stub all of the platform specific code<br></div><div>3.- Compile and fix linking errors by adding the platform specific code.</div><div><br></div><div>Now the missing step is to remove this code duplication by merging the code of the minheadless VM with the normal VM. The main problem of fixing this is that I will need to coordinate with the rest of the VM community on what is the best course of action. In my opinion, I think that the correct way for doing this is to use the minheadless VM as the core VM, and support the different windowing systems by refactoring the code in folders under the platforms/minheadless/</div><div><br></div><div>Best regards,</div><div>Ronie<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue., 18 jul. 2019 a las 10:11, Alistair Grant (<<a href="mailto:akgrant0710@gmail.com">akgrant0710@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
Hi All,<br>
<br>
Are Pharo linux minheadless builds itimer or threaded heartbeat?<br>
<br>
(all the listings below are extracts, not the complete file / page)<br>
<br>
The file list on bintray suggests that they are itimer:<br>
<br>
<a href="https://bintray.com/opensmalltalk/vm/cog/201907112020#files" rel="noreferrer" target="_blank">https://bintray.com/opensmalltalk/vm/cog/201907112020#files</a><br>
<br>
pharo.cog.spur+sdl2-cmake-minhdls_linux64x64_itimer_201907112020.tar.gz<br>
6 days ago 4.23 MB<br>
pharo.cog.spur-cmake-minhdls_linux64x64_itimer_201907112020.tar.gz 6<br>
days ago 4.22 MB<br>
<br>
<br>
While travis indicates that only threaded heartbeat versions are built:<br>
<br>
<a href="https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/553922116" rel="noreferrer" target="_blank">https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/553922116</a><br>
<br>
Setting environment variables from .travis.yml<br>
$ export ARCH="linux64x64"<br>
$ export FLAVOR="pharo.cog.spur"<br>
$ export CPU_ARCH="x64"<br>
$ export HEARTBEAT="threaded"<br>
$ export BUILD_WITH_CMAKE="yes"<br>
<br>
<br>
.travis.yml agrees with the travis output:<br>
<br>
  - stage: "Minheadless CMake builds"<br>
  - env: ARCH="linux32x86" FLAVOR="pharo.cog.spur" CPU_ARCH="x86"<br>
HEARTBEAT="threaded" BUILD_WITH_CMAKE="yes"<br>
  - env: ARCH="linux64x64" FLAVOR="pharo.cog.spur" CPU_ARCH="x64"<br>
HEARTBEAT="threaded" BUILD_WITH_CMAKE="yes"<br>
<br>
<br>
And pack-vm.sh seems to be doing the right thing when determining how<br>
to name the archive:<br>
<br>
  for dir in */; do<br>
    if [[ "${ARCH}" == *"ARM"* || "${dir}" == *"ht/" ]]; then<br>
      name="${IDENTIFIER}"<br>
    else<br>
      name="${IDENTIFIER_ITIMER}"<br>
    fi<br>
<br>
<br>
Unfortunately figuring out which VM is being used isn't helped by the<br>
fact that "pharo --version" doesn't work with minheadless:<br>
<br>
$ ./pharo --version<br>
Opening Image: --version<br>
Opening Image: No such file or directory<br>
Error opening image file: --version<br>
<br>
<br>
Thanks,<br>
Alistair<br>
</blockquote></div>