From fe6761ac9ab90bb3ad02ec1c4c06f9192ed59363 Mon Sep 17 00:00:00 2001 From: Bruno Donassolo Date: Mon, 7 Mar 2022 12:35:24 +0100 Subject: [PATCH] Guess for appveyor --- .appveyor.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 5986c0d53d..59d6f2f9f0 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -44,8 +44,20 @@ install: # We need pybind11. SimGrid will pick it automatically if the subdir is here - cmd: git clone --branch stable --depth=1 https://github.com/pybind/pybind11.git +before_build: + - cmd: if not exist C:\"Program Files"\Eigen\include\eigen3\Eigen\Core ( + curl -LO https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz && + cmake -E tar zxf eigen-3.4.0.tar.gz && + cd eigen-3.4.0 && + mkdir build && + cd build && + cmake -G "Visual Studio 2019" .. && + cmake --build . --target install && + cd ..\.. + ) else (echo Using cached Eigen3) + build_script: -- cmake -G "MinGW Makefiles" -Denable_documentation=OFF -Denable_java=ON -Denable_msg=ON -Denable_smpi=OFF -Denable_mallocators=OFF -Denable_lto=OFF . +- cmake -G "MinGW Makefiles" -Denable_documentation=OFF -Denable_java=ON -Denable_msg=ON -Denable_smpi=OFF -Denable_mallocators=OFF -Denable_lto=OFF -DEIGEN3_INCLUDE_DIR="C:\Program Files\Eigen\include\eigen3" . - mingw32-make.exe VERBOSE=1 java-all python-bindings # Only the Java and Python parts - ctest --output-on-failure -R java - ctest --output-on-failure -R python -- 2.20.1