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

feat: cross-compile to windows msvc #390

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    12c4219 View commit details
    Browse the repository at this point in the history
  2. fix: windows_cc_toolchain_config.bzl

    Some features of this file doesn't seem to have ever been used under
    Windows. E.g. the --sysroot flag when compiling with msvc doesn't exist.
    Also, it was not supported for the user to provide a sysroot anyways.
    f0rmiga committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    bb33d01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bb0ee06 View commit details
    Browse the repository at this point in the history
  4. feat: allow the clang binary to be specified for wrapper

    This allows for picking clang-cl instead of clang.
    f0rmiga committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    b792533 View commit details
    Browse the repository at this point in the history
  5. tmp: render a separate wrapper for clang-cl

    This should be temporary while I don't combine the wrapper for all
    platforms.
    f0rmiga committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    89bad27 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    47ffb22 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    03bb66c View commit details
    Browse the repository at this point in the history
  8. feat: always use lld

    It's been a few years that lld is not experimental anymore.
    The advantage of always using lld is that we don't need to make
    assumptions about cross-compiling.
    f0rmiga committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    e36af1d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    aa75457 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    18430a2 View commit details
    Browse the repository at this point in the history
  11. rename: stdc++ to libstdc++

    The library is not called stdc++, the same way libc++ is not called c++.
    f0rmiga committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    9dbbb3f View commit details
    Browse the repository at this point in the history
  12. refactor: initialize cxx_flags once with stdlib

    Because we now renamed "stdc++" to "libstdc++", we don't need to
    hardcode the stdlib name inside the conditional blocks.
    f0rmiga committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    7fab3e1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    aeae2e4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a04f52a View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    8ca849f View commit details
    Browse the repository at this point in the history