Skip to content

Commit

Permalink
reset build_ir_core.sh
Browse files Browse the repository at this point in the history
Committed-by: xiaolei.zl from Dev container
  • Loading branch information
zhanglei1949 committed Oct 18, 2024
1 parent 2577a4a commit f9970af
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions interactive_engine/compiler/build_ir_core.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

#set -e
#set -x
#
#if $(! command -v cargo &> /dev/null)
#then
# echo "cargo not exit, skip compile"
#else
# cd ../executor/ir/core
# cargo build --release
#fi
set -e
set -x

if $(! command -v cargo &> /dev/null)
then
echo "cargo not exit, skip compile"
else
cd ../executor/ir/core
cargo build --release
fi

0 comments on commit f9970af

Please sign in to comment.