forked from enlightenment/efl
evas: Modify configure to branch by architectures for neon
Summary: neon code is only needed to be included for the arm architecture. so that this code modify automake configure files to support it. Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7096
This commit is contained in:
parent
d2defeea7c
commit
2e8f00c1ff
|
@ -657,6 +657,7 @@ case $host_cpu in
|
||||||
AC_DEFINE([BUILD_NEON], [1], [Build NEON Code])
|
AC_DEFINE([BUILD_NEON], [1], [Build NEON Code])
|
||||||
AC_DEFINE([BUILD_NEON_INTRINSICS], [1], [Build NEON Intrinsics])
|
AC_DEFINE([BUILD_NEON_INTRINSICS], [1], [Build NEON Intrinsics])
|
||||||
build_cpu_neon="yes"
|
build_cpu_neon="yes"
|
||||||
|
build_cpu_neon_intrinsics="yes"
|
||||||
],[
|
],[
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
build_cpu_neon="no"
|
build_cpu_neon="no"
|
||||||
|
@ -666,6 +667,7 @@ case $host_cpu in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AM_CONDITIONAL([BUILD_NEON], [test "${build_cpu_neon}" = "yes"])
|
AM_CONDITIONAL([BUILD_NEON], [test "${build_cpu_neon}" = "yes"])
|
||||||
|
AM_CONDITIONAL([BUILD_NEON_INTRINSICS], [test "${build_cpu_neon_intrinsics}" = "yes"])
|
||||||
|
|
||||||
AC_SUBST([ALTIVEC_CFLAGS])
|
AC_SUBST([ALTIVEC_CFLAGS])
|
||||||
AC_SUBST([SSE3_CFLAGS])
|
AC_SUBST([SSE3_CFLAGS])
|
||||||
|
|
|
@ -461,6 +461,12 @@ lib/evas/common/evas_font_ot.h \
|
||||||
lib/evas/common/evas_font_draw.h \
|
lib/evas/common/evas_font_draw.h \
|
||||||
lib/evas/common/evas_common_generic_cache.c
|
lib/evas/common/evas_common_generic_cache.c
|
||||||
|
|
||||||
|
if BUILD_NEON
|
||||||
|
if !BUILD_NEON_INTRINSICS
|
||||||
|
lib_evas_libevas_la_SOURCES += \
|
||||||
|
lib/evas/common/evas_op_copy/op_copy_neon.S
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
lib_evas_libevas_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
|
lib_evas_libevas_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
|
||||||
-I$(top_srcdir)/src/lib/evas/canvas \
|
-I$(top_srcdir)/src/lib/evas/canvas \
|
||||||
|
|
Loading…
Reference in New Issue