<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/build/compile.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-06-25T15:41:24Z</updated>
<entry>
<title>compile: Enable 'shadowed-toplevel' warning.</title>
<updated>2019-06-25T15:41:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-25T12:54:58Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=77c2899cd409d0bafecf2253b1656487da09adc0'/>
<id>urn:sha1:77c2899cd409d0bafecf2253b1656487da09adc0</id>
<content type='text'>
* guix/build/compile.scm (%warnings): Add 'shadowed-toplevel'.
</content>
</entry>
<entry>
<title>compile: Adjust for Guile 3.</title>
<updated>2019-06-01T23:38:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-01T23:32:12Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=b2cddc6fb1df4bbde23149b3a36ac4cdfe1bd535'/>
<id>urn:sha1:b2cddc6fb1df4bbde23149b3a36ac4cdfe1bd535</id>
<content type='text'>
* guix/build/compile.scm (%default-optimizations): Adjust to the new
names in Guile 2.9.2.
</content>
</entry>
<entry>
<title>compile: Let compiler warnings through during the load phase.</title>
<updated>2019-01-22T22:04:05Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-22T11:01:49Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=c498aaaf110cd7f6950ea47e637725e0513655d4'/>
<id>urn:sha1:c498aaaf110cd7f6950ea47e637725e0513655d4</id>
<content type='text'>
Previous warnings and errors such as those raised by (guix records)
would not be displayed during the load phase.

* guix/build/compile.scm (load-files): Remove 'parameterize' around
'resolve-interface' call.
(compile-files)[build]: Move 'with-fluids' for *CURRENT-WARNING-PREFIX*
to...
&lt;top level&gt;: ... here.
</content>
</entry>
<entry>
<title>maint: Remove 'cond-expand' forms for Guile 2.0.</title>
<updated>2019-01-09T13:47:53Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-06T21:02:40Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a65177a657b0cb36d45f2e8db574ea9c10f89a1f'/>
<id>urn:sha1:a65177a657b0cb36d45f2e8db574ea9c10f89a1f</id>
<content type='text'>
Note: Leave 'cond-expand' forms used in the build-side modules that can
run on %BOOTSTRAP-GUILE, which is currently Guile 2.0.

* guix/build/compile.scm: Move 'use-modules' clause from 'cond-expand'
to 'define-module' form.
(%default-optimizations): Remove 'cond-expand'.
* guix/build/download.scm (tls-wrap): Remove 'cond-expand'.
* guix/build/syscalls.scm: Remove 'cond-expand' form around
'%set-automatic-finalization-enabled?!' and
'without-automatic-finalization'.
* guix/inferior.scm (port-&gt;inferior): Remove 'cond-expand'.
* guix/scripts/pack.scm (wrapped-package)[build]: Remove 'cond-expand'.
* guix/status.scm (build-event-output-port): Remove 'cond-expand'.
* guix/store.scm (open-inet-socket): Remove 'cond-expand'.
* guix/ui.scm (install-locale): Remove 'cond-expand'.
* tests/status.scm ("current-build-output-port, UTF-8 + garbage"):
Remove 'cond-expand'.
* tests/store.scm ("current-build-output-port, UTF-8 + garbage"):
Remove 'cond-expand'.
</content>
</entry>
<entry>
<title>compile: Work around non-thread-safe module autoloading.</title>
<updated>2018-06-18T21:19:51Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-18T13:16:40Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=870677cbb85d05688ba85deb9807fdef8bd94e19'/>
<id>urn:sha1:870677cbb85d05688ba85deb9807fdef8bd94e19</id>
<content type='text'>
* guix/build/compile.scm &lt;top level&gt;: Set 'try-module-autoload' when
running on Guile &lt; 2.2.4.
</content>
</entry>
<entry>
<title>compile: Exit when an exception is thrown.</title>
<updated>2018-05-01T14:01:39Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-05-01T13:26:16Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=27e810c3e8707216c8b1b44e3d012cb0547b13d3'/>
<id>urn:sha1:27e810c3e8707216c8b1b44e3d012cb0547b13d3</id>
<content type='text'>
Previously we could end up with only a subset of the modules built.
Fixes &lt;https://bugs.gnu.org/31329&gt;.

* guix/build/compile.scm (call/exit-on-exception): New procedure.
(exit-on-exception): New macro.
(compile-files): Use it.
</content>
</entry>
<entry>
<title>compile: Put an upper bound on the number of workers.</title>
<updated>2017-11-20T22:42:55Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-11-20T21:33:54Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a5792deca5ed0cded624dc1bb161450427a0a9d8'/>
<id>urn:sha1:a5792deca5ed0cded624dc1bb161450427a0a9d8</id>
<content type='text'>
* guix/build/compile.scm (compile-files): Don't use more than 8 workers.
</content>
</entry>
<entry>
<title>compile: Fix VPATH builds.</title>
<updated>2017-11-06T23:12:10Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-11-05T11:49:57Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=c9405c461b1b37740bc0bb33c7043313978c0014'/>
<id>urn:sha1:c9405c461b1b37740bc0bb33c7043313978c0014</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/29091&gt;.
Reported by Eric Bavier &lt;bavier@cray.com&gt;.

* guix/build/compile.scm (relative-file): New procedure.
(load-files): Use it before calling 'file-name-&gt;module-name'.
(compile-files): Likewise before calling 'scm-&gt;go'.
* guix/build/pull.scm (build-guix): Remove 'with-directory-excursion'
and file name hack from ce33c3af76b0e5c68cc42dddf2b9c4b017386fd8.
Pass OUT to 'all-scheme-files'.
</content>
</entry>
<entry>
<title>discovery: Move 'file-name-&gt;module-name' to (guix modules).</title>
<updated>2017-10-23T05:09:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-13T20:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=7a51c78c6e0cd06dd31f3f28cd941fde15eb17d6'/>
<id>urn:sha1:7a51c78c6e0cd06dd31f3f28cd941fde15eb17d6</id>
<content type='text'>
* guix/discovery.scm (file-name-&gt;module-name): Move to...
* guix/modules.scm (file-name-&gt;module-name): ... here.
* guix/build/compile.scm: Use (guix modules) instead of (guix discovery).
</content>
</entry>
<entry>
<title>build: Factorize module compilation in (guix build compile).</title>
<updated>2017-10-23T05:09:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-13T16:07:41Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=2890ad332fcdfd4bc92b127d783975437c8b718b'/>
<id>urn:sha1: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>
</entry>
</feed>
