braddr / d-tester

Automated testing for github projects.
http://d.puremagic.com/test-results/
11 stars 5 forks source link

fix gdc tester to support 32 and 64 bit builds #6

Open braddr opened 11 years ago

braddr commented 11 years ago

While it claims to be building 32, 64, and the two cross bitness, they're actually identical

What do I need to do here to force building a pure 32 bit environment, a pure 64 bit environment, and the two cross environments?

braddr commented 11 years ago

notes from Iain:

For building gcc, you will have to tweak it's build, host and target configure flags.

eg: To build a Linux 32/64 cross compiler (assuming this is built on a 64bit box).

./configure --build=x86_64-linux-gnu --host=i686-linux-gnu --target=x86_64-linux-gnu

For running the testsuite, something like this should do the trick.

make check-d RUNTESTFLAGS="--target_board=unix{-m32,-m64}"

Or to have each -march separately:

make check-d RUNTESTFLAGS="--target_board=unix{-m32}" make check-d RUNTESTFLAGS="--target_board=unix{-m64}"

ibuclaw commented 6 years ago

There exists a script that tries to handle cross compiler testing used on the server running buildbot.

https://github.com/D-Programming-GDC/buildbot-gdc/blob/master/workers/buildci.sh