[Buildroot] [PATCH 1/1] ltp-testsuite: Add upstream patch to fix build numa detection
Petr Vorel
petr.vorel at gmail.com
Wed Feb 7 18:05:05 UTC 2018
Hi Baruch,
thanks for info!
> So the behaviour of ltp-testsuite changes when its configure script detects
> libnuma, right? We want this change to be consistent whenever numactl is
> enabled in buildroot, so that ltp-testsuite would always detect libnuma when
> it is available. We don't want to leave it up to the pseudo-random packages
> build order.
Understand. I'm sorry I didn't realize that numactl is not name of binary package,
but name of the whole library. I didn't know that upstream uses it as name of the whole
project.
> > > Currently when the numactl package is enabled, ltp-testsuite would
> > > detect libnuma only if numactl happens to build before ltp-testsuite. To make
> > > builds consistent we need to make sure that numactl always build before
> > > ltp-testsuite by adding it to _DEPENDENCIES. Here is how the hwloc package
> > > does that:
> > > ifeq ($(BR2_PACKAGE_NUMACTL),y)
> > > HWLOC_CONF_OPTS += --enable-libnuma
> > > HWLOC_DEPENDENCIES += numactl
> > > else
> > > HWLOC_CONF_OPTS += --disable-libnuma
> > > endif
> > So this is not needed.
> So this is needed to make the build consistent, IMO.
This makes sense. Would you please prepare patch?
Kind regards,
Petr
More information about the buildroot
mailing list