* [PR PATCH] xen: use makejobs in make install
@ 2020-08-08 11:44 ashpooljh
2020-08-08 14:37 ` ericonr
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ashpooljh @ 2020-08-08 11:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 428 bytes --]
There is a new pull request by ashpooljh against master on the void-packages repository
https://github.com/ashpooljh/void-packages xen-install-use-makejobs
https://github.com/void-linux/void-packages/pull/24140
xen: use makejobs in make install
It compiles something during `make install`, so use `$(makejobs) to allow speeding it up.
A patch file from https://github.com/void-linux/void-packages/pull/24140.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xen-install-use-makejobs-24140.patch --]
[-- Type: text/x-diff, Size: 806 bytes --]
From cd0999b70a575e90c6a8d8551461217c43fd6e82 Mon Sep 17 00:00:00 2001
From: Artem Zhurikhin <ashpool@xecut.net>
Date: Sat, 8 Aug 2020 13:59:53 +0300
Subject: [PATCH] xen: use makejobs in make install
[ci skip]
---
srcpkgs/xen/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/xen/template b/srcpkgs/xen/template
index ae8f5e246fc..1ccddcbfc43 100644
--- a/srcpkgs/xen/template
+++ b/srcpkgs/xen/template
@@ -145,7 +145,7 @@ do_build() {
do_install() {
rm -f ${XBPS_WRAPPERDIR}/strip
unset CC LD AR AS RANLIB CPP CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
- make DESTDIR=${DESTDIR} NO_WERROR=1 install install-docs
+ make ${makejobs} DESTDIR=${DESTDIR} NO_WERROR=1 install install-docs
# Move example config files into correct directory.
vmkdir usr/share/examples/xen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen: use makejobs in make install
2020-08-08 11:44 [PR PATCH] xen: use makejobs in make install ashpooljh
@ 2020-08-08 14:37 ` ericonr
2020-08-08 17:07 ` ashpooljh
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ericonr @ 2020-08-08 14:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/24140#issuecomment-670936366
Comment:
There's a chance those install steps weren't parallelized for a reason, have you tested the build locally to be sure?
Ideally, it would be nice to avoid building anything in `do_install`, so perhaps the issue is that it's building the docs target for `make install-docs`? Could you investigate that?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen: use makejobs in make install
2020-08-08 11:44 [PR PATCH] xen: use makejobs in make install ashpooljh
2020-08-08 14:37 ` ericonr
@ 2020-08-08 17:07 ` ashpooljh
2020-08-08 17:10 ` ashpooljh
2020-08-08 21:10 ` [PR PATCH] [Merged]: " jnbr
3 siblings, 0 replies; 5+ messages in thread
From: ashpooljh @ 2020-08-08 17:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 331 bytes --]
New comment by ashpooljh on void-packages repository
https://github.com/void-linux/void-packages/pull/24140#issuecomment-670951497
Comment:
@ericonr I verified that it builds and runs correctly on my system (also having applied the changes from #24139).
I'll see what I can do to delegate all the building to the build phase.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen: use makejobs in make install
2020-08-08 11:44 [PR PATCH] xen: use makejobs in make install ashpooljh
2020-08-08 14:37 ` ericonr
2020-08-08 17:07 ` ashpooljh
@ 2020-08-08 17:10 ` ashpooljh
2020-08-08 21:10 ` [PR PATCH] [Merged]: " jnbr
3 siblings, 0 replies; 5+ messages in thread
From: ashpooljh @ 2020-08-08 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
New comment by ashpooljh on void-packages repository
https://github.com/void-linux/void-packages/pull/24140#issuecomment-670951497
Comment:
@ericonr I verified that it builds and runs correctly on my system (also having applied the changes from #24139). I did in on a server with multiple CPU cores, so I made sure `XBPS_MAKEJOBS` was set accordingly.
I'll see what I can do to delegate all the building to the build phase.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Merged]: xen: use makejobs in make install
2020-08-08 11:44 [PR PATCH] xen: use makejobs in make install ashpooljh
` (2 preceding siblings ...)
2020-08-08 17:10 ` ashpooljh
@ 2020-08-08 21:10 ` jnbr
3 siblings, 0 replies; 5+ messages in thread
From: jnbr @ 2020-08-08 21:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 257 bytes --]
There's a merged pull request on the void-packages repository
xen: use makejobs in make install
https://github.com/void-linux/void-packages/pull/24140
Description:
It compiles something during `make install`, so use `${makejobs}` to allow speeding it up.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-08-08 21:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-08 11:44 [PR PATCH] xen: use makejobs in make install ashpooljh
2020-08-08 14:37 ` ericonr
2020-08-08 17:07 ` ashpooljh
2020-08-08 17:10 ` ashpooljh
2020-08-08 21:10 ` [PR PATCH] [Merged]: " jnbr
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 NNTP newsgroup(s).