You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafodion.apache.org by Wang Xiao-Zhong <xi...@esgyn.cn> on 2019/03/06 12:43:14 UTC

Re: Add a scripts to make trafodion build easily and visualized

Very perfect!
I have additional idea, you can add a check script and called by your script, and is some env not ready, you can call the install/traf_checkset_env.sh to prepare the env.

On 星期三, 三月 06, 2019 16:39 CST, "Song Hao-Lin" <ha...@esgyn.cn> 撰寫:
  
Hi all
 
There are several unpleasant places when compiling the trafodion(not make package): * We need to redirect the make information manually,
otherwise the information will flood the screen * The build information mixed together so that we couldn't locate the build error quickly * We need to make all again when we fix a building error of one component.
So I write a script which could write the compiling information into build_log file based on different components。 Also you can continue to compile the remaining components which havn't been compiled by commented components which have finished compiled.

1、Stop compiling after failure


2、Write logs based on components


3、 build success


You just need to execute cmd
source env.sh
./build_easily.sh

There is No duplicate compilation because I have clear up the module dependencies.

Comments and thoughts are welcome!Here is the Pr url:
https://github.com/apache/trafodion/pull/1810

Best,
Haolin


 

RE: Add a scripts to make trafodion build easily and visualized

Posted by Roberta Marton <ro...@esgyn.com>.
+1  this looks good.

    Roberta

-----Original Message-----
From: Wang Xiao-Zhong [mailto:xiaozhong.wang@esgyn.cn] 
Sent: Wednesday, March 6, 2019 4:43 AM
To: dev@trafodion.apache.org
Subject: Re: Add a scripts to make trafodion build easily and visualized


Very perfect!
I have additional idea, you can add a check script and called by your script, and is some env not ready, you can call the install/traf_checkset_env.sh to prepare the env.

On 星期三, 三月 06, 2019 16:39 CST, "Song Hao-Lin" <ha...@esgyn.cn> 撰寫:
  
Hi all
 
There are several unpleasant places when compiling the trafodion(not make package): * We need to redirect the make information manually,
otherwise the information will flood the screen * The build information mixed together so that we couldn't locate the build error quickly * We need to make all again when we fix a building error of one component.
So I write a script which could write the compiling information into build_log file based on different components。 Also you can continue to compile the remaining components which havn't been compiled by commented components which have finished compiled.

1、Stop compiling after failure


2、Write logs based on components


3、 build success


You just need to execute cmd
source env.sh
./build_easily.sh

There is No duplicate compilation because I have clear up the module dependencies.

Comments and thoughts are welcome!Here is the Pr url:
https://github.com/apache/trafodion/pull/1810

Best,
Haolin