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

Fix windows build #575

Merged
merged 3 commits into from
Dec 2, 2020
Merged

Fix windows build #575

merged 3 commits into from
Dec 2, 2020

Conversation

lgeiger
Copy link
Member

@lgeiger lgeiger commented Dec 2, 2020

This PR fixes a few Windows build issues that we've been ignoring for a while:

  • 78bbc03 prevents
    error C2872: 'Order': ambiguous symbol
    could be 'ruy::Order' or 'tflite::cpu_backend_gemm::Order'
    
  • 8382945 adds compiler flags required for TF 2.4
  • 5e806b0 moves the bazel cache to C:/ to prevent running out of disk space on GitHub actions.

Unfortunately the builds on GitHub Actions still fail with fatal error C1060: compiler is out of heap space while trying to compile some Eigen kernels, but this PR should at least make it possible to manually build for Windows on a larger machine.

@lgeiger lgeiger added the internal-improvement Internal Improvements and Maintenance label Dec 2, 2020
@lgeiger lgeiger requested a review from a team December 2, 2020 12:36
@lgeiger lgeiger merged commit ad3a27b into master Dec 2, 2020
@lgeiger lgeiger deleted the fix-windows-build-2 branch December 2, 2020 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-improvement Internal Improvements and Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants