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

chore: Enhancement on building nph and made it available naturaly on the path #3152

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

NagyZoltanPeter
Copy link
Contributor

Description

Due that vscode nph extension is taking nph binary from the path, to avoid possible discrepancies - maybe of having other nph version avail from somewhere else - this chore aims to build nph binary only if needed and move it next to nim binary - into vendor/nimbus-build-system/vendor/Nim/bin/ directory, which is inherently added to the path with the .env.sh script.

Changes

Only Makefile changes

  • build-nph target only executes if nph binary not exists
  • built nph binary moved next to used nim binary under vendor inside repo
  • make update will also build nph binary for vscode extension convenience.

Copy link

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3152

Built from 4bdd2c4

Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

Copy link
Collaborator

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks! 💯

@NagyZoltanPeter NagyZoltanPeter merged commit b42f4c7 into master Oct 28, 2024
11 of 12 checks passed
@NagyZoltanPeter NagyZoltanPeter deleted the chore-auto-add-nph-to-nim-dir branch October 28, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants