<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/build-aux/compile-all.scm, branch master</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>build: Makefile splits Scheme compilation in four steps.</title>
<updated>2021-06-23T21:35:27+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2021-06-23T20:43:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=ef82ba9dd94369926eb13325d5e7da4306d23dd7'/>
<id>ef82ba9dd94369926eb13325d5e7da4306d23dd7</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/48963&gt;.
Reported by Julien Lepiller &lt;julien@lepiller.eu&gt;.

This reduces peak memory consumption to something less unreasonable.

* Makefile.am (make-go): Depend on 'make-*-go' targets; remove body.
(guile-compilation-rule): New function.
(MODULES_CORE, MODULES_PACKAGES, MODULES_SYSTEM, MODULES_CLI): New
variables.
&lt;top level&gt;: Call 'guile-compilation-rule' 4 times.
* build-aux/compile-all.scm &lt;top level&gt;: Expect "--total" and
"--processed".  Take them into account when displaying progress
reports.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://bugs.gnu.org/48963&gt;.
Reported by Julien Lepiller &lt;julien@lepiller.eu&gt;.

This reduces peak memory consumption to something less unreasonable.

* Makefile.am (make-go): Depend on 'make-*-go' targets; remove body.
(guile-compilation-rule): New function.
(MODULES_CORE, MODULES_PACKAGES, MODULES_SYSTEM, MODULES_CLI): New
variables.
&lt;top level&gt;: Call 'guile-compilation-rule' 4 times.
* build-aux/compile-all.scm &lt;top level&gt;: Expect "--total" and
"--processed".  Take them into account when displaying progress
reports.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Remove Guile 2.2 workaround.</title>
<updated>2021-06-18T12:18:06+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2021-06-16T12:25:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=003728cfab907be5df1411c5faaf466a2b8d5ba2'/>
<id>003728cfab907be5df1411c5faaf466a2b8d5ba2</id>
<content type='text'>
* build-aux/compile-all.scm &lt;top level&gt;: Remove Guile 2.2 workaround.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* build-aux/compile-all.scm &lt;top level&gt;: Remove Guile 2.2 workaround.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Cap build parallelism on i686.</title>
<updated>2020-04-11T22:00:59+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-04-11T22:00:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=27a1e4fd109f6df9f687958cfead0d3e41e330aa'/>
<id>27a1e4fd109f6df9f687958cfead0d3e41e330aa</id>
<content type='text'>
Works around &lt;https://bugs.gnu.org/40522&gt;.

* build-aux/compile-all.scm (parallel-job-count*): New procedure.
&lt;top level&gt;: Use it instead of 'parallel-job-count'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Works around &lt;https://bugs.gnu.org/40522&gt;.

