Re: plan9/plan9port: honour MAKE_JOBS

2023-05-14 Thread Gleydson Soares
On Thu, May 11, 2023 at 02:26:11PM +, Klemens Nanni wrote:
> mk(1) says to set NPROC in the environment, INSTALL does that itself,
> but only on foreign platforms.
> 
> Now I see cascades of 'clang -DPLAN9PORT ...' procs in top(1).
> OK?

OK gsoares@



Re: plan9/plan9port: honour MAKE_JOBS

2023-05-12 Thread Omar Polo
On 2023/05/11 14:26:11 +, Klemens Nanni  wrote:
> mk(1) says to set NPROC in the environment, INSTALL does that itself,
> but only on foreign platforms.
> 
> Now I see cascades of 'clang -DPLAN9PORT ...' procs in top(1).
> OK?

looks and works fine for me, thanks!




plan9/plan9port: honour MAKE_JOBS

2023-05-11 Thread Klemens Nanni
mk(1) says to set NPROC in the environment, INSTALL does that itself,
but only on foreign platforms.

Now I see cascades of 'clang -DPLAN9PORT ...' procs in top(1).
OK?

Index: Makefile
===
RCS file: /cvs/ports/plan9/plan9port/Makefile,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile
--- Makefile31 Jan 2023 10:26:17 -  1.41
+++ Makefile11 May 2023 14:22:26 -
@@ -35,7 +35,7 @@ pre-configure:
bin/macedit
 
 do-build:
-   cd ${WRKSRC} && env CC9="${CC}" CCFLAGS="${CFLAGS}" ./INSTALL -b
+   cd ${WRKSRC} && env CC9="${CC}" CCFLAGS="${CFLAGS}" NPROC=${MAKE_JOBS} 
./INSTALL -b
 
 do-install:
rm -f ${WRKSRC}/.travis.yml