forked from OAID/Tengine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile.config.example
More file actions
48 lines (38 loc) · 1.05 KB
/
Copy pathmakefile.config.example
File metadata and controls
48 lines (38 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#-------------------------------------------------------------------------------
# Template configuration for compiling
#
# First copy makefile.config.example to makefile.config (assume you are on the
# root directory).
#
# $ cp makefile.config.example makefile.config
#
# Next modify makefile.config, and then compile by
#
# $ make
#
# or build in parallel with 8 threads
#
# $ make -j8
#-------------------------------------------------------------------------------
# Set the target arch
CONFIG_ARCH_ARM64=y
# Enable Compiling Optimization
CONFIG_OPT_CFLAGS = -O2
# Use BLAS as the operator implementation
# CONFIG_ARCH_BLAS=y
# Enable GPU support by Arm Computing Library
# CONFIG_ACL_GPU=y
# Set the path of ACL
# ACL_ROOT=/home/firefly/ComputeLibrary
# Enable other serializers
CONFIG_CAFFE_SERIALIZER=y
# CONFIG_MXNET_SERIALIZER=y
# CONFIG_ONNX_SERIALIZER=y
# CONFIG_TF_SERIALIZER=y
CONFIG_TENGINE_SERIALIZER=y
# Enable Wrappers
# CONFIG_FRAMEWORK_WRAPPER=y
# version postfix
CONFIG_VERSION_POSTFIX=github
# support legacy API
CONFIG_LEGACY_API=y