Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add windows build support #781

Closed
wants to merge 2 commits into from
Closed

Add windows build support #781

wants to merge 2 commits into from

Commits on Mar 12, 2020

  1. cmake: fix windows build

    Toilal committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    07c02f3 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2020

  1. python: use CMake, make or distutils compiler for libjsonnet build

    This change takes advantage of distutils compiler feature to compile libjsonnet when neither CMake and make are available, or when both CMake and make build are failing.
    
    A fallback strategy to go through this chain of tools (CMake, make, distutils compiler).
    
    This also port stdlib/to_c_array.cpp to pure python to generate std.jsonnet.h.
    
    Python extension can now be build and installed properly on windows and Python 3.5+ when Visual C++ Build Tools are installed.
    
    Windows build on Python 2.7 is still not supported as this version relies on a old version of Visual C++ tools that doesn't support c++11.
    Toilal committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    5475291 View commit details
    Browse the repository at this point in the history