9 lines
161 B
Bash
9 lines
161 B
Bash
|
make -j T=mic_alg DEBUG=1 > log.txt 2>&1
|
||
|
|
||
|
if [ $? -eq 0 ];then
|
||
|
echo "build success"
|
||
|
else
|
||
|
echo "build failed and call log.txt"
|
||
|
cat log.txt | grep "error:*"
|
||
|
fi
|