Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed May 8, 2024
1 parent eced2d8 commit 5d6f82c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions libzstd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ clean:

libzstd:
cargo build --release
cp -f $(PWD)/target/release/libscroll_zstd.so $(PWD)/
cp -f $(PWD)/target/release/libscrollzstd.so $(PWD)/
find $(PWD)/target/release | grep libzktrie.so | xargs -I{} cp -f {} $(PWD)/
cp -f libscroll_zstd.so libzktrie.so /usr/local/lib
cp -f libscrollzstd.so libzktrie.so /usr/local/lib

libzstddbg:
cargo build
cp -f $(PWD)/target/debug/libscroll_zstd.so $(PWD)/
cp -f $(PWD)/target/debug/libscrollzstd.so $(PWD)/
find $(PWD)/target/debug | grep libzktrie.so | xargs -I{} cp -f {} $(PWD)/
cp -f libscroll_zstd.so libzktrie.so /usr/local/lib
cp -f libscrollzstd.so libzktrie.so /usr/local/lib
4 changes: 2 additions & 2 deletions run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# Compile libzstd
cd libzstd && cargo build --release && cd ..
sudo cp -f $(pwd)/libzstd/target/release/libscroll_zstd.so $(pwd)/
sudo cp -f $(pwd)/libzstd/target/release/libscrollzstd.so $(pwd)/
find $(pwd)/libzstd/target/release | grep libzktrie.so | xargs -I{} cp -f {} $(pwd)/
sudo cp -f libscroll_zstd.so libzktrie.so /usr/local/lib
sudo cp -f libscrollzstd.so libzktrie.so /usr/local/lib

# Set the environment variable
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
Expand Down

0 comments on commit 5d6f82c

Please sign in to comment.