It was a record year for solar installations in the United States in 2012, boosting an industry still struggling with consolidation and bankruptcies.

Over 3.3 gigawatts of solar power were installed last year, according to a report Thursday from the Solar Energy Industries Association, a trade group. That’s enough to power about 500,000 homes, and it was a 76% increase from 2011.