Skip to content

Commit

Permalink
feat: update yacl for cmake project
Browse files Browse the repository at this point in the history
  • Loading branch information
dterazhao committed Jun 24, 2024
1 parent e0febb2 commit ef677a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions third_party/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ rm -rf include lib && mkdir include lib
"$CD"/build_gmp.sh "$PREFIX"
# build yacl
"$CD"/build_yacl.sh "$PREFIX"
# build seal
"$CD"/build_seal.sh
# patches
"$CD"/patches.sh

Expand Down
2 changes: 1 addition & 1 deletion third_party/build_seal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sh "$CD"/build_template.sh --pkg "$pkg" -u "$download_url" -o \
"-DSEAL_USE_MSGSL=OFF -DSEAL_BUILD_DEPS=OFF -DSEAL_USE_ZSTD=OFF -DSEAL_USE_ZLIB=OFF -DSEAL_THROW_ON_TRANSPARENT_CIPHERTEXT=OFF"

# shellcheck disable=SC2115
mv "$CD"/lib64/libseal* "$CD"/lib/ && rm -rf "$CD"/lib64
[ -d "$CD"/lib64 ] && mv "$CD"/lib64/libseal* "$CD"/lib/ && rm -rf "$CD"/lib64
m_ver=${seal_ver%.*}
rm -rf "$CD"/include/seal && mv "$CD"/include/SEAL-"$m_ver"/seal "$CD"/include/ && rm -rf "$CD"/include/SEAL-"$m_ver"
rm -rf "$CD"/lib/{cmake,pkgconfig}
Binary file modified third_party/src/yacl.tar.gz
Binary file not shown.

0 comments on commit ef677a7

Please sign in to comment.