Skip to content

openroad: remove unused pcre dependency - #536353

Merged
GrimmTheShrimp merged 1 commit into
NixOS:masterfrom
patka-123:push-lpnsyllskoyv
Jun 28, 2026
Merged

GrimmTheShrimp merged 1 commit into
NixOS:masterfrom
patka-123:push-lpnsyllskoyv

Conversation

@patka-123

@patka-123 patka-123 commented Jun 28, 2026 •

Copy link
Copy Markdown
Contributor

Relates to #356387

Openroad has been moved to pcre2 for some time now, see The-OpenROAD-Project/OpenROAD#9216. But that is a transitive dependency and not needed in our case. It can safely be removed.

Things done

@patka-123
patka-123 requested a review from GrimmTheShrimp June 28, 2026 16:11
@nixpkgs-ci
nixpkgs-ci Bot requested review from hzeller and trepetti June 28, 2026 16:16
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. labels Jun 28, 2026

@hzeller hzeller left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@patka-123 patka-123 added the 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. label Jun 28, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 28, 2026

@GrimmTheShrimp GrimmTheShrimp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am somewhat surprised seeing pcre2 here... Is that actually required? I can not see any references to pcre in code other than their installation script, and that installation script seems on the very conservative side in setting up an environment. Besides, shouldn't this have failed before if pcre2 were actually needed?

@hzeller

hzeller commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

I think only swig and glib indirectly uses pcre2 and that is why it is in their installation script.
Might be worthwhile removing entirely and see if things build.

Another data point: It is not in their default.nix
https://github.com/The-OpenROAD-Project/OpenROAD/blob/master/default.nix

@patka-123
patka-123 force-pushed the push-lpnsyllskoyv branch from 32d2be3 to 43e1d3b Compare June 28, 2026 17:47
@patka-123

Copy link
Copy Markdown
Contributor Author

Right, I haven't considered that it might not be directly needed, but it is indeed just a transitive dependency they have in their install script. It works fine without it.

@patka-123 patka-123 changed the title openroad: migrate to pcre2 openroad: remove unused pcre dependency Jun 28, 2026
Comment thread pkgs/by-name/fr/freeswitch/package.nix Resolved
@patka-123
patka-123 force-pushed the push-lpnsyllskoyv branch from 43e1d3b to 9693384 Compare June 28, 2026 17:48
@patka-123
patka-123 force-pushed the push-lpnsyllskoyv branch from 9693384 to 555349c Compare June 28, 2026 17:52
@GrimmTheShrimp
GrimmTheShrimp added this pull request to the merge queue Jun 28, 2026
Merged via the queue into NixOS:master with commit 0fbb3da Jun 28, 2026
26 checks passed
@patka-123
patka-123 deleted the push-lpnsyllskoyv branch June 29, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants