Skip to content

Commit

Permalink
fix dependency (#168)
Browse files Browse the repository at this point in the history
* fix dependency

* fix test mount dir
  • Loading branch information
luanshaotong authored Aug 29, 2023
1 parent 97e15cf commit 41e1ad0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
target_dir = target/debug
features := disk-db
flags += --workspace --verbose --features=$(features)
deps = protobuf-compiler \
clang \
libfuse-dev \
libcapstone-dev \
iproute2 perftest build-essential net-tools cmake \
cython pandoc libnl-3-dev libnl-route-3-dev libibverbs-dev
deps = pkg-config protobuf-compiler clang libfuse-dev libcapstone-dev \
iproute2 perftest build-essential net-tools cmake pandoc \
libnl-3-dev libnl-route-3-dev libibverbs-dev

all_release: install_deps release
all_debug: install_deps debug

install_deps:
sudo apt-get install $(deps) -y
sudo apt update && sudo apt-get install $(deps) -y

release:
cargo build $(flags) --release
Expand Down
2 changes: 1 addition & 1 deletion test_io500.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ else
fi

echo "[global]" > config-minimal.ini
echo "datadir = /home/sealos/fs" >> config-minimal.ini
echo "datadir = $HOME/fs" >> config-minimal.ini
echo "" >> config-minimal.ini
echo "[debug]" >> config-minimal.ini
echo "stonewall-time = 2" >> config-minimal.ini
Expand Down

0 comments on commit 41e1ad0

Please sign in to comment.