Hewlett Packard Inc. has joined a growing list of major corporations that are declining to help pay for the Republican National Convention, as pressure builds on the business community to repudiate Donald J. Trump.

Before it split into two last year, Hewlett-Packard had been a generous contributor to Republican causes in the past. Meg Whitman, the company’s chief executive before the split and now the leader of Hewlett Packard Enterprise, is a former Republican nominee for governor in California. She has forcefully denounced Mr. Trump in the past, calling him a “dishonest demagogue” and condemning his statements on women, Muslims and others as “repugnant.”

The African-American activist group Color of Change, which has been one of the leaders of the campaign to get companies to cut their donations to the convention, said it had received word from HP last week that it would not be making any cash donations to the Republican or Democratic conventions this year. A company spokeswoman confirmed the decision.

HP Inc. joins Coca-Cola and Microsoft in deciding to either significantly curtail or eliminate its monetary support to the Republican convention.