From d1160c58c07b058aa6fb41cc2f494c74fb2b4603 Mon Sep 17 00:00:00 2001 From: saganatt <8majak8@gmail.com> Date: Thu, 21 Apr 2022 11:55:08 +0200 Subject: [PATCH] Hardcode O2 and O2Physics to always compile in DEBUG mode --- o2.sh | 2 ++ o2physics.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/o2.sh b/o2.sh index 6ff95bfe81..28bb72d138 100644 --- a/o2.sh +++ b/o2.sh @@ -135,6 +135,8 @@ valid_defaults: #!/bin/sh export ROOTSYS=$ROOT_ROOT +CMAKE_BUILD_TYPE=DEBUG + # Making sure people do not have SIMPATH set when they build fairroot. # Unfortunately SIMPATH seems to be hardcoded in a bunch of places in # fairroot, so this really should be cleaned up in FairRoot itself for diff --git a/o2physics.sh b/o2physics.sh index ecaf3cff59..a835609545 100644 --- a/o2physics.sh +++ b/o2physics.sh @@ -20,6 +20,8 @@ incremental_recipe: | --- #!/bin/sh +CMAKE_BUILD_TYPE=DEBUG + if [[ $ALIBUILD_O2PHYSICS_TESTS ]]; then # Impose extra errors. CXXFLAGS="${CXXFLAGS} -Werror -Wno-error=deprecated-declarations"