* [Buildroot] [PATCH 1/1] package/ne10: disable unit tests and examples
@ 2021-02-15 17:45 Fabrice Fontaine
2021-02-15 21:50 ` Peter Korsgaard
2021-02-17 6:37 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-02-15 17:45 UTC (permalink / raw)
To: buildroot
Unit tests fail to build with gcc 10 on:
[100%] Linking C executable NE10_dsp_unit_test_smoke
/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.2.1/../../../../aarch64-none-linux-gnu/bin/ld: CMakeFiles/NE10_dsp_unit_test_static.dir/__/modules/dsp/test/test_suite_fft_float32.c.o:(.bss+0x0): multiple definition of `seatest_simple_test_result'; CMakeFiles/NE10_dsp_unit_test_static.dir/__/modules/dsp/test/test_main.c.o:(.bss+0x0): first defined here
So just disable them and, while at it, also disable examples which are
also enabled by default
Fixes:
- http://autobuild.buildroot.org/results/c658d52668825c26a15d6ac3ca538472cad5cd78
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/ne10/ne10.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/ne10/ne10.mk b/package/ne10/ne10.mk
index 58652c0459..e529caf2af 100644
--- a/package/ne10/ne10.mk
+++ b/package/ne10/ne10.mk
@@ -12,6 +12,8 @@ NE10_INSTALL_STAGING = YES
NE10_CONF_OPTS = \
-DGNULINUX_PLATFORM=ON \
+ -DNE10_BUILD_EXAMPLES=OFF \
+ -DNE10_BUILD_UNIT_TEST=OFF \
-DNE10_LINUX_TARGET_ARCH=$(if $(BR2_aarch64),aarch64,armv7)
ifeq ($(BR2_STATIC_LIBS),)
--
2.30.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/ne10: disable unit tests and examples
2021-02-15 17:45 [Buildroot] [PATCH 1/1] package/ne10: disable unit tests and examples Fabrice Fontaine
@ 2021-02-15 21:50 ` Peter Korsgaard
2021-02-17 6:37 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-02-15 21:50 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Unit tests fail to build with gcc 10 on:
> [100%] Linking C executable NE10_dsp_unit_test_smoke
> /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.2.1/../../../../aarch64-none-linux-gnu/bin/ld: CMakeFiles/NE10_dsp_unit_test_static.dir/__/modules/dsp/test/test_suite_fft_float32.c.o:(.bss+0x0): multiple definition of `seatest_simple_test_result'; CMakeFiles/NE10_dsp_unit_test_static.dir/__/modules/dsp/test/test_main.c.o:(.bss+0x0): first defined here
> So just disable them and, while at it, also disable examples which are
> also enabled by default
> Fixes:
> - http://autobuild.buildroot.org/results/c658d52668825c26a15d6ac3ca538472cad5cd78
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/ne10: disable unit tests and examples
2021-02-15 17:45 [Buildroot] [PATCH 1/1] package/ne10: disable unit tests and examples Fabrice Fontaine
2021-02-15 21:50 ` Peter Korsgaard
@ 2021-02-17 6:37 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-02-17 6:37 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Unit tests fail to build with gcc 10 on:
> [100%] Linking C executable NE10_dsp_unit_test_smoke
> /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.2.1/../../../../aarch64-none-linux-gnu/bin/ld: CMakeFiles/NE10_dsp_unit_test_static.dir/__/modules/dsp/test/test_suite_fft_float32.c.o:(.bss+0x0): multiple definition of `seatest_simple_test_result'; CMakeFiles/NE10_dsp_unit_test_static.dir/__/modules/dsp/test/test_main.c.o:(.bss+0x0): first defined here
> So just disable them and, while at it, also disable examples which are
> also enabled by default
> Fixes:
> - http://autobuild.buildroot.org/results/c658d52668825c26a15d6ac3ca538472cad5cd78
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2020.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-17 6:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 17:45 [Buildroot] [PATCH 1/1] package/ne10: disable unit tests and examples Fabrice Fontaine
2021-02-15 21:50 ` Peter Korsgaard
2021-02-17 6:37 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.