* build-aux/compile-all.scm (parallel-job-count*): New procedure.
&lt;top level&gt;: Use it instead of 'parallel-job-count'.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Report build errors via 'report-load-error'.</title>
<updated>2019-06-25T15:41:24+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-25T13:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=ee700da584370330331ed09eabafc94a19892784'/>
<id>ee700da584370330331ed09eabafc94a19892784</id>
<content type='text'>
* build-aux/compile-all.scm: Wrap 'compile-files' call in 'catch'.
Attempt to resort to 'report-load-error' in (guix ui) to print the
error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* build-aux/compile-all.scm: Wrap 'compile-files' call in 'catch'.
Attempt to resort to 'report-load-error' in (guix ui) to print the
error.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Show completion percentage while building.</title>
<updated>2019-04-19T15:46:40+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-19T14:49:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=04b5ac212f33fc20696fbe43816a1a86aad1a9f2'/>
<id>04b5ac212f33fc20696fbe43816a1a86aad1a9f2</id>
<content type='text'>
* build-aux/compile-all.scm (%): New procedure.
(command-line): Use it to report completion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* build-aux/compile-all.scm (%): New procedure.
(command-line): Use it to report completion.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Explicitly flush the "LOAD" and "GUILEC" lines.</title>
<updated>2017-11-28T12:40:04+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-11-28T12:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=c397dfca033c2212abdd012a28c562cc3eaa942c'/>
<id>c397dfca033c2212abdd012a28c562cc3eaa942c</id>
<content type='text'>
* build-aux/compile-all.scm &lt;top level&gt;: Add calls to 'force-output'
in the #:report-load and #:report-compilation procedures.  Fixes a
regression introduced in 2890ad332fcdfd4bc92b127d783975437c8b718b
whereby compilation output would be buffered, leading to a weird
visual effect.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* build-aux/compile-all.scm &lt;top level&gt;: Add calls to 'force-output'
in the #:report-load and #:report-compilation procedures.  Fixes a
regression introduced in 2890ad332fcdfd4bc92b127d783975437c8b718b
whereby compilation output would be buffered, leading to a weird
visual effect.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Honor make's '-j' flag.</title>
<updated>2017-10-23T05:09:00+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-13T16:21:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=3a9976bfcd13e6554a2458ce1a3b9d7b95043195'/>
<id>3a9976bfcd13e6554a2458ce1a3b9d7b95043195</id>
<content type='text'>
* build-aux/compile-all.scm (parallel-job-count): New procedure.
&lt;top level&gt;: Pass it to 'compile-files' as #:workers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* build-aux/compile-all.scm (parallel-job-count): New procedure.
&lt;top level&gt;: Pass it to 'compile-files' as #:workers.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Factorize module compilation in (guix build compile).</title>
<updated>2017-10-23T05:09:00+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-13T16:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=2890ad332fcdfd4bc92b127d783975437c8b718b'/>
<id>2890ad332fcdfd4bc92b127d783975437c8b718b</id>
<content type='text'>
* guix/build/compile.scm: New file.
* Makefile.am (MODULES): Add it.
* build-aux/compile-all.scm: Use it.
(warnings, file-&gt;module, load-module-file)
(%default-optimizations, %lightweight-optimizations)
(optimization-options, compile-file*): Remove.
&lt;top level&gt;: Use 'compile-files'.
* guix/build/pull.scm (%default-optimizations)
(%lightweight-optimizations, optimization-options): Remove.
(build-guix): Rewrite as a call to 'compile-files'.
* guix/discovery.scm (file-name-&gt;module-name): Export.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/compile.scm: New file.
* Makefile.am (MODULES): Add it.
* build-aux/compile-all.scm: Use it.
(warnings, file-&gt;module, load-module-file)
(%default-optimizations, %lightweight-optimizations)
(optimization-options, compile-file*): Remove.
&lt;top level&gt;: Use 'compile-files'.
* guix/build/pull.scm (%default-optimizations)
(%lightweight-optimizations, optimization-options): Remove.
(build-guix): Rewrite as a call to 'compile-files'.
* guix/discovery.scm (file-name-&gt;module-name): Export.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Use -Wmacro-use-before-definition.</title>
<updated>2017-09-08T10:48:08+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-09-08T10:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=1b58f1c8ba6f2ccf7e19c6b022b7567a6841a28b'/>
<id>1b58f1c8ba6f2ccf7e19c6b022b7567a6841a28b</id>
<content type='text'>
* build-aux/compile-all.scm (warnings): Add 'macro-use-before-definition'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* build-aux/compile-all.scm (warnings): Add 'macro-use-before-definition'.
</pre>
</div>
</content>
</entry>
<entry>
<title>ui: Rename '_' to 'G_'.</title>
<updated>2017-05-03T14:16:17+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-05-03T13:57:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=69daee23af49aeafcb1d250c90860f9253da719e'/>
<id>69daee23af49aeafcb1d250c90860f9253da719e</id>
<content type='text'>
This avoids collisions with '_' when the latter is used as a 'match'
pattern for instance.  See
&lt;https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00464.html&gt;.

