Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2017 09:52:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-doc@FreeBSD.org
Subject:   [Bug 222322] parallel doc build
Message-ID:  <bug-222322-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222322

            Bug ID: 222322
           Summary: parallel doc build
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Documentation
          Assignee: freebsd-doc@FreeBSD.org
          Reporter: wosch@FreeBSD.org

Created attachment 186370
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186370&action=
=3Dedit
patch

Hi,

the build in ./doc runs for 20-25minutes. Speeding it up with `make -j`' ha=
s no
effect. It would be great if we can build the documentation faster.


Looking at the makefiles in doc/share/mk this doesn't seems to be an easy t=
ask.

Also, most sub-directories contains only a single input file which means `m=
ake
-j' has no effect on a directory level. The workaround could be to run `make
-j' for the sub-directories in a given directory.

Attached is a simple workaround to run the sub-directories in parallel. It
works for the standard target ("all") only. I could run a build in 4 minutes
now (down from 20 minutes). I do not recommend this for production, but for
test & developing it makes a huge difference.


$ make p-all

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222322-9>