I didn't try a build-server run. I first tried pch for development, thinking it was easier to setup than ccache (later it turned out I was wrong, ccache is easier). Then I was hit by these super-weird build errors and I moved to ccache. I never looked back.
Joel Holdsworth said: (by the date of Thu, 5 Dec 2019 19:12:16 +0000) > Even for a build-server test run? I agree it's not so useful for > development. > > On 12/5/19 6:47 PM, Janek Kozicki (yade) wrote: > > Joel Holdsworth said: (by the date of Thu, 5 Dec 2019 18:41:05 +0000) > > > >> Should Eigen be pre-built as a PCH? I would imagine that could speed > >> things up a lot. > > > > > > I experimented with precompiled headers. It is not worth the hassle. > > Especially because sometimes gcc does not recognize that they are out > > of date, which resulted in super-weird build errors. I found out that > > ccache is much more robust and reliable. > > > > > > > >> On 12/5/19 6:36 PM, Janek Kozicki (yade) wrote: > >>> Hi, > >>> > >>> I am developer of YADE, https://gitlab.com/yade-dev and I want to add > >>> high precision support in our entire codebase. Unfortunately I have > >>> been getting eigen segfaults in my tests. More about that in another > >>> email. > >>> > >>> I want to talk a little about your gitlab migration :) > >>> > >>> I use libeigen since roughly 2007. That's the first time however when > >>> I need to fix something in libeigen, and I can't do that without a > >>> working CI. The simplest compilation in gitlab-CI pipeline for me is > >>> to use the debian build scripts. And I created a > >>> super-simple .gitlab-ci, just to see a working pipeline: > >>> > >>> https://gitlab.com/cosurgi/eigen/merge_requests/1 > >>> https://gitlab.com/cosurgi/eigen/pipelines/100984912 > >>> > >>> All tests passed (around line 3480): > >>> https://gitlab.com/cosurgi/eigen/-/jobs/370818226#L3481 > >>> > >>> you might want to have a look at eiher that small simple .gitlab-ci > >>> in that branch, or the full-blown .gitlab-ci which I use in yade all > >>> the time: > >>> > >>> https://gitlab.com/yade-dev/trunk/blob/master/.gitlab-ci.yml > >>> https://gitlab.com/yade-dev/trunk/pipelines/100789929 > >>> > >>> I am using ccache for yade compilation, it speeds up things really a > >>> lot. I did the same thing in that small .gitlab-ci which I prepared for my > >>> tests of libeigen. > >>> > >>> I triggered a second libeigen compilation. The first one took 1hour. The > >>> second one, thanks to ccache took only 14 minutes: > >>> > >>> https://gitlab.com/cosurgi/eigen/pipelines/100999796 > >>> https://gitlab.com/cosurgi/eigen/pipelines > >>> > >>> best regards > >>> Janek Kozicki > >>> > >>> > >>> > >> > >> > >> > > > > > -- -- Janek Kozicki, PhD. DSc. Arch. Assoc. Prof. GdaĆsk University of Technology Faculty of Applied Physics and Mathematics Department of Theoretical Physics and Quantum Information -- http://yade-dem.org/ http://pg.edu.pl/jkozicki (click English flag on top right)
