Re: GDC CI

2020-09-19 Thread wjoe via D.gnu
On Saturday, 19 September 2020 at 09:53:29 UTC, wjoe wrote: This is a bastardized version of the git gcc-descr alias. git describe --all --abbrev=40 --match 'basepoints/gcc-[0-9]*' origin/master | sed -n 's,^\(tags/\)\?basepoints/gcc-,r,p' That should get you a tag like r11-3179-g5de41c8862

Re: GDC CI

2020-09-19 Thread wjoe via D.gnu
On Saturday, 19 September 2020 at 00:29:37 UTC, Iain Buclaw wrote: [...] I can provide a server for you to upload to. Git tags for Great. versioning might be interesting for uploads, but they're not going to be binaries that will stay around for too long. This is a bastardized version of

Re: GDC CI

2020-09-18 Thread Iain Buclaw via D.gnu
On Thursday, 17 September 2020 at 14:15:34 UTC, wjoe wrote: On Wednesday, 16 September 2020 at 21:05:27 UTC, Iain Buclaw wrote: On Wednesday, 16 September 2020 at 12:50:57 UTC, wjoe wrote: [...] You should be able to get yourself down to about ~30MB. ;-) I'll see if there's any miscellaneous

Re: GDC CI

2020-09-17 Thread wjoe via D.gnu
On Thursday, 17 September 2020 at 14:15:34 UTC, wjoe wrote: On Wednesday, 16 September 2020 at 21:05:27 UTC, Iain Buclaw [...] Installation and creation of the tar ball now works as expected. It contains a folder named after the build_target triplet and includes the libstdcxx, libphobos head

Re: GDC CI

2020-09-17 Thread wjoe via D.gnu
On Wednesday, 16 September 2020 at 21:05:27 UTC, Iain Buclaw wrote: On Wednesday, 16 September 2020 at 12:50:57 UTC, wjoe wrote: On Wednesday, 16 September 2020 at 10:42:27 UTC, Iain Buclaw wrote: On Wednesday, 16 September 2020 at 09:55:22 UTC, wjoe wrote: The way it's being done right now i

Re: GDC CI

2020-09-16 Thread wjoe via D.gnu
On Wednesday, 16 September 2020 at 21:25:19 UTC, Iain Buclaw wrote: On Wednesday, 16 September 2020 at 10:47:01 UTC, wjoe wrote: On Wednesday, 16 September 2020 at 10:23:16 UTC, Iain Buclaw wrote: [...] Configuration wise that's not a problem at all. My reasoning for the dependency was that

Re: GDC CI

2020-09-16 Thread wjoe via D.gnu
On Wednesday, 16 September 2020 at 21:05:27 UTC, Iain Buclaw wrote: You should be able to get yourself down to about ~30MB. ;-) I'll see if there's any miscellaneous tweaks you can do, but the most obvious one is `strip --strip-debug`. `make install-strip` should do the trick. Also, the fin

Re: GDC CI

