specify the build mode used by cmake. defaults to Debug mode if -g is used alone, with no mode parameter
specify the build mode used by cmake. defaults to Debug mode if -g is used alone, with no mode parameter
if -g is not specifies, Release mode is used.
if -g is not specifies, Release mode is used.
...
@@ -176,8 +165,7 @@ function main() {
...
@@ -176,8 +165,7 @@ function main() {
do
do
case"$1"in
case"$1"in
--arch-native)
--arch-native)
CMAKE_C_FLAGS+=("-march=native")
echo_fatal "Error: specify --arch-native on the command line to cmake directly: ./build_oai --cmake-opt \"-DCMAKE_C_FLAGS=-march=native -DCMAKE_CXX_FLAGS=-march=native\""
CMAKE_CXX_FLAGS+=("-march=native")
shift;;
shift;;
-c|--clean)
-c|--clean)
CLEAN=1
CLEAN=1
...
@@ -203,10 +191,6 @@ function main() {
...
@@ -203,10 +191,6 @@ function main() {
INSTALL_OPTIONAL=1
INSTALL_OPTIONAL=1
echo_info "Will install optional packages"
echo_info "Will install optional packages"
shift;;
shift;;
-i|--install-system-files)
INSTALL_SYSTEM_FILES=1
echo_info "Will copy OpenAirInterface files in Linux directories"
shift;;
-g|--run-with-gdb)
-g|--run-with-gdb)
case"$2"in
case"$2"in
"Release")
"Release")
...
@@ -258,7 +242,6 @@ function main() {
...
@@ -258,7 +242,6 @@ function main() {
shift;;
shift;;
--nrUE)
--nrUE)
nrUE=1
nrUE=1
rfsimNas=1
echo_info "Will compile NR UE"
echo_info "Will compile NR UE"
shift;;
shift;;
--mu)
--mu)
...
@@ -318,11 +301,8 @@ function main() {
...
@@ -318,11 +301,8 @@ function main() {
-V|--vcd)
-V|--vcd)
echo_info "Setting gtk-wave output"
echo_info "Setting gtk-wave output"
CMAKE_CMD="$CMAKE_CMD -DENABLE_VCD_FIFO=True"
CMAKE_CMD="$CMAKE_CMD -DENABLE_VCD_FIFO=True"
EXE_ARGUMENTS="$EXE_ARGUMENTS -V"
shift;;
shift;;
-x|--xforms)
-x|--xforms)
XFORMS=1
EXE_ARGUMENTS="$EXE_ARGUMENTS -d"
echo_info "Will generate the software oscilloscope features"
echo_info "Will generate the software oscilloscope features"
shift;;
shift;;
--verbose-ci)
--verbose-ci)
...
@@ -363,7 +343,6 @@ function main() {
...
@@ -363,7 +343,6 @@ function main() {
echo_info "Downloading UHD images in the indicated location"
echo_info "Downloading UHD images in the indicated location"