building windows wheels fails due to a change in vcpkg
See original GitHub issue- PyBaMM version -
$ python -m pip show pybamm
: 21.08 - Python version -
$ python --version
: n/a
Describe the bug
The .github/workflows/build_wheels.yml
workflow fails when building the windows wheel, with the following error:
---------- Running CMake for idaklu solver ----------------------------------------
-- Building for: Visual Studio 16 2019
-- Running vcpkg install
Error: sundials:x86-windows-static@5.7.0#1 does not have required feature klu
-- Running vcpkg install - failed
CMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:827 (message):
vcpkg install failed. See logs for more information:
C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-_9f138ur\build\temp.win32-3.6\vcpkg-manifest-install.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include)
CMakeLists.txt:18 (project)
-- Configuring incomplete, errors occurred!
To Reproduce
merge to main
Expected behaviour
pypi wheels are build and deployed to pypi
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Build wheel on windows (with vcpkg handling dependencies)
The following build steps will build a statically linked 64 bit wheel: Install Visual Studio (Windows SDK, MSBuild, C++/CLI support, C++ build ......
Read more >vcpkg install
Clean all unextracted assets from the downloads/ folder after building each package. All top level files in the downloads/ folder will be deleted....
Read more >Write C++ extensions for Python - Visual Studio (Windows)
This article walks you through building a C++ extension module for CPython that computes a hyperbolic tangent and calls it from Python code....
Read more >Internal compiler error when install angle with vcpkg
Build log will be in: vcpkg\buildtrees\angle\install-x64-windows-dbg-out.log ... try simplifying or changing the program near the locations listed above.
Read more >Day 45b — How to (almost) build a C extension wheel on ...
I looked into how to build C extension wheels on Windows over the weekend. Since there isn't a fastmac equivalent to get a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The workflow was failing earlier saying that it required field ‘baseline’ which was missing (here)
@priyanshuone6 , what was the baseline addition in bfed1b? Looks like this was to fix the macosx builds, but I’m confused as I don’t think macosx uses vcpkg?