Multi-choice problem: 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.

pick from the following. (1). different meanings (2). the same meaning
(1).