ne10: bump version to 1.0.0
PATCH v2 1/1 ne10: bump version to 1.0.0
Switch to github helper while at it.
Fixes:
http://autobuild.buildroot.net/results/a2c/a2ca3fe245e410a738f4b10631a1414696a0edea/
--- package/ne10/Config.in | 9 ++++++++- package/ne10/ne10.mk | 10 +++++----- 2 files changed, 13 insertions(+), 6 deletions(-)
package/ne10/Config.in +8 -1
@@ -1,6 +1,8 @@ config BR2_PACKAGE_NE10 bool "ne10" - depends on BR2_arm && BR2_ARM_CPU_HAS_NEON + depends on BR2_arm + depends on BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4 + depends on BR2_ARM_INSTRUCTIONS_THUMB || BR2_ARM_INSTRUCTIONS_THUMB2 help The Ne10 project has been set up to provide a set of common, useful functions which have been heavily optimized for the
@@ -10,3 +12,8 @@ config BR2_PACKAGE_NE10 and NEON implementations. http://projectne10.github.io/Ne10/ + +comment "ne10 needs a toolchain w/ neon and thumb" + depends on BR2_arm + depends on !(BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4) + depends on !(BR2_ARM_INSTRUCTIONS_THUMB || BR2_ARM_INSTRUCTIONS_THUMB2)
package/ne10/ne10.mk +5 -5
@@ -4,15 +4,15 @@ # ################################################################################ -# We use a Git commit ID because the last tagged version is more than -# one year old. -NE10_VERSION = 88c18f02199947b2c8b57796f5a3ca53160aff96 -NE10_SITE = http://github.com/projectNe10/Ne10/tarball/$(NE10_VERSION) +NE10_VERSION = v1.0.0 +NE10_SITE = $(call github,projectNe10,Ne10,$(NE10_VERSION)) NE10_LICENSE = BSD-3c or Apache-2.0 NE10_LICENSE_FILES = doc/LICENSE +NE10_CONF_OPT = -DGNULINUX_PLATFORM=ON + ifeq ($(BR2_PREFER_STATIC_LIB),) -NE10_CONF_OPT = \ +NE10_CONF_OPT += \ -DNE10_BUILD_SHARED=ON endif
Signature · 1 line
1.9.1
PATCH v2 1/1 ne10: bump version to 1.0.0
Hi Buildroot list,
Quoted 7 lines · Baruch Siach
Switch to github helper while at it.
Fixes:
http://autobuild.buildroot.net/results/a2c/a2ca3fe245e410a738f4b10631a1414696a0edea/Signed-off-by Baruch Siach <[email protected]>---
I forgot the change log:
v2:
* Drop the patch; the toolchain wrapper handles -mfloat-abi and -mfpu
* Depend on neon and thumb to match upstream choice
baruch
Quoted 55 lines
package/ne10/Config.in | 9 ++++++++- oackage/ne10/ne10.mk | 10 +++++----- 2 files changed, 13 insertions(+), 6 deletions(-)package/ne10/Config.in +8
-1@@ -1,6 +1,8 @@ config BR2_PACKAGE_NE10 bool "ne10" - depends on BR2_arm && BR2_ARM_CPU_HAS_NEON + depends on BR2_arm + depends on BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4 + depends on BR2_ARM_INSTRUCTIONS_THUMB || BR2_ARM_INSTRUCTIONS_THUMB2 help The Ne10 project has been set up to provide a set of common, useful functions which have been heavily optimized for the@@ -10,3 +12,8 @@ config BR2_PACKAGE_NE10 and NEON implementations. http://projectne10.github.io/Ne10/ + +comment "ne10 needs a toolchain w/ neon and thumb" + depends on BR2_arm + depends on !(BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4) + depends on !(BR2_ARM_INSTRUCTIONS_THUMB || BR2_ARM_INSTRUCTIONS_THUMB2)package/ne10/ne10.mk +5
-5@@ -4,15 +4,15 @@ # ################################################################################ -# We use a Git commit ID because the last tagged version is more than -# one year old. -NE10_VERSION = 88c18f02199947b2c8b57796f5a3ca53160aff96 -NE10_SITE = http://github.com/projectNe10/Ne10/tarball/$(NE10_VERSION) +NE10_VERSION = v1.0.0 +NE10_SITE = $(call github,projectNe10,Ne10,$(NE10_VERSION)) NE10_LICENSE = BSD-3c or Apache-2.0 NE10_LICENSE_FILES = doc/LICENSE +NE10_CONF_OPT = -DGNULINUX_PLATFORM=ON + ifeq ($(BR2_PREFER_STATIC_LIB),) -NE10_CONF_OPT = \ +NE10_CONF_OPT += \ -DNE10_BUILD_SHARED=ON endifSignature · 1 line
1.9.1
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -PATCH v2 1/1 ne10: bump version to 1.0.0
In reply to Baruch SiachDear Baruch Siach,
package/ne10/Config.in line 4
Quoted 10 lines · Baruch Siach
package/ne10/Config.in +2
-1@@ -1,6 +1,8 @@ config BR2_PACKAGE_NE10 bool "ne10" - depends on BR2_arm && BR2_ARM_CPU_HAS_NEON + depends on BR2_arm + depends on BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4
Hum, why BR2_ARM_CPU_HAS_NEON isn't sufficient here? I believe you can very well have a root filesystem that is generally built with BR2_ARM_FPU_VFPV4 (i.e the default FPU used is VFPv4), but still build some software packages to use Neon instructions, as long as BR2_ARM_CPU_HAS_NEON is defined.
package/ne10/Config.in line 5
Quoted 1 line
package/ne10/Config.in +1
-0+ depends on BR2_ARM_INSTRUCTIONS_THUMB || BR2_ARM_INSTRUCTIONS_THUMB2
Same thing here: nothing prevents you from building your root filesystem with full ARM instructions (i.e BR2_ARM_INSTRUCTIONS_ARM_CHOICE), but still build some software packages to use Thumb2 instructions, as long as BR2_ARM_CPU_HAS_THUMB2 is defined.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/1 ne10: bump version to 1.0.0
Hi Thomas,
Quoted 17 lines · Thomas Petazzoni
package/ne10/Config.in line 4
Quoted 10 lines · Baruch Siach
package/ne10/Config.in +2
-1@@ -1,6 +1,8 @@ config BR2_PACKAGE_NE10 bool "ne10" - depends on BR2_arm && BR2_ARM_CPU_HAS_NEON + depends on BR2_arm + depends on BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4Hum, why
BR2_ARM_CPU_HAS_NEONisn't sufficient here? I believe you can very well have a root filesystem that is generally built withBR2_ARM_FPU_VFPV4(i.e the default FPU used is VFPv4), but still build some software packages to use Neon instructions, as long asBR2_ARM_CPU_HAS_NEONis defined.
The ne10 code includes gcc arm_neon.h which requires -mfpu=neon, otherwise you get
#error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
The -mfpu option is hardcoded in the toolchain wrapper. Is there another way to do this?
Quoted 7 lines
package/ne10/Config.in line 5
Quoted 1 line
package/ne10/Config.in +1
-0+ depends on BR2_ARM_INSTRUCTIONS_THUMB || BR2_ARM_INSTRUCTIONS_THUMB2Same thing here: nothing prevents you from building your root filesystem with full ARM instructions (i.e
BR2_ARM_INSTRUCTIONS_ARM_CHOICE), but still build some software packages to use Thumb2 instructions, as long asBR2_ARM_CPU_HAS_THUMB2is defined.
In this case -mthumb is hardcoded in CMakeLists.txt. Having -marm in the toolchain wrapper confuses the linker as reported by Peter at
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/81489 .
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -