From d343dbb5005debf735d533c63a52ff357ac3ae2d Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Thu, 25 Jan 2024 10:47:16 +0100
Subject: [PATCH] ModelTree.cc: Provide output in case of failure

---
 src/ModelTree.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/ModelTree.cc b/src/ModelTree.cc
index 41bed024..6f554ea2 100644
--- a/src/ModelTree.cc
+++ b/src/ModelTree.cc
@@ -1964,7 +1964,10 @@ ModelTree::initializeMEXCompilationWorkers(int numworkers, const filesystem::pat
             lk.lock();
             mex_compilation_ongoing.erase(output);
             if (r)
-              mex_compilation_failed.insert(output);
+              {
+                cout << cmd.str() << endl;
+                mex_compilation_failed.insert(output);
+              } 
             else
               mex_compilation_done.insert(output);
             /* The object just compiled may be a prerequisite for several
-- 
GitLab