Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinxc committed Sep 21, 2024
1 parent c89983e commit 3c5337b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ build --copt=-fstack-protector-strong
build:linux --copt=-Wl,-z,noexecstack
build:macos --copt=-Wa,--noexecstack

test --keep_going
build --keep_going
test --test_output=errors

build:benchmark --copt -O3
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ python3 -m pip install -r requirements-dev.txt
#### macOS

```sh
# macOS >= 12.0, Xcode >= 14.0
# macOS >= 13.0, Xcode >= 15.0

# Install Xcode
https://apps.apple.com/us/app/xcode/id497799835?mt=12
Expand Down
1 change: 1 addition & 0 deletions libspu/compiler/front_end/fe.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include "libspu/compiler/front_end/fe.h"

#include "fmt/ranges.h"
#include "mlir/Dialect/Func/Extensions/InlinerExtension.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/IR/BuiltinOps.h"
Expand Down
4 changes: 2 additions & 2 deletions libspu/mpc/semi2k/beaver/beaver_impl/beaver_ttp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <utility>
#include <vector>

#include "yacl/crypto/pke/asymmetric_sm2_crypto.h"
#include "yacl/crypto/pke/sm2_enc.h"
#include "yacl/crypto/rand/rand.h"
#include "yacl/link/algorithm/allgather.h"

Expand Down Expand Up @@ -179,7 +179,7 @@ BeaverTtp::BeaverTtp(std::shared_ptr<yacl::link::Context> lctx, Options ops)

yacl::Buffer encrypted_seed;
{
std::unique_ptr<yacl::crypto::AsymmetricEncryptor> encryptor;
std::unique_ptr<yacl::crypto::PkeEncryptor> encryptor;
auto lower_schema = absl::AsciiStrToLower(options_.asym_crypto_schema);
if (lower_schema == "sm2") {
encryptor = std::make_unique<yacl::crypto::Sm2Encryptor>(
Expand Down

0 comments on commit 3c5337b

Please sign in to comment.