2020-09-16 Thread wjoe via D.gnu
On Wednesday, 16 September 2020 at 21:05:27 UTC, Iain Buclaw wrote: On Wednesday, 16 September 2020 at 12:50:57 UTC, wjoe wrote: [...] You should be able to get yourself down to about ~30MB. ;-) I'll see if there's any miscellaneous tweaks you can do, but the most obvious one is `strip --str

Re: GDC CI

2020-09-16 Thread Iain Buclaw via D.gnu
On Wednesday, 16 September 2020 at 10:47:01 UTC, wjoe wrote: On Wednesday, 16 September 2020 at 10:23:16 UTC, Iain Buclaw wrote: On Wednesday, 16 September 2020 at 09:33:05 UTC, wjoe wrote: [...] build_bootstrap=enabled should be OK. Even better, it configures with --enable-checking=release

Re: GDC CI

2020-09-16 Thread Iain Buclaw via D.gnu
On Wednesday, 16 September 2020 at 12:50:57 UTC, wjoe wrote: On Wednesday, 16 September 2020 at 10:42:27 UTC, Iain Buclaw wrote: On Wednesday, 16 September 2020 at 09:55:22 UTC, wjoe wrote: The way it's being done right now is that 'make install' installs to the /usr prefix. After that a tarb

Re: GDC CI

2020-09-16 Thread Iain Buclaw via D.gnu
On Wednesday, 16 September 2020 at 11:17:41 UTC, wjoe wrote: On Wednesday, 16 September 2020 at 10:57:46 UTC, Iain Buclaw wrote: On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote: [...] I had a look on the most recent build, and they are all timeout failures. This has on some rare o

Re: GDC CI

2020-09-16 Thread wjoe via D.gnu
On Wednesday, 16 September 2020 at 10:42:27 UTC, Iain Buclaw wrote: On Wednesday, 16 September 2020 at 09:55:22 UTC, wjoe wrote: The way it's being done right now is that 'make install' installs to the /usr prefix. After that a tarball of this prefix is created (via tar cJf gdc-triplet.txz /u

Re: GDC CI

2020-09-16 Thread wjoe via D.gnu
On Wednesday, 16 September 2020 at 00:49:52 UTC, Seb wrote: If you manage to build tarballs of the binaries, I think a lot of people would greatly appreciate if they are made available (e.g. can be done directly on GitHub via "Releases"). For example, see https://github.com/dlang/installer/pul

Re: GDC CI

2020-09-16 Thread wjoe via D.gnu
On Wednesday, 16 September 2020 at 10:57:46 UTC, Iain Buclaw wrote: On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote: [...] I had a look on the most recent build, and they are all timeout failures. This has on some rare occasions happened locally. It is related to building phobos

Re: GDC CI

2020-09-16 Thread Iain Buclaw via D.gnu
On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote: I've added the above tasks and they are reported to have been completed successfully in the Cirrus summary. However, on a closer look I can spot multiple failures or files/directories which can't be found. - Some 12 failed tests as well

Re: GDC CI

2020-09-16 Thread wjoe via D.gnu
On Wednesday, 16 September 2020 at 10:23:16 UTC, Iain Buclaw wrote: On Wednesday, 16 September 2020 at 09:33:05 UTC, wjoe wrote: [...] build_bootstrap=enabled should be OK. Even better, it configures with --enable-checking=release. [...] All tasks could be ran in parallel as there's n

Re: GDC CI

2020-09-16 Thread Iain Buclaw via D.gnu
On Wednesday, 16 September 2020 at 09:55:22 UTC, wjoe wrote: The way it's being done right now is that 'make install' installs to the /usr prefix. After that a tarball of this prefix is created (via tar cJf gdc-triplet.txz /usr). I'm not sure if that's suitable as a release as is because tar

Re: GDC CI

2020-09-16 Thread Iain Buclaw via D.gnu
On Wednesday, 16 September 2020 at 09:57:21 UTC, wjoe wrote: On Wednesday, 16 September 2020 at 09:55:22 UTC, wjoe wrote: I couldn't find the install script in my 1 minute search in the download section. Could I inconvenience you to copy/paste the link, please ? Thanks :) Found it. It was ju

Re: GDC CI

2020-09-16 Thread Iain Buclaw via D.gnu
On Wednesday, 16 September 2020 at 09:33:05 UTC, wjoe wrote: On Tuesday, 15 September 2020 at 18:49:48 UTC, Iain Buclaw wrote: On Tuesday, 15 September 2020 at 16:05:53 UTC, wjoe wrote: [...] Note the comments in the build function, only the dependencies of the C++ and D libraries are built.

Re: GDC CI

2020-09-16 Thread wjoe via D.gnu
On Wednesday, 16 September 2020 at 00:49:52 UTC, Seb wrote: On Tuesday, 15 September 2020 at 16:05:53 UTC, wjoe wrote: On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote: I've added the above tasks and they are reported to have been completed successfully in the Cirrus summary. However,

Re: GDC CI

2020-09-16 Thread wjoe via D.gnu
On Wednesday, 16 September 2020 at 09:55:22 UTC, wjoe wrote: I couldn't find the install script in my 1 minute search in the download section. Could I inconvenience you to copy/paste the link, please ? Thanks :) Found it. It was just one more click away :)

Re: GDC CI

2020-09-16 Thread wjoe via D.gnu
On Tuesday, 15 September 2020 at 18:49:48 UTC, Iain Buclaw wrote: On Tuesday, 15 September 2020 at 16:05:53 UTC, wjoe wrote: On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote: I've added the above tasks and they are reported to have been completed successfully in the Cirrus summary. How

Re: GDC CI

2020-09-15 Thread Seb via D.gnu
On Tuesday, 15 September 2020 at 16:05:53 UTC, wjoe wrote: On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote: I've added the above tasks and they are reported to have been completed successfully in the Cirrus summary. However, on a closer look I can spot multiple failures or files/direc

Re: GDC CI

2020-09-15 Thread Iain Buclaw via D.gnu
On Tuesday, 15 September 2020 at 16:05:53 UTC, wjoe wrote: On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote: I've added the above tasks and they are reported to have been completed successfully in the Cirrus summary. However, on a closer look I can spot multiple failures or files/direc

Re: GDC CI

2020-09-15 Thread wjoe via D.gnu
On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote: I've added the above tasks and they are reported to have been completed successfully in the Cirrus summary. However, on a closer look I can spot multiple failures or files/directories which can't be found. - Some 12 failed tests as well

Re: GDC CI

2020-09-15 Thread wjoe via D.gnu
I've added the above tasks and they are reported to have been completed successfully in the Cirrus summary. However, on a closer look I can spot multiple failures or files/directories which can't be found. - Some 12 failed tests as well as 10 unresolved test cases in the unittest step. - The bui

Re: GDC CI

2020-09-12 Thread Iain Buclaw via D.gnu
On Friday, 11 September 2020 at 12:33:02 UTC, wjoe wrote: On Wednesday, 9 September 2020 at 23:13:38 UTC, Iain Buclaw wrote: On Wednesday, 9 September 2020 at 18:32:07 UTC, wjoe wrote: On Wednesday, 9 September 2020 at 12:37:37 UTC, wjoe wrote: On Wednesday, 9 September 2020 at 12:13:32 UTC, k

Re: GDC CI

2020-09-11 Thread wjoe via D.gnu
On Wednesday, 9 September 2020 at 23:13:38 UTC, Iain Buclaw wrote: On Wednesday, 9 September 2020 at 18:32:07 UTC, wjoe wrote: On Wednesday, 9 September 2020 at 12:37:37 UTC, wjoe wrote: On Wednesday, 9 September 2020 at 12:13:32 UTC, kinke wrote: On Wednesday, 9 September 2020 at 11:33:22 UTC

Re: GDC CI

2020-09-11 Thread Iain Buclaw via D.gnu
On Friday, 11 September 2020 at 12:19:52 UTC, wjoe wrote: On Thursday, 10 September 2020 at 09:30:15 UTC, kinke wrote: On Wednesday, 9 September 2020 at 18:32:07 UTC, wjoe wrote: Mac is a single core VM on community cluster. Nope, it's a dual-core VM with hyperthreading and so 4 logical core

Re: GDC CI

2020-09-11 Thread wjoe via D.gnu
On Friday, 11 September 2020 at 12:30:11 UTC, Iain Buclaw wrote: On Friday, 11 September 2020 at 12:19:52 UTC, wjoe wrote: On Thursday, 10 September 2020 at 09:30:15 UTC, kinke wrote: On Wednesday, 9 September 2020 at 18:32:07 UTC, wjoe wrote: Mac is a single core VM on community cluster. No

Re: GDC CI

2020-09-11 Thread wjoe via D.gnu
On Thursday, 10 September 2020 at 09:30:15 UTC, kinke wrote: On Wednesday, 9 September 2020 at 18:32:07 UTC, wjoe wrote: Mac is a single core VM on community cluster. Nope, it's a dual-core VM with hyperthreading and so 4 logical cores. All the better. For whatever reason the way I got it i

Re: GDC CI

2020-09-10 Thread kinke via D.gnu
On Wednesday, 9 September 2020 at 18:32:07 UTC, wjoe wrote: Mac is a single core VM on community cluster. Nope, it's a dual-core VM with hyperthreading and so 4 logical cores.

Re: GDC CI

2020-09-09 Thread Iain Buclaw via D.gnu
On Wednesday, 9 September 2020 at 18:32:07 UTC, wjoe wrote: On Wednesday, 9 September 2020 at 12:37:37 UTC, wjoe wrote: On Wednesday, 9 September 2020 at 12:13:32 UTC, kinke wrote: On Wednesday, 9 September 2020 at 11:33:22 UTC, wjoe wrote: I suspect that maybe the compiler wasn't properly inst

Re: GDC CI

2020-09-09 Thread wjoe via D.gnu
On Wednesday, 9 September 2020 at 12:37:37 UTC, wjoe wrote: On Wednesday, 9 September 2020 at 12:13:32 UTC, kinke wrote: On Wednesday, 9 September 2020 at 11:33:22 UTC, wjoe wrote: I suspect that maybe the compiler wasn't properly installed in the container ? Maybe just a typo in your Dockerf

Re: GDC CI

2020-09-09 Thread wjoe via D.gnu
On Wednesday, 9 September 2020 at 12:13:32 UTC, kinke wrote: On Wednesday, 9 September 2020 at 11:33:22 UTC, wjoe wrote: I suspect that maybe the compiler wasn't properly installed in the container ? Maybe just a typo in your Dockerfile? You're installing `g++9`, but the package name is `g++-

