Khufu's pyramid appears to have been built by excess farm labor out of harvesting season, all working during the three- or four- month lull between planting and harvesting. Unskilled brute slave labor was used to build various structures in Egypt, but as far as I know, the Giza pyramids were probably not one of them.