build for spm2
pending the test case for travis