Build pphqm