Searched hist:j (Results 1 - 25 of 876) sorted by relevance

1234567891011>>

/src/sys/dev/pci/
H A Dpciide_piccolo_reg.h1.1 Sun Sep 20 01:10:12 GMT 2009 christos branches: 1.1.4;
PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.
H A Dif_liireg.h1.1 Sat Mar 29 00:16:26 GMT 2008 cube branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).
/src/usr.bin/make/unit-tests/
H A Dopt-no-action-touch.exp1.1 Sat Jan 30 00:46:38 GMT 2021 rillig make(1): add test for combining the options -j, -n, -t

This is a preparation for refactoring the complicated condition in
JobStart.

H A Dopt-no-action-touch.mk1.1 Sat Jan 30 00:46:38 GMT 2021 rillig make(1): add test for combining the options -j, -n, -t

This is a preparation for refactoring the complicated condition in
JobStart.
H A Ddeptgt-end-jobs.exp1.1 Wed Sep 23 03:06:38 GMT 2020 rillig make(1): fix assertion failure in -j mode with .END node

There had been two separate global variables for the .END node, and in
parallel mode, only the one in jobs.c was initialized.

The code in JobRun heads over to Compat_Make without calling Compat_Run
first, which left the variable ENDNode uninitialized.

H A Ddeptgt-end-jobs.mk1.1 Wed Sep 23 03:06:38 GMT 2020 rillig make(1): fix assertion failure in -j mode with .END node

There had been two separate global variables for the .END node, and in
parallel mode, only the one in jobs.c was initialized.

The code in JobRun heads over to Compat_Make without calling Compat_Run
first, which left the variable ENDNode uninitialized.

H A Djobs-empty-commands.mk1.2 Sat Jan 30 00:46:38 GMT 2021 rillig make(1): add test for combining the options -j, -n, -t

This is a preparation for refactoring the complicated condition in
JobStart.

H A Dvarname-dot-make-jobs.exp1.3 Sat Sep 09 01:30:59 GMT 2023 sjg make: allow -j to compute a multiple of ncpu

If _SC_NPROCESSORS_ONLN is supported; and -j arg is a floating point
number or ends in 'C' compute .MAKE.JOBS as a multiple of _SC_NPROCESSORS_ONLN

Based on a suggestion from des at freebsd.org
Discussed with: rillig, christos

1.3 Sat Sep 09 01:30:59 GMT 2023 sjg make: allow -j to compute a multiple of ncpu

If _SC_NPROCESSORS_ONLN is supported; and -j arg is a floating point
number or ends in 'C' compute .MAKE.JOBS as a multiple of _SC_NPROCESSORS_ONLN

Based on a suggestion from des at freebsd.org
Discussed with: rillig, christos

H A Dvarname-dot-make-jobs.mk1.4 Sat Sep 09 01:30:59 GMT 2023 sjg make: allow -j to compute a multiple of ncpu

If _SC_NPROCESSORS_ONLN is supported; and -j arg is a floating point
number or ends in 'C' compute .MAKE.JOBS as a multiple of _SC_NPROCESSORS_ONLN

Based on a suggestion from des at freebsd.org
Discussed with: rillig, christos

1.4 Sat Sep 09 01:30:59 GMT 2023 sjg make: allow -j to compute a multiple of ncpu

If _SC_NPROCESSORS_ONLN is supported; and -j arg is a floating point
number or ends in 'C' compute .MAKE.JOBS as a multiple of _SC_NPROCESSORS_ONLN

Based on a suggestion from des at freebsd.org
Discussed with: rillig, christos

H A Dopt-jobs-internal.exp1.12 Wed Jul 02 17:11:56 GMT 2025 rillig make: shorten diagnostic for invalid -J option

In the manual page, there's more space to properly explain the
complexity behind the warning.

1.9 Thu Jun 05 21:56:54 GMT 2025 rillig make: remove empty line from diagnostic, add tests for output handling

The warning for the invalid internal option "-J" does not need a
trailing newline, as that is provided by Parse_Error already.

Having this newline in the output demonstrated a previously unknown bug
in handling the output of child commands in parallel mode. There, empty
lines are randomly discarded, depending on the chunks in which the
output from the child process is copied to make's stdout. See
job-output.mk for a demonstration.

The test for the Korn shell did not run the Korn shell in error handling
mode, as the error handling mode only affects the parallel mode but the
test didn't switch to that mode.

