From cff7cd990dd944897c81e1e12e46006cd3526909 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Wed, 23 Aug 2017 00:19:28 +0200
Subject: [PATCH] Protect lapacke include for simulation

---
 compute/zgesvd.c | 2 ++
 compute/zheevd.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/compute/zgesvd.c b/compute/zgesvd.c
index 4362bcd18..bfcb72de3 100644
--- a/compute/zgesvd.c
+++ b/compute/zgesvd.c
@@ -25,7 +25,9 @@
  **/
 #include <stdio.h>
 #include <string.h>
+#if !defined(CHAMELEON_SIMULATION)
 #include <coreblas/lapacke.h>
+#endif
 #include "control/common.h"
 
 /***************************************************************************//**
diff --git a/compute/zheevd.c b/compute/zheevd.c
index 168308654..f1d059fc4 100644
--- a/compute/zheevd.c
+++ b/compute/zheevd.c
@@ -24,7 +24,9 @@
  *
  **/
 #include <string.h>
+#if !defined(CHAMELEON_SIMULATION)
 #include <coreblas/lapacke.h>
+#endif
 #include "control/common.h"
 
 /***************************************************************************//**
-- 
GitLab