build with spm2