mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
introduce AArch64 support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c2df906709
commit
25d8d4e2e9
3 changed files with 9 additions and 10 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
KATIE_CROSS_EXEC=""
|
||||
ifneq ($(DEB_HOST_ARCH_CPU),$(DEB_BUILD_ARCH_CPU))
|
||||
KATIE_CROSS_EXEC="qemu-$(DEB_HOST_ARCH_CPU)-static"
|
||||
KATIE_CROSS_EXEC="qemu-$(DEB_HOST_GNU_CPU)-static"
|
||||
endif
|
||||
|
||||
KATIE_BUILD_DIR="$(shell pwd)/obj-$(DEB_HOST_GNU_TYPE)"
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
ALPHA - ...
|
||||
ARM - ...
|
||||
ARMV6 - ...
|
||||
ARM64 - ...
|
||||
AVR32 - ...
|
||||
BFIN - ...
|
||||
I386 - ...
|
||||
|
@ -75,9 +75,8 @@
|
|||
# define QT_ARCH_ALPHA
|
||||
#elif defined(__arm__)
|
||||
# define QT_ARCH_ARM
|
||||
# if defined(__ARM_ARCH_6__)
|
||||
# define QT_ARCH_ARMV6
|
||||
# endif
|
||||
#elif defined(__aarch64__)
|
||||
# define QT_ARCH_ARM64
|
||||
#elif defined(__avr__)
|
||||
# define QT_ARCH_AVR32
|
||||
#elif defined(__bfin__)
|
||||
|
@ -100,9 +99,6 @@
|
|||
# define QT_ARCH_SPARC
|
||||
#elif defined(__sh__)
|
||||
# define QT_ARCH_SH
|
||||
# if defined(__SH4__)
|
||||
# define QT_ARCH_SH4A
|
||||
# endif
|
||||
#elif defined(__x86_64__)
|
||||
# define QT_ARCH_X86_64
|
||||
#else
|
||||
|
@ -390,8 +386,11 @@ QT_END_INCLUDE_NAMESPACE
|
|||
#endif
|
||||
|
||||
// This logic must match the one in qmetatype.h
|
||||
#if defined(QT_ARCH_ARM) || defined(QT_ARCH_ARMV6) || defined(QT_ARCH_AVR32) || defined(QT_ARCH_SH) || defined(QT_ARCH_SH4A)
|
||||
#if !defined(QT_NO_FPU) && defined(QT_ARCH_ARM) || defined(QT_ARCH_AVR32) || defined(QT_ARCH_SH)
|
||||
# define QT_NO_FPU
|
||||
#endif
|
||||
|
||||
#if defined(QT_NO_FPU)
|
||||
typedef float qreal;
|
||||
#else
|
||||
typedef double qreal;
|
||||
|
|
|
@ -64,7 +64,7 @@ private slots:
|
|||
static const int iterations = 10;
|
||||
|
||||
// Note: some tests rely on ThreadCount being multiple of 2
|
||||
#if defined(Q_OS_SOLARIS) || ( defined(Q_OS_LINUX) && defined(QT_ARCH_ARMV6) )
|
||||
#if defined(Q_OS_SOLARIS) || (defined(Q_OS_LINUX) && defined(QT_ARCH_ARM))
|
||||
static const int ThreadCount = 4;
|
||||
#else
|
||||
static const int ThreadCount = 10;
|
||||
|
|
Loading…
Add table
Reference in a new issue