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: Remove panic on arm64 linux builds for bb binary at compile time #3527

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

kevaundray
Copy link
Contributor

Description

With the addition of #3437 -- we can compile without a backend. If one is on an arm64 linux build, they will get a compile time panic. This PR changes it to a warning and just doesn't set the environment variables for the bb binary.

Problem*

Resolves

Summary*

Additional Context

Documentation*

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@TomAFrench
Copy link
Member

TomAFrench commented Nov 22, 2023

just doesn't set the environment variables for the bb binary.

This is currently still set but for the x86 binary Missed the return, nvm.

@kevaundray
Copy link
Contributor Author

kevaundray commented Nov 22, 2023

just doesn't set the environment variables for the bb binary.

This is currently still set but for the x86 binary

Yep, we just don't want it for arm64 because BB doesn't produce those -- Additionally, we can follow up with another PR that allows users to specifically set that they want no backend like what was done here CC @guipublic to take that on as a followup work to your "compile no-backend" PR

@kevaundray kevaundray added this pull request to the merge queue Nov 22, 2023
Merged via the queue into master with commit 8230c47 Nov 22, 2023
33 checks passed
@kevaundray kevaundray deleted the kw/remove-arm64-linux-bb-panic branch November 22, 2023 12:15
TomAFrench added a commit that referenced this pull request Nov 27, 2023
* master: (39 commits)
  chore: Rename error2 variable (#3584)
  chore: nargo fmt (#3587)
  feat: codegen typed interfaces for functions in `noir_codegen` (#3533)
  chore: add dependency on noir_js from docs package (#3559)
  chore: Docs 0.19.3 (#3545)
  chore(debugger): Inject abstract foreign call executor to debugger (#3550)
  chore: nargo fmt (#3549)
  fix: Compiler version error message (#3558)
  chore(docs): Update link to docs' GitHub (#3555)
  chore(fmt): refactor the way we handle shapes in the formatter (#3546)
  feat: add --check option to nargo fmt for dry-run formatting verification (#3530)
  chore: Update ACIR artifacts (#3528)
  chore: Release Noir(0.19.3) (#3514)
  chore: Updates bb dependency to 0.15.1 (#3536)
  fix(debugger): Step through foreign calls and breakpoints inside Brillig blocks (#3511)
  chore: Add build profiles that optimize for size (#3534)
  chore: clippy fixes (#3529)
  chore: remove early return from build.rs (#3531)
  feat: enable the `fmt` command in the help menu (#3328)
  chore: Remove panic on arm64 linux builds for bb binary at compile time (#3527)
  ...
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