Skip to content

Commit

Permalink
fix inter-dependencies of Softsusy models
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Nov 19, 2017
1 parent 4b667be commit 89a5224
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
12 changes: 11 additions & 1 deletion configure
Expand Up @@ -960,7 +960,17 @@ check_models() {
esac
done

# test model dependencies (SoftsusyNMSSM depends on SoftsusyMSSM)
# test model dependencies (SoftsusyFlavourMSSM -> SoftsusyNMSSM -> SoftsusyMSSM)
if contains "${MODELS}" "models/SoftsusyFlavourMSSM"; then
if contains_not "${MODELS}" "models/SoftsusyNMSSM"; then
result "not ok"
message "Error: model SoftsusyFlavourMSSM requires SoftsusyMSSM and SoftsusyNMSSM!"
message " Please select these two models as well:"
message " --with-models=SoftsusyMSSM,SoftsusyNMSSM,SoftsusyFlavourMSSM"
exit 1
fi
fi

if contains "${MODELS}" "models/SoftsusyNMSSM"; then
if contains_not "${MODELS}" "models/SoftsusyMSSM"; then
result "not ok"
Expand Down
7 changes: 1 addition & 6 deletions models/SoftsusyFlavourMSSM/module.mk
Expand Up @@ -14,12 +14,7 @@ LIBSoftsusyFlavourMSSM_DEP := \

LIBSoftsusyFlavourMSSM := $(DIR)/lib$(MODNAME)$(MODULE_LIBEXT)

EXESoftsusyFlavourMSSM_SRC :=

ifeq ($(WITH_SoftsusyMSSM) $(WITH_SoftsusyNMSSM) $(WITH_SoftsusyFlavourMSSM),yes yes yes)
EXESoftsusyFlavourMSSM_SRC += \
$(DIR)/run_softpoint.cpp
endif
EXESoftsusyFlavourMSSM_SRC := $(DIR)/run_softpoint.cpp

EXESoftsusyFlavourMSSM_OBJ := \
$(patsubst %.cpp, %.o, $(filter %.cpp, $(EXESoftsusyFlavourMSSM_SRC)))
Expand Down

0 comments on commit 89a5224

Please sign in to comment.