add sdim mac build script

Signed-off-by: Bao Haojun <baohaojun@gmail.com>