Skip to content

Commit

Permalink
Change Debug version to Release version by default on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
i0gan committed Jul 30, 2024
1 parent a5506d8 commit 9745439
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions tools/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
# Github: https://github.com/pwnsky/squick
# Description: Bash script source file

#build_type="Release"
build_version="Debug"
build_mode="dev"
build_version="Release"
#build_mode="dev"
project_path=`pwd`/..
build_path="$project_path/cache"
sys=`uname -s`
Expand Down
4 changes: 2 additions & 2 deletions tools/install_dev_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ echo "Current LinuxDistro $LinuxDistro"

if [ $LinuxDistro == "Debian" ] || [ $LinuxDistro == "Ubuntu" ] || [ $LinuxDistro == "Raspbian" ]; then
$sudo apt-get update
$sudo apt-get -y git cmake unzip automake make g++ libtool pkg-config
$sudo apt-get -y install libreadline-dev libssl-dev libncurses5-dev
$sudo apt-get -y git cmake unzip automake make gcc g++ libtool pkg-config
$sudo apt-get -y install libreadline-dev libssl-dev libncurses-dev

elif [ $LinuxDistro == "CentOS" ] || [ $LinuxDistro == "RHEL" ] || [ $LinuxDistro == "Fedora" ] || [ $LinuxDistro == "Aliyun" ]; then
$sudo yum -y install cmake unzip automake make
Expand Down

0 comments on commit 9745439

Please sign in to comment.