网盘下载 android-ndk-r18b-linux-x86_64.zip
参考https://blog.csdn.net/qq_29573053/article/details/80081088
export NDK_ROOT=/home/mima123456/android-ndk-r18b
export PATH=
N
D
K
R
O
O
T
:
NDK_ROOT:
NDKROOT:NDK_ROOT/build/tools:$PATH
#export ARM_LINUX_GCC=/home/mima123456/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin
#export PATH=
A
R
M
L
I
N
U
X
G
C
C
:
ARM_LINUX_GCC:
ARMLINUXGCC:PATH
预设值,待会才生成的目录
export AndroidToolChain=
N
D
K
R
O
O
T
/
t
o
o
l
c
h
a
i
n
s
/
a
r
m
−
l
i
n
u
x
−
a
n
d
r
o
i
d
e
a
b
i
−
4.9
/
p
r
e
b
u
i
l
t
/
l
i
n
u
x
−
x
8
6
6
4
e
x
p
o
r
t
S
Y
S
R
O
O
T
=
NDK_ROOT/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 export SYSROOT=
NDKROOT/toolchains/arm−linux−androideabi−4.9/prebuilt/linux−x8664exportSYSROOT=AndroidToolChain/sysroot
export PATH=
A
n
d
r
o
i
d
T
o
o
l
C
h
a
i
n
/
b
i
n
:
AndroidToolChain/bin:
AndroidToolChain/bin:PATH
#export CC=arm-linux-androideabi-gcc # or export CC=clang
#export CXX=arm-linux-androideabi-g++ # or export CXX=clang++
#export CXXFLAGS="-lstdc++"
https://software.intel.com/en-us/articles/get-started-with-neural-compute-stick
https://software.intel.com/en-us/articles/get-started-with-neural-compute-stick
watch -n 0.1 -d nvidia-smi
C++高性能服务器网络架构设计细节
https://blog.csdn.net/tlj0310/article/details/79712326
【原创】C++编写高性能服务器:内存分配篇
https://blog.csdn.net/lz78/article/details/488124
myriad x需要在root下面调用