From d866725ad6f667772bb29abe2cca33d76f5efcd7 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Wed, 23 Aug 2017 01:32:18 +0200 Subject: [PATCH] Fix simgrid compilation --- compute/zgesvd.c | 1 + compute/zheevd.c | 1 + runtime/parsec/CMakeLists.txt | 1 - runtime/quark/CMakeLists.txt | 1 - runtime/starpu/CMakeLists.txt | 1 - timing/timing.c | 7 ++++--- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/compute/zgesvd.c b/compute/zgesvd.c index be26ed8a1..b2d7e48d4 100644 --- a/compute/zgesvd.c +++ b/compute/zgesvd.c @@ -24,6 +24,7 @@ * **/ #include "control/common.h" +#include <stdlib.h> #include <stdio.h> #include <string.h> #if !defined(CHAMELEON_SIMULATION) diff --git a/compute/zheevd.c b/compute/zheevd.c index ccd4db8bb..e4a85b98b 100644 --- a/compute/zheevd.c +++ b/compute/zheevd.c @@ -24,6 +24,7 @@ * **/ #include "control/common.h" +#include <stdlib.h> #include <string.h> #if !defined(CHAMELEON_SIMULATION) #include <coreblas/lapacke.h> diff --git a/runtime/parsec/CMakeLists.txt b/runtime/parsec/CMakeLists.txt index 45a1559e9..714235ae9 100644 --- a/runtime/parsec/CMakeLists.txt +++ b/runtime/parsec/CMakeLists.txt @@ -124,7 +124,6 @@ endif(NOT CHAMELEON_SIMULATION) add_dependencies(chameleon_parsec chameleon_include - coreblas_include control_include runtime_parsec_include ) diff --git a/runtime/quark/CMakeLists.txt b/runtime/quark/CMakeLists.txt index c535a55a1..eeee4ac10 100644 --- a/runtime/quark/CMakeLists.txt +++ b/runtime/quark/CMakeLists.txt @@ -119,7 +119,6 @@ endif(CHAMELEON_USE_CUDA) add_dependencies(chameleon_quark chameleon_include - coreblas_include control_include runtime_quark_include ) diff --git a/runtime/starpu/CMakeLists.txt b/runtime/starpu/CMakeLists.txt index b875800db..dfd436b54 100644 --- a/runtime/starpu/CMakeLists.txt +++ b/runtime/starpu/CMakeLists.txt @@ -141,7 +141,6 @@ endif(NOT CHAMELEON_SIMULATION) add_dependencies(chameleon_starpu chameleon_include - coreblas_include control_include runtime_starpu_include ) diff --git a/timing/timing.c b/timing/timing.c index 989d97aaa..d054b1ef7 100644 --- a/timing/timing.c +++ b/timing/timing.c @@ -47,10 +47,11 @@ #include <sys/resource.h> #endif -#include "coreblas/cblas.h" -#include "coreblas/lapacke.h" #include <morse.h> -#include "coreblas.h" +#if !defined(CHAMELEON_SIMULATION) +#include <coreblas/lapacke.h> +#include <coreblas.h> +#endif #include "flops.h" #include "timing.h" #include "control/auxiliary.h" -- GitLab