Skip to content

Make noirup pull latest nightly build by default#470

Merged
kobyhallx merged 7 commits intonoir-lang:masterfrom
TomAFrench:noirup-pull-binaries
Dec 5, 2022
Merged

Make noirup pull latest nightly build by default#470
kobyhallx merged 7 commits intonoir-lang:masterfrom
TomAFrench:noirup-pull-binaries

Conversation

@TomAFrench
Copy link
Member

@TomAFrench TomAFrench commented Nov 14, 2022

Related issue(s)

#225 Releases don't contain binaries anymore

Description

Summary of changes

noirup currently always builds nargo from source due to #225. As we move towards publishing binaries we can have noirup take advantage of this to pull the nightly build.

This PR makes this the default behaviour for noirup. The current behaviour of building locally is still available through noirup -b master.

I haven't tested this yet as there are currently no binaries to download but we can test tomorrow. The url of the tarball to download will almost definitely needs to be tweaked. Tested on linux.

Dependency additions / changes

N/A

Test additions / changes

N/A

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.

Additional context

(If applicable.)

@TomAFrench TomAFrench marked this pull request as ready for review November 17, 2022 10:29
@TomAFrench
Copy link
Member Author

Keep in mind that there's currently no build for apple-darwin on the nightly release tag so noirup will fail until that exists.

@TomAFrench TomAFrench marked this pull request as draft November 17, 2022 10:32
@TomAFrench
Copy link
Member Author

Looks like we're not unpacking the std lib properly, testing worked as I already had an existing copy.

@TomAFrench TomAFrench marked this pull request as ready for review November 17, 2022 11:23
Copy link
Contributor

@jfecher jfecher left a comment

Choose a reason for hiding this comment

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

Pinging @kobyhallx for tooling visibility

@kobyhallx
Copy link
Contributor

Merging with intent to move noirup into its own repository.

@kobyhallx kobyhallx merged commit b693598 into noir-lang:master Dec 5, 2022
TomAFrench added a commit to TomAFrench/noir that referenced this pull request Dec 6, 2022
* master:
  Split `util` module from noirc_frontend into new crate (noir-lang#560)
  update backend ref (noir-lang#561)
  Tell `clap` to use help text when no subcommand (noir-lang#559)
  moving noirup and build files out to separate repositories (noir-lang#557)
  Make `noirup` pull latest nightly build by default (noir-lang#470)
TomAFrench added a commit to TomAFrench/noir that referenced this pull request Dec 8, 2022
* master:
  Update workflow to run on 20.04 to fix CI (noir-lang#565)
  Split `util` module from noirc_frontend into new crate (noir-lang#560)
  update backend ref (noir-lang#561)
  Tell `clap` to use help text when no subcommand (noir-lang#559)
  moving noirup and build files out to separate repositories (noir-lang#557)
  Make `noirup` pull latest nightly build by default (noir-lang#470)
  Handle predicate operator during inlining (noir-lang#544)
  Add gitattributes (noir-lang#541)
@TomAFrench TomAFrench deleted the noirup-pull-binaries branch January 30, 2023 12:48
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.

3 participants