Does word "buildup" have the same meaning in the following two sentences?

A military buildup in preparation for the invasion.

The buildup of leaves blocked the drain pipes.
different meanings