Skip to content

[WINDOWS] contrib hook to create dll on windows #524

Description

@tqchen

Currently, we rely on https://github.com/dmlc/tvm/blob/master/python/tvm/contrib/cc.py#L7 to call gcc in the environment to create a shared library that can be loaded later.

This won't work under windows when MSVC is used as the main compiler. It would be great to add a patch to invoke MSVC command line(link.exe or cl.exe) to create the dll library as we did under linux.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions