Commit daf7191e authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by Generic Bliss account for Control Software
Browse files

lima_conda_build: remove debug conda/cmake profile

parent 0801d32e
Pipeline #71868 failed with stages
in 28 minutes and 45 seconds
......@@ -5,7 +5,7 @@ conda_env=""
camera="simulator"
native_arch=0
only_plugin=0
profile="debug"
profile="release"
src_dir=""
cmd="build"
......@@ -21,7 +21,6 @@ function usage()
echo " -c <camera> Compiles <camera> plugin (default: simulator)"
echo " -n Compile for native computer architecture"
echo " -p Compile only the camera plugin"
echo " -r Compile the release profile (default: debug)"
echo " -s <dir> Source directory"
echo
echo "Cmd: build (default) | clean-sip | clean"
......@@ -36,7 +35,6 @@ while getopts "b:e:c:nprs:" opt; do
c) camera="${OPTARG}" ;;
n) native_arch=1 ;;
p) only_plugin=1 ;;
r) profile="release" ;;
s) src_dir="${OPTARG}" ;;
?) usage
esac
......@@ -117,10 +115,11 @@ if [ ${native_arch} -ne 0 ]; then
export CXXFLAGS
fi
if [ ${profile} = "debug" ]; then
build_type="Debug"
else
if [ ${profile} = "release" ]; then
build_type="RelWithDebInfo"
else
echo "Error: profile ${profile} not supported"
exit 1
fi
CPUS=$(lscpu | grep '^CPU(s)' | awk '{print $2}')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment