www.digitalmars.com         C & C++   DMDScript  

D.gnu - GDC 5.4.0 and 6.3.0 not available in Travis CI?

reply Jeremy DeHaan <dehaan.jeremiah gmail.com> writes:
I've updated a Travis CI script to test my project against the 
new 2.068.2 GDC versions, but 5.4.0 and 6.3.0 don't seem to be 
available. When Travis runs, I get a `Failed to download 
'http://gdcproject.org/downloads/binaries/x86_64-linux-gnu/gdc-5.4.0.tar.xz'`
error (or similar).

Any idea what's going on here?
Mar 18 2017
parent reply Johannes Pfau <nospam example.com> writes:
Am Sun, 19 Mar 2017 06:04:35 +0000
schrieb Jeremy DeHaan <dehaan.jeremiah gmail.com>:

 I've updated a Travis CI script to test my project against the 
 new 2.068.2 GDC versions, but 5.4.0 and 6.3.0 don't seem to be 
 available. When Travis runs, I get a `Failed to download 
 'http://gdcproject.org/downloads/binaries/x86_64-linux-gnu/gdc-5.4.0.tar.xz'`
 error (or similar).
 
 Any idea what's going on here?
The symlinks for travis-ci are missing, but this is intentional for now. Travis-CI uses a very old Ubuntu which makes running the standard binaries difficult and 5.x/6.x don't work on travis yet. Martin Nowak mentioned a workaround though (we need to make sure travis-CI uses the libraries (libatomic, libstdc++) shipped with the binary toolchains instead of the system libraries) but I'll have to update the dlang installer script as the last GDC binary release changed the library paths. Then the installer script should also be updated to fetch the toolchains from the new download locations so we don't need these symlinks anymore. -- Johannes
Mar 19 2017
parent Jeremy DeHaan <dehaan.jeremiah gmail.com> writes:
On Sunday, 19 March 2017 at 12:55:15 UTC, Johannes Pfau wrote:
 Am Sun, 19 Mar 2017 06:04:35 +0000
 schrieb Jeremy DeHaan <dehaan.jeremiah gmail.com>:

 I've updated a Travis CI script to test my project against the
 new 2.068.2 GDC versions, but 5.4.0 and 6.3.0 don't seem to be
 available. When Travis runs, I get a `Failed to download
 'http://gdcproject.org/downloads/binaries/x86_64-linux-gnu/gdc-5.4.0.tar.xz'`
 error (or similar).
 
 Any idea what's going on here?
Travis-CI uses a very old Ubuntu which makes running the standard binaries difficult and 5.x/6.x don't work on travis yet.
I'm not sure if this makes any difference, but Travis CI has introduced beta Ubuntu 14.04 support. GDC 4.9.4 wasn't working on Travis CI due to libatomic issues until I enabled it. I wonder if GDC 5.4.0 and 6.3.0 would work under that?
Mar 19 2017