Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngspice: enable OSDI support #352381

Merged
merged 2 commits into from
Nov 2, 2024
Merged

Conversation

fedeinthemix
Copy link
Contributor

Some open source PDKs like the IHP-Open-PDK require ngspice to be compiled with OSDI enabled. For this reason I'm proposing to enable this feature. It allows ngspice to load several modern Verilog-A models. See section 9.3 of the manual

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@bgamari @rongcuid @wegank


Add a 👍 reaction to pull requests you find important.

@bgamari
Copy link
Contributor

bgamari commented Oct 30, 2024

Indeed this looks harmless enough.

@wegank wegank added 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package labels Oct 31, 2024
@wegank
Copy link
Member

wegank commented Nov 1, 2024

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 352381


aarch64-darwin

✅ 11 packages built:
  • fritzing
  • libngspice
  • ngspice
  • python311Packages.pyspice
  • python311Packages.pyspice.dist
  • python311Packages.skidl
  • python311Packages.skidl.dist
  • python312Packages.pyspice
  • python312Packages.pyspice.dist
  • python312Packages.skidl
  • python312Packages.skidl.dist

@rongcuid
Copy link
Contributor

rongcuid commented Nov 1, 2024

I'm not using Nix right now. Can I be removed from the maintainer list of ngspice?

@wegank wegank added 12.approvals: 2 This PR was reviewed and approved by two reputable people and removed 12.approvals: 1 This PR was reviewed and approved by one reputable person labels Nov 1, 2024
@fedeinthemix
Copy link
Contributor Author

I'm not using Nix right now. Can I be removed from the maintainer list of ngspice?

I've added a commit removing you as requested.

@wegank wegank removed 12.approvals: 2 This PR was reviewed and approved by two reputable people 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package labels Nov 2, 2024
@ofborg ofborg bot requested a review from bgamari November 2, 2024 15:39
@wegank
Copy link
Member

wegank commented Nov 2, 2024

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 352381


aarch64-darwin

✅ 11 packages built:
  • fritzing
  • libngspice
  • ngspice
  • python311Packages.pyspice
  • python311Packages.pyspice.dist
  • python311Packages.skidl
  • python311Packages.skidl.dist
  • python312Packages.pyspice
  • python312Packages.pyspice.dist
  • python312Packages.skidl
  • python312Packages.skidl.dist

@wegank wegank merged commit ce22e01 into NixOS:master Nov 2, 2024
27 of 28 checks passed
infinisil pushed a commit to Infinisil-s-Test-Organization/nixpkgs that referenced this pull request Nov 2, 2024
Shawn8901 pushed a commit to Shawn8901/nixpkgs that referenced this pull request Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants