> This is been interpreted by enthusiasts that the Egyptians knew about pi.
Well if you want to calculate the circumference of earth and know the distance between Alexandria and Syene, where the sun casts no shadow at noon during the summer solstice, you also need to know pi.
Even if that were true, it wouldn't disprove the link to racism: Eratosthenes was Hellene, not native Egyptian. He "counts as white"; ancient Egyptians may or may not.
No need for pi.
If you know the angle and the distance between the two cities, you can just multiply the distance by [full circle divided by the angle], and that's the circumference.