Re: GDC CI

2020-09-09 Thread kinke via D.gnu
On Wednesday, 9 September 2020 at 11:33:22 UTC, wjoe wrote: I suspect that maybe the compiler wasn't properly installed in the container ? Maybe just a typo in your Dockerfile? You're installing `g++9`, but the package name is `g++-9`.

Re: GDC CI

2020-09-09 Thread wjoe via D.gnu
On Wednesday, 9 September 2020 at 11:22:14 UTC, Iain Buclaw wrote: On Tuesday, 8 September 2020 at 23:48:58 UTC, wjoe wrote: On Tuesday, 8 September 2020 at 20:12:47 UTC, wjoe wrote: [...] Except there's a problem with the installation of gcc-9. Apparently there's no Debian release providing

Re: GDC CI

2020-09-09 Thread Iain Buclaw via D.gnu
On Tuesday, 8 September 2020 at 23:48:58 UTC, wjoe wrote: On Tuesday, 8 September 2020 at 20:12:47 UTC, wjoe wrote: [...] Except there's a problem with the installation of gcc-9. Apparently there's no Debian release providing a gcc-9 package. The build of the container fails in step 4 on ap

Re: GDC CI

2020-09-09 Thread wjoe via D.gnu
Small update. I managed to install gcc-9 and g++-9 from the ubuntu toolchain ppa in the Docker container [1] and it's successfully built. I instructed Cirrus CI to clone the repository like so git clone --branch=master-ci --depth=1 https://github.com/W-joe/gcc /tmp/cirrus-ci-build and it reach

