Skip to content

Commit

Permalink
emit error if USE_TRUE_SDC=TRUE and USE_SIMPLIFIED_SDC=TRUE (#2565)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Sep 21, 2023
1 parent 5fba1a1 commit a7802fd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Exec/Make.Castro
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ ifeq ($(USE_SDC), TRUE)
$(error USE_SDC is no longer supported. Use with USE_SIMPLIFIED_SDC or USE_TRUE_SDC)
endif

ifeq ($(USE_SIMPLIFIED_SDC), TRUE)
ifeq ($(USE_TRUE_SDC), TRUE)
$(error USE_SIMPLIFIED_SDC cannot be combined with USE_TRUE_SDC)
endif
endif

# need to put any build suffices before Make.defs
ifeq ($(USE_SIMPLIFIED_SDC), TRUE)
USERSuffix = .SMPLSDC
Expand Down

0 comments on commit a7802fd

Please sign in to comment.