The 49ers signed defensive lineman B.J. McBryde Friday, a day after losing Kaleb Ramsey to retirement.

The move puts San Francisco’s offseason roster at 90, meaning the team would have to release a player to make room for un-retiring tackle Anthony Davis, who filed his reinstatement paperwork with the NFL earlier this week.

McBryde (6-5, 292) played for new 49ers coach Chip Kelly in 2015 with the Eagles after joining the team as an undrafted free agent from UConn. He went on to finish the season on the Packers’ practice squad. McBryde was waived by Green Bay earlier this week.

The 49ers are dealing with uncertainty amid their group of starting defensive linemen. Ian Williams (ankle surgery) and Glenn Dorsey (ACL tear) are unlikely to be ready for the start of training camp this weekend.

San Francisco’s healthy defensive linemen are recent first-round draft picks Arik Armstead, DeForest Buckner with Quinton Dial, Tony Jerod-Eddie, rookie Ronald Blair, Mike Purcell, Garrison Smith, Demetrius Cherry and Darren Lake.