* guix/ui.scm: Rename '_' to 'G_'.
* po/guix/Makevars (XGETTEXT_OPTIONS): Adjust accordingly.
* build-aux/compile-all.scm (warnings): Remove 'format'.
* gnu/packages.scm,
gnu/services.scm,
gnu/services/shepherd.scm,
gnu/system.scm,
gnu/system/shadow.scm,
guix/gnupg.scm,
guix/http-client.scm,
guix/import/cpan.scm,
guix/import/elpa.scm,
guix/import/pypi.scm,
guix/nar.scm,
guix/scripts.scm,
guix/scripts/archive.scm,
guix/scripts/authenticate.scm,
guix/scripts/build.scm,
guix/scripts/challenge.scm,
guix/scripts/container.scm,
guix/scripts/container/exec.scm,
guix/scripts/copy.scm,
guix/scripts/download.scm,
guix/scripts/edit.scm,
guix/scripts/environment.scm,
guix/scripts/gc.scm,
guix/scripts/graph.scm,
guix/scripts/hash.scm,
guix/scripts/import.scm,
guix/scripts/import/cpan.scm,
guix/scripts/import/cran.scm,
guix/scripts/import/crate.scm,
guix/scripts/import/elpa.scm,
guix/scripts/import/gem.scm,
guix/scripts/import/gnu.scm,
guix/scripts/import/hackage.scm,
guix/scripts/import/nix.scm,
guix/scripts/import/pypi.scm,
guix/scripts/import/stackage.scm,
guix/scripts/lint.scm,
guix/scripts/offload.scm,
guix/scripts/pack.scm,
guix/scripts/package.scm,
guix/scripts/perform-download.scm,
guix/scripts/publish.scm,
guix/scripts/pull.scm,
guix/scripts/refresh.scm,
guix/scripts/size.scm,
guix/scripts/substitute.scm,
guix/scripts/system.scm,
guix/ssh.scm,
guix/upstream.scm: Use 'G_' instead of '_'.  Most of this change was
obtained by running: "sed -i -e's/(_ "/(G_ "/g' `find -name \*.scm`".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids collisions with '_' when the latter is used as a 'match'
pattern for instance.  See
&lt;https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00464.html&gt;.

* guix/ui.scm: Rename '_' to 'G_'.
* po/guix/Makevars (XGETTEXT_OPTIONS): Adjust accordingly.
* build-aux/compile-all.scm (warnings): Remove 'format'.
* gnu/packages.scm,
gnu/services.scm,
gnu/services/shepherd.scm,
gnu/system.scm,
gnu/system/shadow.scm,
guix/gnupg.scm,
guix/http-client.scm,
guix/import/cpan.scm,
guix/import/elpa.scm,
guix/import/pypi.scm,
guix/nar.scm,
guix/scripts.scm,
guix/scripts/archive.scm,
guix/scripts/authenticate.scm,
guix/scripts/build.scm,
guix/scripts/challenge.scm,
guix/scripts/container.scm,
guix/scripts/container/exec.scm,
guix/scripts/copy.scm,
guix/scripts/download.scm,
guix/scripts/edit.scm,
guix/scripts/environment.scm,
guix/scripts/gc.scm,
guix/scripts/graph.scm,
guix/scripts/hash.scm,
guix/scripts/import.scm,
guix/scripts/import/cpan.scm,
guix/scripts/import/cran.scm,
guix/scripts/import/crate.scm,
guix/scripts/import/elpa.scm,
guix/scripts/import/gem.scm,
guix/scripts/import/gnu.scm,
guix/scripts/import/hackage.scm,
guix/scripts/import/nix.scm,
guix/scripts/import/pypi.scm,
guix/scripts/import/stackage.scm,
guix/scripts/lint.scm,
guix/scripts/offload.scm,
guix/scripts/pack.scm,
guix/scripts/package.scm,
guix/scripts/perform-download.scm,
guix/scripts/publish.scm,
guix/scripts/pull.scm,
guix/scripts/refresh.scm,
guix/scripts/size.scm,
guix/scripts/substitute.scm,
guix/scripts/system.scm,
guix/ssh.scm,
guix/upstream.scm: Use 'G_' instead of '_'.  Most of this change was
obtained by running: "sed -i -e's/(_ "/(G_ "/g' `find -name \*.scm`".
</pre>
</div>
</content>
</entry>
</feed>
