* [Buildroot] [PATCH v2] openal: Explicitly enable/disable NEON support
@ 2016-09-01 18:34 André Hentschel
2016-09-06 20:25 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: André Hentschel @ 2016-09-01 18:34 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.net/results/d7ccef77a355ccc23f26d012e8441af931469ae4
http://autobuild.buildroot.net/results/b5777a0ed33f6bb7a5fc0486ea21ecef58615dac
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Andr? Hentschel <nerv@dawncrow.de>
---
package/openal/openal.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/openal/openal.mk b/package/openal/openal.mk
index 2916aa6..aac1121 100644
--- a/package/openal/openal.mk
+++ b/package/openal/openal.mk
@@ -50,4 +50,11 @@ ifeq ($(BR2_STATIC_LIBS),y)
OPENAL_CONF_OPTS += -DLIBTYPE=STATIC
endif
+# Explicitly enable/disable NEON support, see https://github.com/kcat/openal-soft/issues/54
+ifeq ($(BR2_ARM_FPU_NEON)$(BR2_ARM_FPU_NEON_VFPV4),y)
+OPENAL_CONF_OPTS += -DALSOFT_CPUEXT_NEON=ON
+else
+OPENAL_CONF_OPTS += -DALSOFT_CPUEXT_NEON=OFF
+endif
+
$(eval $(cmake-package))
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2] openal: Explicitly enable/disable NEON support
2016-09-01 18:34 [Buildroot] [PATCH v2] openal: Explicitly enable/disable NEON support André Hentschel
@ 2016-09-06 20:25 ` Thomas Petazzoni
2016-09-10 12:09 ` André Hentschel
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2016-09-06 20:25 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 1 Sep 2016 20:34:54 +0200, Andr? Hentschel wrote:
> Fixes:
> http://autobuild.buildroot.net/results/d7ccef77a355ccc23f26d012e8441af931469ae4
> http://autobuild.buildroot.net/results/b5777a0ed33f6bb7a5fc0486ea21ecef58615dac
>
> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Signed-off-by: Andr? Hentschel <nerv@dawncrow.de>
What about instead:
https://github.com/kcat/openal-soft/pull/64
to fix this issue (I tested, it fixes the build failure).
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2] openal: Explicitly enable/disable NEON support
2016-09-06 20:25 ` Thomas Petazzoni
@ 2016-09-10 12:09 ` André Hentschel
2016-09-11 11:55 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: André Hentschel @ 2016-09-10 12:09 UTC (permalink / raw)
To: buildroot
Am 06.09.2016 um 22:25 schrieb Thomas Petazzoni:
> Hello,
>
> On Thu, 1 Sep 2016 20:34:54 +0200, Andr? Hentschel wrote:
>> Fixes:
>> http://autobuild.buildroot.net/results/d7ccef77a355ccc23f26d012e8441af931469ae4
>> http://autobuild.buildroot.net/results/b5777a0ed33f6bb7a5fc0486ea21ecef58615dac
>>
>> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
>> Signed-off-by: Andr? Hentschel <nerv@dawncrow.de>
>
> What about instead:
>
> https://github.com/kcat/openal-soft/pull/64
>
> to fix this issue (I tested, it fixes the build failure).
>
> Thomas
>
Sorry was on a business trip.
As it is upstream meanwhile (together with a runtime neon check suggested by you) I'm fine with a patch added to the openal package.
It's your work, so be free to do so.
Or do you know about plans of an upcoming openal bugfix release? That'd be easier I guess
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2] openal: Explicitly enable/disable NEON support
2016-09-10 12:09 ` André Hentschel
@ 2016-09-11 11:55 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-09-11 11:55 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 10 Sep 2016 14:09:37 +0200, Andr? Hentschel wrote:
> Sorry was on a business trip.
> As it is upstream meanwhile (together with a runtime neon check suggested by you) I'm fine with a patch added to the openal package.
> It's your work, so be free to do so.
If you could send a Buildroot patch adding the upstream fix, it would
be nice.
> Or do you know about plans of an upcoming openal bugfix release?
> That'd be easier I guess
I'm not aware of upstream plans in terms of new releases, I don't know
if they do regular ones or not. In order to avoid seeing build
failures, backporting the upstreaming fix would be a good thing to do
for now.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-09-11 11:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-01 18:34 [Buildroot] [PATCH v2] openal: Explicitly enable/disable NEON support André Hentschel
2016-09-06 20:25 ` Thomas Petazzoni
2016-09-10 12:09 ` André Hentschel
2016-09-11 11:55 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox