forked from OAID/Tengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile.config.example
52 lines (41 loc) · 1.18 KB
/
makefile.config.example
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
48
49
50
51
#-------------------------------------------------------------------------------
# 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
# uncomment to build the reference operators wrapped on Caffe
# CONFIG_CAFFE_REF=y
# Set the path of caffe used for compile and link,
# if caffe's operator calculation is enabled.
# CAFFE_ROOT = /home/firefly/caffe
# Enable GPU support by Arm Computing Library
# CONFIG_ACL_GPU=y
#
# Use BLAS as the operator implementation
#
# CONFIG_ARCH_BLAS=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