<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>For the Raspberry Pi build, have you thought about doing the
compilation on your Macbook? (You need to use a cross-compiler,
but there are howto's for this out there on the Internet, search
"cross-compiling for Raspberry Pi".<br>
</p>
<div class="moz-cite-prefix">On 13/05/2020 03:55, Hy Murveit wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+B1P8vYRyuwDu5T_Uso3Rci-UUs8uydnTBY7ybVTr561s2uHg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div><b>TL;DR</b> KStars makefiles seem to recompile everything
(or a lot anyway) when seemingly small 'git pulls' come in.
Wondering if there's something wrong with the setup. I'm not a
cmake wizard.</div>
<div><br>
</div>
<b>Background:</b> I compile/test KStars mostly on my
MacbookPro, and I find the compile times very reasonable there.
However, when I am ready to test something with a telescope, I
compile and run on my 4Gb RPi4. There it takes about 40 minutes
for me to completely build the system (I run 'make -j6 kstars'
and am compiling RelWithDebInfo) and for some reason, it often
seems to build most of the system.
<div><br>
</div>
<div><b>Gripe: </b>When I change a single .cpp in an Ekos
module, yes, it seems to work fine, just recompile that file,
then build the library, then build the binary. However, often
I seem relatively small updates come in, and I notice very
long compiles. Do others notice this? I wish I could give
concrete examples. Does anyone know how to analyze? E.g. is
there a command to see what would be compiled (and why) before
running the make? Is there a way to improve this?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Hy</div>
<div><br>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Giles Coochey</pre>
</body>
</html>