argobots icon indicating copy to clipboard operation
argobots copied to clipboard

grep fails in configure on BSD

Open yurivict opened this issue 2 years ago • 1 comments

configure prints this and continues like this error didn't happen:

usage: grep [-abcDEFGHhIiLlmnOoPqRSsUVvwxz] [-A num] [-B num] [-C num]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context=num] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]
cat: /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size: No such file or directory
usage: grep [-abcDEFGHhIiLlmnOoPqRSsUVvwxz] [-A num] [-B num] [-C num]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context=num] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]
usage: grep [-abcDEFGHhIiLlmnOoPqRSsUVvwxz] [-A num] [-B num] [-C num]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context=num] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]

FreeBSD 13.1

yurivict avatar Jul 14 '22 01:07 yurivict

Thanks for reporting the issues! The current configure.ac depends on GNU's grep.

Though this particular issue should not break the Argobots feature (i.e., the cache line detection mechanism should just choose the default one), it should be surely fixed. Please give us some time for this (and #376, which we are investigating too).

shintaro-iwasaki avatar Jul 14 '22 03:07 shintaro-iwasaki