1 2 3 4 5 6 7 8 9 10
|
make 默认是以单核进行编译,速度很慢,需要增加一个参数"-j(表示指定内核参数)",提交编译速度.
例如: [[email protected] app]# tar xzf otp_src_19.2.tar.gz [[email protected] app]# cd otp_src_19.2/ [[email protected] otp_src_19.2]# ./configure --prefix=/mnt/app/erlang [[email protected] otp_src_19.2]# make -j 8 [[email protected] otp_src_19.2]# make -j 8 install
上面的"make -j 8" 表示使用8核CPU进行编译
|
近期评论