It depends on whether you paid a sales tax and, if you did, was it imposed on your or on your contractor. From the IRS, sales taxes on construction materials may be deductible if on:
"A home (including a mobile home or prefabricated home) or substantial addition to or major renovation of a home, but only if the tax rate was the same as the general sales tax rate and any of the following applies.
a. Your state or locality imposes a general sales tax directly on the sale of a home or on the cost of a substantial addition or major renovation.
b. You purchased the materials to build a home or substantial addition or to perform a major renovation and paid the sales tax directly.
c. Under your state law, your contractor is considered your agent in the construction of the home or substantial addition or the performance of a major renovation. The contract must state that the contractor is authorized to act in your name and must follow your directions on construction decisions. In this case, you will be considered to have purchased any items subject to a sales tax and to have paid the sales tax directly."
Note - it's possible you didn't pay a sales tax, as some states exempt construction materials.