Testing big endian code with Travis CI's new s390x support

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Testing big endian code with Travis CI's new s390x support
Date: 2020-06-22 06:27:19
Message-ID: CA+hUKGLqCes0Xq2L2bP=q-xdFau2pjTiWzS2ArCOnX4ciEBx9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

This is something I've wanted several times in the past, so I thought
others here could be interested: if you're looking for a way to run
your development branch through check-world on a big endian box, the
new s390x support[1] on Travis is good for that. Capacity is a bit
limited, so I don't think I'll point cfbot.cputube.org at it just yet
(maybe I need to invent a separate slow build cycle).

I tried it just now and found that cfbot's .travis.yml file[2] just
needed this at the top:

arch:
- s390x

... and then it needed these lines commented out:

#before_install:
# - echo '/tmp/%e-%s-%p.core' | sudo tee /proc/sys/kernel/core_pattern

I didn't look into why, but otherwise that fails with a permission
error on that environment, so it'd be nice to figure out what's up
with that so we can still get back traces from cores.

[1] https://blog.travis-ci.com/2019-11-12-multi-cpu-architecture-ibm-power-ibm-z
[2] https://github.com/macdice/cfbot/blob/master/travis/.travis.yml

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amul Sul 2020-06-22 06:29:09 Re: [Patch] ALTER SYSTEM READ ONLY
Previous Message Dilip Kumar 2020-06-22 06:26:04 Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions