Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPICC] Make call location conditional
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Mon, 11 Apr 2016 15:34:16 +0000 (17:34 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 19 May 2016 14:37:23 +0000 (16:37 +0200)
This commit introduces the -enable-call-location compile-time
switch for smpicc.

src/smpi/smpicc.in

index 41ece46..d664bbf 100755 (executable)
@@ -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
             ;;