Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed May 15, 2024
1 parent 6a578e0 commit 729c7fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ cd libzstd
make libzstd
cd ..
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/libzstd
export CGO_LDFLAGS="-L$(pwd)/libzstd -Wl,-rpath=$(pwd)/libzstd"
export CGO_LDFLAGS="-L$(pwd)/libzstd -Wl,-rpath,$(pwd)/libzstd"
go test -v -race ./...
```
2 changes: 1 addition & 1 deletion run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ find $(pwd)/libzstd/target/release -name 'libzktrie.so' | xargs -I{} sudo cp -f

# Set the environment variable
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/scroll/lib/
export CGO_LDFLAGS="-L/scroll/lib/ -Wl,-rpath=/scroll/lib/"
export CGO_LDFLAGS="-L/scroll/lib/ -Wl,-rpath,/scroll/lib/"

# Run module tests
go test -v -race -gcflags="-l" -ldflags="-s=false" -coverprofile=coverage.txt -covermode=atomic ./...

0 comments on commit 729c7fe

Please sign in to comment.