Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

feat(nix): Switch to which clang #88

Merged
merged 1 commit into from
Mar 16, 2023
Merged

feat(nix): Switch to which clang #88

merged 1 commit into from
Mar 16, 2023

Conversation

kobyhallx
Copy link
Contributor

No description provided.

Copy link
Contributor

@phated phated left a comment

Choose a reason for hiding this comment

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

Thanks!

@phated phated merged commit 21184b0 into phated/bb-sys Mar 16, 2023
@phated phated deleted the kh-bb-sys branch March 16, 2023 18:54
phated pushed a commit that referenced this pull request Mar 22, 2023
phated pushed a commit that referenced this pull request Mar 28, 2023
kevaundray pushed a commit that referenced this pull request Apr 6, 2023
* feat: Introduce barretenberg-sys crate to provide native bindings

* chore: Remove committed barretenberg.wasm

* fix!: Copy wasm into project during build instead of committing it

* feat: Build the project with Nix

* chore: Remove barretenberg_dep.sh

* Comment

* Use master branch

* Back to static

* Better error messages when build script fails

* Add links toml key

* Avoid OS being pub

* Move name and version into nix

* Share environment with devShell

* Add Security framework so tests run on apple

* Comment

* Provide NOIR_TRANSCRIPT via nix fetch

* Document nativeBuildInputs

* Rework nix to build & reuse artifact & add test check

* Rename for barretenberg-backend

* Add clippy check

* Fix clippy warnings

* Apply our clippy flags

* Update some comments

* Simplify check naming & do various cleanup

* Prefix cargo

* Try to build with nix in CI

* Switch to rust-embed to interpolate the nix env var

* try to override bintools for all of crane

* feat(nix): Switch to which clang (#88)

Co-authored-by: Koby <[email protected]>

* gcc11 libs always?

* why does ring fail to build?

* which fails in nix

* back to stdenv

* try to use pkg-config to find omp

* pkg-config cannot load omp, move the link to the bottom again

* avoid cleaning the source

* try adding the linker config to the workspace root

* try overriding the dummy src to copy the cargo dir

* put rustls back

* fix dummysrc

* put the cargo dir at the root of the dummy src

* build deps without bb-sys

* Copy the linker config to root of workspace

* Remove bb-sys from workspace and use as git dep

* Update G2_START, rename transcript & fetch monomial transcript

* Change transcript name and download URL

* trying to get it working

* changes to wasm instance load and new bb.wasm using ultra composer

* fixed up bb.wasm with logic constraints for ultra

* rename wasm composer methods

* testing ultra still, pushing remotely for others to access

* working towards solidity verifier

* Set AND and XOR to false

* make things kind of work

* WIP

* re-enable AND and XOR - needs test

* remove print statments

* re-enable tests

* cleanup

* update merkle wasm test hashes

* use latest bb-sys commit

* removed check

* update lockfile

* cleanup and notes from diff review

* Generate solidity contract natively

* update lockfile

* update lockfile

* clippy

* include solidity files in source

* clippy

* implement solidity verifier in wasm

* Use workarounds from bb nix and update import bindings

* update lockfile

* clippy

* update lockfile

* update lockfile

* dedupe contract and remove old contract stuff in common crate

* update lockfile

* diff review nits

* Use published bb-sys crate

* cleanup description

* Update barretenberg_wasm/src/lib.rs

Co-authored-by: Tom French <[email protected]>

* update lockfile

---------

Co-authored-by: Blaine Bublitz <[email protected]>
Co-authored-by: Koby Hall <[email protected]>
Co-authored-by: Koby <[email protected]>
Co-authored-by: Blaine Bublitz <[email protected]>
Co-authored-by: Tom French <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants