Skip to content

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

@tqchen

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.

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