Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.04 KB

File metadata and controls

31 lines (26 loc) · 1.04 KB

PyBaMM CasADi VCPKG registry

A vcpkg registry providing a portfile for the CasADi package.

See

Installing CasADi from this registry

You need to tell you vcpkg installation to look for sundials port here, instead of the main vcpkg registry. This is achieved using vcpkg-configuration.json file at the root of you vcpkg installation (or project if you're using vcpkg in manifest mode):

{
  "registries": [
    {
      "kind": "git",
      "repository": "https://github.com/pybamm-team/casadi-vcpkg-registry.git",
      "packages": [ "casadi" ]
    }
  ]
}

Next, you can install casadi with

vcpkg install casadi --feature-flags=registries

this will install CasADi, along with the required dependencies.