Re: GDC CI

2020-09-09 Thread wjoe via D.gnu
On Tuesday, 8 September 2020 at 23:48:58 UTC, wjoe wrote: On Tuesday, 8 September 2020 at 20:12:47 UTC, wjoe wrote: On Tuesday, 8 September 2020 at 20:03:03 UTC, Iain Buclaw wrote: On Tuesday, 8 September 2020 at 16:44:39 UTC, wjoe wrote: [...] Well the ci script in the repo [1] should be us

Re: GDC CI

2020-09-08 Thread wjoe via D.gnu
On Tuesday, 8 September 2020 at 20:12:47 UTC, wjoe wrote: On Tuesday, 8 September 2020 at 20:03:03 UTC, Iain Buclaw wrote: On Tuesday, 8 September 2020 at 16:44:39 UTC, wjoe wrote: [...] Well the ci script in the repo [1] should be used as a baseline, if not in its entirety as it's been used

Re: GDC CI

2020-09-08 Thread wjoe via D.gnu
On Tuesday, 8 September 2020 at 20:03:03 UTC, Iain Buclaw wrote: On Tuesday, 8 September 2020 at 16:44:39 UTC, wjoe wrote: [...] Well the ci script in the repo [1] should be used as a baseline, if not in its entirety as it's been used on enough to work in many environments, whether building

Re: GDC CI

2020-09-08 Thread Iain Buclaw via D.gnu
On Tuesday, 8 September 2020 at 16:44:39 UTC, wjoe wrote: On Tuesday, 8 September 2020 at 14:18:10 UTC, Iain Buclaw wrote: On Tuesday, 8 September 2020 at 13:50:26 UTC, wjoe wrote: On Monday, 7 September 2020 at 10:41:50 UTC, wjoe wrote: Options I can think of are: A) A Dockerfile for each ca

Re: GDC CI

2020-09-08 Thread wjoe via D.gnu
On Tuesday, 8 September 2020 at 14:18:10 UTC, Iain Buclaw wrote: On Tuesday, 8 September 2020 at 13:50:26 UTC, wjoe wrote: On Monday, 7 September 2020 at 10:41:50 UTC, wjoe wrote: Options I can think of are: A) A Dockerfile for each case in (1.,) 2. and 3., or B) A docker container which provi

Re: GDC CI

2020-09-08 Thread Iain Buclaw via D.gnu
On Tuesday, 8 September 2020 at 13:50:26 UTC, wjoe wrote: On Monday, 7 September 2020 at 10:41:50 UTC, wjoe wrote: Options I can think of are: A) A Dockerfile for each case in (1.,) 2. and 3., or B) A docker container which provides the environment to build GCC and a (Cirrus) CI config which d

