Re: [Yade-dev] Make ccache working

2019-03-28 Thread Bruno Chareyre
You cmake logs says: > qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory > -- Found unsuitable Qt version "" from NOTFOUND I discovered that yesterday to. I'm really not sure it is related to the ccache problem but it is strange. Try "sudo apt install

Re: [Yade-dev] Make ccache working

2019-03-28 Thread François
Here attached is the full cmake output when I did: > rm -r * > export CC="ccache /usr/bin/gcc" > export CXX="ccache /usr/bin/g++" > cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk > Le jeu. 28 mars 2019 à 06:48, Bruno Chareyre a écrit : > Tu peux ajouter la sortie de cmake a ton message? Pas

Re: [Yade-dev] Make ccache working

2019-03-27 Thread Bruno Chareyre
Tu peux ajouter la sortie de cmake a ton message? Pas dispo ce matin. B Le jeu. 28 mars. 2019 00:58, François a écrit : > Thanks for your help. I'm on kubuntu 18.04 (cmake 3.10.2), and maybe our > versions mismatch is at the origin of the issue (I finally found a > solution, see the bottom of

Re: [Yade-dev] Make ccache working

2019-03-27 Thread Bruno Chareyre
I checked your ubuntu 12.04 page again. That's actually about hiding ccache behind normal gcc invocation, and I kind-of dislike the idea. Explicit call to «ccache g++» sounds cleaner to me and it is compatible with mpicxx (for ubuntu 16.04 at least). Better undo what you have done until now in

Re: [Yade-dev] Make ccache working

2019-03-27 Thread Bruno Chareyre
Also, did you start from fresh build after exporting CXX? I mean: rm -rf ./* export ... cmake [options] make -jN Bruno Le mer. 27 mars. 2019 18:33, Bruno Chareyre a écrit : > Hi François, > > Please remember to give your linux version. > > On Wed, 27 Mar 2019 at 17:44, François wrote: > >>

Re: [Yade-dev] Make ccache working

2019-03-27 Thread Bruno Chareyre
Hi François, Please remember to give your linux version. On Wed, 27 Mar 2019 at 17:44, François wrote: > export CXX=ccache g++ > >> bash: export: « g++ » : identifiant non valable >> > Using > >> export CXX='ccache g++' > > works > Thanks for pointing that out. I forgot the " indeed, I'll fix

[Yade-dev] Make ccache working

2019-03-27 Thread François
Hi all, I'm trying to use ccache but I have two issues. - the first one is the "installation" with the "export" command that doesn"t work: export CXX=ccache g++ > bash: export: « g++ » : identifiant non valable > Using > export CXX='ccache g++' works but it will result in cmake fail