question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
priyanshuone6commented, Sep 10, 2021

The workflow was failing earlier saying that it required field ‘baseline’ which was missing (here)

0reactions
martinjrobinscommented, Sep 10, 2021

@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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found