From 716d142041874497e12e5e52cd2c020d7e093ab9 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Mon, 11 Apr 2016 17:34:16 +0200 Subject: [PATCH] [SMPICC] Make call location conditional This commit introduces the -enable-call-location compile-time switch for smpicc. --- src/smpi/smpicc.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/smpi/smpicc.in b/src/smpi/smpicc.in index 41ece46fcb..d664bbfba4 100755 --- a/src/smpi/smpicc.in +++ b/src/smpi/smpicc.in @@ -51,6 +51,9 @@ while [ $# -gt 0 ]; do printf '%b\n' "$SIMGRID_GITHASH" exit 0 ;; + '-trace-call-location') + list_add_not_empty CMDLINE "-DTRACE_CALL_LOCATION" + ;; '-compiler-version' | '--compiler-version') ${CC} --version ;; -- 2.20.1