[Vm-dev] linux minheadless pharo vm builds itimer or heartbeat?
Alistair Grant
akgrant0710 at gmail.com
Thu Jul 18 14:11:15 UTC 2019
Hi All,
Are Pharo linux minheadless builds itimer or threaded heartbeat?
(all the listings below are extracts, not the complete file / page)
The file list on bintray suggests that they are itimer:
https://bintray.com/opensmalltalk/vm/cog/201907112020#files
pharo.cog.spur+sdl2-cmake-minhdls_linux64x64_itimer_201907112020.tar.gz
6 days ago 4.23 MB
pharo.cog.spur-cmake-minhdls_linux64x64_itimer_201907112020.tar.gz 6
days ago 4.22 MB
While travis indicates that only threaded heartbeat versions are built:
https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/553922116
Setting environment variables from .travis.yml
$ export ARCH="linux64x64"
$ export FLAVOR="pharo.cog.spur"
$ export CPU_ARCH="x64"
$ export HEARTBEAT="threaded"
$ export BUILD_WITH_CMAKE="yes"
.travis.yml agrees with the travis output:
- stage: "Minheadless CMake builds"
- env: ARCH="linux32x86" FLAVOR="pharo.cog.spur" CPU_ARCH="x86"
HEARTBEAT="threaded" BUILD_WITH_CMAKE="yes"
- env: ARCH="linux64x64" FLAVOR="pharo.cog.spur" CPU_ARCH="x64"
HEARTBEAT="threaded" BUILD_WITH_CMAKE="yes"
And pack-vm.sh seems to be doing the right thing when determining how
to name the archive:
for dir in */; do
if [[ "${ARCH}" == *"ARM"* || "${dir}" == *"ht/" ]]; then
name="${IDENTIFIER}"
else
name="${IDENTIFIER_ITIMER}"
fi
Unfortunately figuring out which VM is being used isn't helped by the
fact that "pharo --version" doesn't work with minheadless:
$ ./pharo --version
Opening Image: --version
Opening Image: No such file or directory
Error opening image file: --version
Thanks,
Alistair
More information about the Vm-dev
mailing list