Skip to content

Commit

Permalink
Add blockstore-vhost-server to the list of targets in /buildall (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
ya-ksgamora authored Apr 11, 2024
1 parent 7fbd18f commit 79d3300
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions cloud/blockstore/buildall/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ PEERDIR(
cloud/blockstore/apps/disk_agent
cloud/blockstore/apps/server
cloud/blockstore/tools/nbd
cloud/blockstore/vhost-server
)

END()
7 changes: 6 additions & 1 deletion example/prepare_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ BUILD_ROOT="../cloud/blockstore/buildall"
YDBD_BIN="$BUILD_ROOT/contrib/ydb/apps/ydbd/ydbd"
NBSD_BIN="$BUILD_ROOT/cloud/blockstore/apps/server/nbsd"
BLOCKSTORE_CLIENT_BIN="$BUILD_ROOT/cloud/blockstore/apps/client/blockstore-client"
BLOCKSTORE_VHOST_SERVER_BIN="$BUILD_ROOT/cloud/blockstore/vhost-server/blockstore-vhost-server"
DISK_AGENT_BIN="$BUILD_ROOT/cloud/blockstore/apps/disk_agent/diskagentd"
BLOCKSTORE_NBD_BIN="$BUILD_ROOT/cloud/blockstore/tools/nbd/blockstore-nbd"

for bin in $YDBD_BIN $NBSD_BIN $BLOCKSTORE_CLIENT_BIN $DISK_AGENT_BIN $BLOCKSTORE_NBD_BIN
for bin in $YDBD_BIN $NBSD_BIN $BLOCKSTORE_CLIENT_BIN $BLOCKSTORE_VHOST_SERVER_BIN $DISK_AGENT_BIN $BLOCKSTORE_NBD_BIN
do
if ! test -f $bin; then
echo "$bin not found, build all targets first"
Expand All @@ -25,6 +26,10 @@ function blockstore-client {
LD_LIBRARY_PATH=$(dirname $BLOCKSTORE_CLIENT_BIN) $BLOCKSTORE_CLIENT_BIN "$@"
}

function blockstore-vhost-server {
LD_LIBRARY_PATH=$(dirname $BLOCKSTORE_VHOST_SERVER_BIN) $BLOCKSTORE_VHOST_SERVER_BIN "$@"
}

function diskagentd {
LD_LIBRARY_PATH=$(dirname $DISK_AGENT_BIN) $DISK_AGENT_BIN "$@"
}
Expand Down

0 comments on commit 79d3300

Please sign in to comment.