about summary refs log tree commit diff
path: root/io/test-stat2.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-11-06 14:13:27 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-11-15 11:53:40 -0800
commitb4bbedb1e75737a80bcc3d53d6eef1fbe0b5f4d5 (patch)
tree26c0ede48f3c92bba2cd0fd0ff31cb203d7a4d02 /io/test-stat2.c
parent54816ae98d57930b7c945f17485714a5574bfe47 (diff)
downloadglibc-b4bbedb1e75737a80bcc3d53d6eef1fbe0b5f4d5.tar.gz
glibc-b4bbedb1e75737a80bcc3d53d6eef1fbe0b5f4d5.tar.xz
glibc-b4bbedb1e75737a80bcc3d53d6eef1fbe0b5f4d5.zip
dso-ordering-test.py: Put all sources in one directory [BZ #28550]
Put all sources for DSO sorting tests in the dso-sort-tests-src directory
and compile test relocatable objects with

$(objpfx)tst-dso-ordering1-dir/tst-dso-ordering1-a.os: $(objpfx)dso-sort-tests-src/tst-dso-ordering1-a.c
	$(compile.c) $(OUTPUT_OPTION)

to avoid random $< values from $(before-compile) when compiling test
relocatable objects with

$(objpfx)%$o: $(objpfx)%.c $(before-compile); $$(compile-command.c)
compile-command.c = $(compile.c) $(OUTPUT_OPTION) $(compile-mkdep-flags)
compile.c = $(CC) $< -c $(CFLAGS) $(CPPFLAGS)

for 3 "make -j 28" parallel builds on a machine with 112 cores at the
same time.

This partially fixes BZ #28550.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'io/test-stat2.c')
0 files changed, 0 insertions, 0 deletions