Skip to content

Commit

Permalink
Hardcode O2 and O2Physics to always compile in DEBUG mode
Browse files Browse the repository at this point in the history
  • Loading branch information
saganatt committed Nov 15, 2023
1 parent b736942 commit d1160c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions o2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions o2physics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d1160c5

Please sign in to comment.