control-toolbox / control-toolbox/bocop

Improve/Repair windows version

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
4
Forks
1
Avg merge
1m
Merged PRs (30d)
1

Description

[BROKEN] Current windows deployment:
- install visual c++ build tools (VS 2019 cf notes below): https://visualstudio.microsoft.com/downloads/
- install miniconda: https://docs.conda.io/en/latest/miniconda.html#windows-installers
OR mambaforge ? https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe
- install bocop package with conda (use mamba)

The conda env for windows relies on a specifically built ipopt (3.12) hosted on dtk-forge. Moreover, Visual Studio version is hardcoded to VS 16 2019 in the build() function from bocop.py. This is problematic for instance for the github runners, as the windows-latest image does not have VS 16 anymore. This configuration is hard to maintain and has actually been broken during the build process overhaul (single core lib).

For the future, the aim is to base the windows version on the latest ipopt package from conda-forge. Check the toolchain used (mingw64 ?, msvc ?), and prepare the migration of the conda env accordingly. Also, get rid of the .bat build scripts if possible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.