After fixing the shell-ksh.mk test, the single '"' in the output looked
suspicious, and indeed, the shell-csh.mk test had the same problem of
filtering more characters from the output than intended.

1.8 Wed May 28 20:18:45 GMT 2025 sjg make: delay warning about bogus -J flag

In MainParseArgJobsInternal just set bogusJflag to indicate
that the descriptors passed were invalid.

By the time we get to InitMaxJobs the command line and indeed
the makefile have had a chance to put us in compat mode,
in which case the warning is unnecessary.
Add suggestion of -B if compat mode is desired in the sub-make.

Reviewed by: rillig

1.7 Mon May 26 19:56:49 GMT 2025 rillig make: show contents of MAKEFLAGS in the stack trace

When the internal -J option refers to a closed file descriptor, it's
helpful to know what the MAKEFLAGS environment variable contains, in
addition to the executed command line. Same for parse errors in
variable assignments from the command line.

1.5 Fri May 23 21:05:56 GMT 2025 rillig make: warn when falling from parallel mode back to compat mode

Falling back may run fewer jobs than intended, thus increasing the build's
wall time.

Falling back may run more jobs than intended, when a sub-make creates
its own and independent token pool, thus overloading the system.

Warn in both cases. Since the -J option is internal, it is not obvious
how to fix the situation, so provide detailed instructions on the
possible fixes and their effects.

1.4 Sun May 11 20:17:08 GMT 2025 rillig make: clean up error message for malformed internal -J option

There's no point printing the usage, as the problem is typically
somewhere else. Reword the message to be easier to parse.

H A Ddeptgt-posix.exp1.1 Mon Apr 18 15:06:28 GMT 2022 rillig make: only switch to POSIX mode if '.POSIX:' is the first line

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
says that in order to make a makefile POSIX-conforming, its first
non-comment line must be the special dependency line '.POSIX:' without
any source dependencies.

Previously, make switched to POSIX mode even if such a line occurred
anywhere else, which was allowed by POSIX but was deep in the
"unspecified behavior" area. For NetBSD make, there is no big
difference since it doesn't ship any <posix.mk> file, this change mainly
affects the bmake distribution.

Previously, makefiles that contain '.POSIX:' somewhere in the middle
could fail due to <posix.mk> resetting .SUFFIXES, among other things.

Suggested by Simon J. Gerraty, who also reviewed an earlier version of
this change.

H A Dopt-jobs.mk1.4 Sun Sep 10 11:41:33 GMT 2023 rillig make: add more details to usage message of -j option

1.3 Sun Sep 10 11:00:55 GMT 2023 rillig tests/make: add tests for parsing the -j option

/src/lib/libc/compat/rpc/
H A DMakefile.inc1.2 Sun Jan 11 03:41:28 GMT 2009 christos cvs does not -j new directories, do it manually.

H A Dcompat_pmap_rmtcall.c1.2 Sun Jan 11 03:41:28 GMT 2009 christos cvs does not -j new directories, do it manually.

H A Dcompat_rpcb.c1.2 Sun Jan 11 03:41:28 GMT 2009 christos cvs does not -j new directories, do it manually.

/src/usr.bin/xargs/
H A Dstrnsubst.c1.1 Wed Apr 18 15:56:07 GMT 2007 christos branches: 1.1.8; 1.1.10; 1.1.18;
Bring in xargs from FreeBSD to gain -I, -J etc. but keep our GNU compatible
exit values.

/src/sys/compat/ultrix/
H A Dsyscalls.conf1.1 Wed Nov 23 17:49:06 GMT 1994 dean changes for new sysent structure (from J. Stone)

/src/sys/external/bsd/drm2/include/linux/
H A Dnospec.h1.3 Sun Dec 19 01:45:38 GMT 2021 riastradh Fix mistake in array_index_nospec.

j must be constrained to be in the same register on input or output;
otherwise the compiler may put them in different places, expect the
asm code to write to the output register, and read garbage from the
output register when we fail to put anything there.

/src/tools/
H A DMakefile.gmakehost1.4 Mon Jul 07 10:57:03 GMT 2008 apb Verify that MAKEFLAGS contains "-j" before trying to manipulate it
with :C///.

