The same as the pyramids: without cranes, but using adjacent embankments, which were shallow if necessary.