Re: GDC CI

2020-09-08 Thread wjoe via D.gnu
On Monday, 7 September 2020 at 10:41:50 UTC, wjoe wrote: Options I can think of are: A) A Dockerfile for each case in (1.,) 2. and 3., or B) A docker container which provides the environment to build GCC and a (Cirrus) CI config which defines the tasks to cover (1.,) 2. and 3. Small update.

Re: GDC CI

2020-09-07 Thread wjoe via D.gnu
On Monday, 7 September 2020 at 09:14:08 UTC, Iain Buclaw wrote: On Saturday, 5 September 2020 at 21:14:28 UTC, Iain Buclaw wrote: On Saturday, 5 September 2020 at 11:23:09 UTC, wjoe wrote: On Saturday, 5 September 2020 at 10:25:28 UTC, Johannes Pfau wrote: The main difficulty in setting up CI

Re: GDC CI

2020-09-07 Thread wjoe via D.gnu
On Monday, 7 September 2020 at 09:20:21 UTC, Iain Buclaw wrote: On Sunday, 6 September 2020 at 21:52:04 UTC, wjoe wrote: [...] In case it saves some work... Baseline dependencies for Debian/Ubuntu are: autogen autoconf automake bison dejagnu flex libcurl4-gnutls-dev libgmp-dev libisl-dev li

Re: GDC CI

2020-09-07 Thread Iain Buclaw via D.gnu
On Sunday, 6 September 2020 at 21:52:04 UTC, wjoe wrote: On Saturday, 5 September 2020 at 21:14:28 UTC, Iain Buclaw wrote: On Saturday, 5 September 2020 at 11:23:09 UTC, wjoe wrote: On Saturday, 5 September 2020 at 10:25:28 UTC, Johannes Pfau wrote: [...] Please forgive my confusion. There

Re: GDC CI

2020-09-07 Thread Iain Buclaw via D.gnu
On Saturday, 5 September 2020 at 21:14:28 UTC, Iain Buclaw wrote: On Saturday, 5 September 2020 at 11:23:09 UTC, wjoe wrote: On Saturday, 5 September 2020 at 10:25:28 UTC, Johannes Pfau wrote: The main difficulty in setting up CI for GDC is that we can't simply put CI configuration files in t

Re: GDC CI

2020-09-06 Thread wjoe via D.gnu
On Saturday, 5 September 2020 at 21:14:28 UTC, Iain Buclaw wrote: On Saturday, 5 September 2020 at 11:23:09 UTC, wjoe wrote: On Saturday, 5 September 2020 at 10:25:28 UTC, Johannes Pfau wrote: [...] Please forgive my confusion. There are 2 repositories, upstream GCC and GitHub/D-Programming

Re: GDC CI

2020-09-05 Thread Iain Buclaw via D.gnu
On Saturday, 5 September 2020 at 11:23:09 UTC, wjoe wrote: On Saturday, 5 September 2020 at 10:25:28 UTC, Johannes Pfau wrote: Am Sat, 05 Sep 2020 10:04:30 + schrieb wjoe: [...] To answer your other question: [...] That information is probably quite obsolete: As GCC upstream uses git

Re: GDC CI

2020-09-05 Thread wjoe via D.gnu
On Saturday, 5 September 2020 at 10:25:28 UTC, Johannes Pfau wrote: Am Sat, 05 Sep 2020 10:04:30 + schrieb wjoe: This thread is a continuation of the conversation "GDC 10.2.1 Released" in the Announce group here [1]: To answer your other question: We use https://github.com/D-Programming

Re: GDC CI

2020-09-05 Thread Johannes Pfau via D.gnu
Am Sat, 05 Sep 2020 10:04:30 + schrieb wjoe: > This thread is a continuation of the conversation "GDC 10.2.1 Released" > in the Announce group here [1]: > To answer your other question: >> We use https://github.com/D-Programming-GDC/gcc for CI, but >> commits will go to the GCC SVN first, s

GDC CI

2020-09-05 Thread wjoe via D.gnu
This thread is a continuation of the conversation "GDC 10.2.1 Released" in the Announce group here [1]: For reference: 1. Is Cirrus CI good enough to build gdc? And if so, look into adding Windows, MacOSX, and FreeBSD platforms to the pipeline. What does "good enough" mean ? It me