-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gtk-doc output varies from parallelism #89
Comments
Can't be fixed in gtk-doc (funny I am the gtk-doc maintainer). The docs could be build in paralell, but the xrefs have to be built in order. For now just don't built them in parallel if it doesn't work :). |
Would be good, to have better documentation on how to do such a non-parallel build. Currently we build the whole buzztrax with One ugly hack could be to build everything with parallelism, then remove all docs and rebuild without parallelism. Not nice. A better way would be to run non-parallel
|
Hi, I'd still welcome help on how to get |
ping |
Sorry for the delay. My computer is so fast and the code base is so small, that I built with make (no -j4). I think we could try to setup some dependencies between the doc modules here: I'll see if I can give this a try later this week. |
Again sorry for the delay. Please reopen if the change turns out to be insufficient. |
I tried with master version, but still get diffs between -j1 and -j4 from +++ new//usr/share/gtk-doc/html/buzztrax-edit/BtPianoKeys.html 2021-02-28 04:23
:36.570132024 +0000
@@ -136,7 +136,7 @@
<a name="BtPianoKeys-key-pressed"></a><h3>The <code class="literal">“key-presse
d”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="BtPianoKeys.html" title="BtPianoKeys"><span class="type">BtPianoKeys</span></a> *self,
- <a href="../html/buzztrax-gst-GstBtMusicEnums.html#href_anchor"><span class="type">GstBtNote</span></a> key,
+ <span class="type">GstBtNote</span> key, and
|
Weird.This is what I did to test things: # terminal 1
git clone buzztrax buzztrax.doc_determinism
# terminal 2
cd buzztrax
make clean; make -j1
# terminal 3
cd buzztrax.doc_determinism
make clean; make -j4
# terminal 1
diff buzztrax{,.doc_determinism}/docs/reference/bt-edit/html/BtPianoKeys.html and they are the same. Installing the docs should not change anything. Install only rebases the links. The fixxrefs step is parts of html-build. I also did a make install and see no difference:
Regarding the |
FYI: maybe we can find some time interactively figure this in https://gitter.im/Buzztrax/buzztrax |
While working on reproducible builds for openSUSE, I found that
our buzztrax package varies unless we build it with make -j1
without parallelism.
These files are created by
gtkdoc-fixxref
called bymake -C docs/reference/bt-cmd
It his something that can be fixed in buzztrax, or do we need to work with gtk-doc maintainers?
The text was updated successfully, but these errors were encountered: