Skip to content

Commit

Permalink
fix: remove debug comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wiryls committed Jan 18, 2024
1 parent 091d31f commit fb846e5
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions dipu/scripts/ci/nv/ci_nv_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,22 @@ function build() {
"-DDIPU_ENABLE_COVERAGE=${USE_COVERAGE}"
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
"$@" )
"$@")

# rm -rf "$path"
# mkdir -p "$path"
rm -rf "$path"
mkdir -p "$path"
cmake -B "$path" -S . "${args[@]}" 2>&1 | tee "${path}/cmake_nv.log"
cmake --build "$path" --parallel 8 2>&1 | tee "${path}/build.log"
}

case $1 in
"build_dipu")
build ;;
"build_dipu_only")
build "-DWITH_DIOPI_LIBRARY=DISABLE" ;;
*)
echo "[ERROR] Incorrect option: $1" && exit 1 ;;
"build_dipu")
build
;;
"build_dipu_only")
build "-DWITH_DIOPI_LIBRARY=DISABLE"
;;
*)
echo "[ERROR] Incorrect option: $1" && exit 1
;;
esac

0 comments on commit fb846e5

Please sign in to comment.