【clearmake】Starting a parallel build

1. Set the CCASE_HOST_TYPE variable. The value of this variable determines which build hosts file that clearmake looks for in your home directory:
Value Build hosts file that clearmake looks for
sun5 .bldhost.sun5
SUN5 .bldhost.SUN5
day .bldhost.day
night .bldhost.night

2. Invoke clearmake. To enable parallel building, use the –J command-line option or set the CCASE_CONC environment variable. To specify a build hosts file, use the –B option. To have clearmake choose a build hosts file, do not use –B.
 
For example, to specify a build hosts file and start a build that builds up to five targets concurrently, use one of the following methods:
% clearmake –J 5 –B ~/.bldhost.day my_target  (command-line options)

% setenv CCASE_CONC 5 % clearmake –B ~/.bldhost.day my_target(environment variable)

% setenv CCASE_HOST_TYPE day % clearmake –J 5 my_target(environment variable and command-line option)

% setenv CCASE_CONC 5 % setenv CCASE_HOST_TYPE day % clearmake my_target(environment variables)
 
Note: If you specify –J, but do not set the CCASE_HOST_TYPE variable or specify a build hosts file with –B, clearmake builds run in parallel on the local host.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值