1.3 Mon Jul 07 05:43:56 GMT 2008 mrg pass the "-j" flag down to gmake. you can force -j option to
gmake by setting GMAKE_J_ARGS=-jN.


discussed with matt@ and a few others.

XXX: this is kind of hacky, as it will fork off more processes than
XXX: "-jN" says to, but there's no real way to get parallelism in
XXX: both the tools/gcc build and the rest of the build without
XXX: this.

1.3 Mon Jul 07 05:43:56 GMT 2008 mrg pass the "-j" flag down to gmake. you can force -j option to
gmake by setting GMAKE_J_ARGS=-jN.


discussed with matt@ and a few others.

XXX: this is kind of hacky, as it will fork off more processes than
XXX: "-jN" says to, but there's no real way to get parallelism in
XXX: both the tools/gcc build and the rest of the build without
XXX: this.

/src/lib/libc/locale/
H A Dwcsftime.c1.1 Wed Mar 30 03:47:12 GMT 2005 christos branches: 1.1.2;
PR/29826: J. T. Conklin: Add wcsftime(3) (from FreeBSD)

/src/games/backgammon/
H A DMakefile1.5 Thu Oct 16 05:24:23 GMT 1997 lukem fix race condition when building libcommon with make -j
/src/usr.sbin/ypserv/
H A DMakefile1.4 Thu Oct 16 05:10:14 GMT 1997 lukem fix race condition when building libcommon with make -j

/src/games/primes/
H A Dspsp.c1.2 Sat Feb 03 15:40:29 GMT 2018 christos PR/52976: Eitan Adler: handle larger primes
Using results from
J. Sorenson and J. Webster, Strong pseudoprimes to twelve prime
bases, Math. Comp. 86(304):985-1003, 2017.
teach primes(6) to enumerate primes up to 2^64 - 1. Until Sorenson
and Webster's paper, we did not know how many strong speudoprime tests
were required when testing alleged primes between 3825123056546413051
and 2^64 - 1.

Adapted from: FreeBSD

1.2 Sat Feb 03 15:40:29 GMT 2018 christos PR/52976: Eitan Adler: handle larger primes
Using results from
J. Sorenson and J. Webster, Strong pseudoprimes to twelve prime
bases, Math. Comp. 86(304):985-1003, 2017.
teach primes(6) to enumerate primes up to 2^64 - 1. Until Sorenson
and Webster's paper, we did not know how many strong speudoprime tests
were required when testing alleged primes between 3825123056546413051
and 2^64 - 1.

Adapted from: FreeBSD

/src/tests/usr.bin/xlint/lint1/
H A Dop_shl_lp64.c1.2 Sat Jul 31 19:52:44 GMT 2021 rillig lint: improve support for __int128_t and __uint128_t

For the .ln files, I chose the letter 'J' to represent the 128-bit
integer types since it is close to 'I' for int. The naming of 'L' for
'long' is obvious, but 'Q' for 64-bit integers is a quad-16-bit word,
which is an unusual measurement unit nowadays. One benefit of choosing
'J' is that the next letter, 'K' can then be used for 256-bit integer
types.

Support for 128-bit integer types is still very basic. Plus, it is only
supported on LP64 platforms, which means that lint cannot be
cross-compiled to check for an LP64 platform while running on an ILP32
platform.

1.2 Sat Jul 31 19:52:44 GMT 2021 rillig lint: improve support for __int128_t and __uint128_t

For the .ln files, I chose the letter 'J' to represent the 128-bit
integer types since it is close to 'I' for int. The naming of 'L' for
'long' is obvious, but 'Q' for 64-bit integers is a quad-16-bit word,
which is an unusual measurement unit nowadays. One benefit of choosing
'J' is that the next letter, 'K' can then be used for 256-bit integer
types.

Support for 128-bit integer types is still very basic. Plus, it is only
supported on LP64 platforms, which means that lint cannot be
cross-compiled to check for an LP64 platform while running on an ILP32
platform.

/src/sys/lib/libgnuefi/
H A DMakefile1.4 Tue Mar 22 08:25:23 GMT 2016 mrg branches: 1.4.2; 1.4.4;
remove a bunch of "@echo done" from the tail of rules. these messages
were vaguely useful back when we didn't run make -j, but now you end
up with a single line "done" every so often, with no idea what it is
for. very few other targets claim they're done so just remove these.

Completed in 75 milliseconds

1234567891011>>