* Guix scheme code being recompiled when target ARCH changes
@ 2020-05-15 8:33 Vincent Legoll
2020-05-15 20:46 ` raingloom
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Legoll @ 2020-05-15 8:33 UTC (permalink / raw)
To: guix-devel
Hello,
I'm wondering if the following is expected:
I'm build the guix binary tarball for i686 & x86_64 (without changing
any scheme code) and the whole guix codebase gets recompiled for each
of the builds.
I'm doing this:
./pre-inst-env make update-guix-package
git add gnu/packages/package-management.scm
git commit -m NOT_FOR_UPSTREAM \
gnu/packages/package-management.scm
SYSTEM=x86_64-linux
./pre-inst-env guix build -s "${SYSTEM}" guix
./pre-inst-env guix pack -s "${SYSTEM}" --localstatedir \
--profile-name=current-guix guix
SYSTEM=i686-linux
./pre-inst-env guix build -s "${SYSTEM}" guix
./pre-inst-env guix pack -s "${SYSTEM}" --localstatedir \
--profile-name=current-guix guix
I intended to run the:
./pre-inst-env make "guix-binary.${SYSTEM}.tar.xz"
afterwards.
Are the .scm files recompilations needed ?
What for ?
And as an additionnal question, are the ./pre-inst-envs needed on
all the CLIs above ?
I still have a TODO to put everything I gathered about building the
binary tarballs in the doc.
I also still cannot test on foreign arches, see:
https://lists.gnu.org/archive/html/guix-devel/2020-05/msg00213.html
Thanks
--
Vincent Legoll
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Guix scheme code being recompiled when target ARCH changes
2020-05-15 8:33 Guix scheme code being recompiled when target ARCH changes Vincent Legoll
@ 2020-05-15 20:46 ` raingloom
0 siblings, 0 replies; 2+ messages in thread
From: raingloom @ 2020-05-15 20:46 UTC (permalink / raw)
To: guix-devel
On Fri, 15 May 2020 10:33:14 +0200
Vincent Legoll <vincent.legoll@gmail.com> wrote:
> And as an additionnal question, are the ./pre-inst-envs needed on
> all the CLIs above ?
No, only the guix invocations need it.
make, ./configure, ./bootstrap, those don't need it.
But guix always does.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-15 20:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15 8:33 Guix scheme code being recompiled when target ARCH changes Vincent Legoll
2020-05-15 20:46 ` raingloom
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).