One option is putting down cardboard so you're overlapping the layers of cardboard and then building up over them with compost. That will smother any weeds underneath.