From d7b4cb7de34f12f13c1992c8f04bded59e8ad460 Mon Sep 17 00:00:00 2001 From: dbanks12 Date: Thu, 16 Feb 2023 15:12:50 +0000 Subject: [PATCH 1/2] add missing dependencies to libbarretenberg.a --- cpp/src/aztec/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cpp/src/aztec/CMakeLists.txt b/cpp/src/aztec/CMakeLists.txt index ec1fed3946..113f0d566a 100644 --- a/cpp/src/aztec/CMakeLists.txt +++ b/cpp/src/aztec/CMakeLists.txt @@ -72,10 +72,14 @@ if(WASM) $ $ $ + $ $ $ $ $ + $ + $ + $ $ $ $ @@ -119,11 +123,15 @@ if(WASM) $ $ $ + $ $ $ $ $ $ + $ + $ + $ $ $ $ @@ -149,11 +157,15 @@ else() $ $ $ + $ $ $ $ $ $ + $ + $ + $ $ $ $ From b646b067c1fb92d2529dd519ef4be73371ff5887 Mon Sep 17 00:00:00 2001 From: dbanks12 Date: Thu, 16 Feb 2023 20:36:13 +0000 Subject: [PATCH 2/2] add missing libraries to wasm executable --- cpp/src/aztec/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpp/src/aztec/CMakeLists.txt b/cpp/src/aztec/CMakeLists.txt index 113f0d566a..32676d112a 100644 --- a/cpp/src/aztec/CMakeLists.txt +++ b/cpp/src/aztec/CMakeLists.txt @@ -86,6 +86,9 @@ if(WASM) $ $ $ + $ + $ + $ ) # With binaryen installed, it seems its wasm backend optimiser gets invoked automatically.