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

Windows arm64 support #2915

Merged
merged 9 commits into from
Dec 9, 2020
Merged

Windows arm64 support #2915

merged 9 commits into from
Dec 9, 2020

Commits on Nov 9, 2020

  1. compat/bswap.h: simplify MSVC endianness detection

    Modern MSVC or Windows versions don't support big-endian, so it's
    unnecessary to consider architectures when using it.
    
    This also makes ARM64 MSVC builds succeed.
    
    Helped-by: brian m. carlson <[email protected]>
    Signed-off-by: Daniel Gurney <[email protected]>
    Signed-off-by: Junio C Hamano <[email protected]>
    dgurney authored and gitster committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    1af265f View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2020

  1. compat/bswap.h: don't assume MSVC is little-endian

    In 1af265f (compat/bswap.h: simplify MSVC endianness
    detection, 2020-11-08) we attempted to simplify code by assuming MSVC
    builds will be for little-endian machines, since only unusably old
    versions of MSVC supported big-endian MIPS and m68k architectures.
    
    However, it's possible that MSVC could be ported to build for a
    big-endian architecture again, so the simplification wasn't as
    future-proof as hoped.
    
    So let's go back to the old way of detecting MSVC, and then checking
    architecture from a list of little-endian architecture macros.
    
    Note that MSVC does not treat ARM64 as bi-endian, so we can safely treat
    it as little-endian.
    
    Helped-by: brian m. carlson <[email protected]>
    Helped-by: Jeff King <[email protected]>
    Helped-by: Johannes Schindelin <[email protected]>
    Helped-by: Junio C Hamano <[email protected]>
    Signed-off-by: Daniel Gurney <[email protected]>
    Signed-off-by: Junio C Hamano <[email protected]>
    dgurney authored and gitster committed Nov 11, 2020
    Configuration menu
    Copy the full SHA
    0c038fc View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2020

  1. Merge branch 'dg/bswap-msvc'

    In preparation for more work to support Windows/ARM64, let's merge the
    fix that already made it into upstream Git.
    
    Signed-off-by: Johannes Schindelin <[email protected]>
    dscho committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    3a907ae View commit details
    Browse the repository at this point in the history
  2. vcxproj: support building Windows/ARM64 binaries

    Signed-off-by: Ian Bearman <[email protected]>
    Signed-off-by: Dennis Ameling <[email protected]>
    Signed-off-by: Johannes Schindelin <[email protected]>
    manbearian authored and dscho committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    2c13a1a View commit details
    Browse the repository at this point in the history
  3. vcbuild: install ARM64 dependencies when building ARM64 binaries

    Co-authored-by: Dennis Ameling <[email protected]>
    Signed-off-by: Ian Bearman <[email protected]>
    Signed-off-by: Dennis Ameling <[email protected]>
    Signed-off-by: Johannes Schindelin <[email protected]>
    2 people authored and dscho committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    7cf15fd View commit details
    Browse the repository at this point in the history
  4. vcbuild: add an option to install individual 'features'

    In this context, a "feature" is a dependency combined with its own
    dependencies.
    
    Signed-off-by: Dennis Ameling <[email protected]>
    Signed-off-by: Johannes Schindelin <[email protected]>
    manbearian authored and dscho committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    ffdb331 View commit details
    Browse the repository at this point in the history
  5. cmake: allow building for Windows/ARM64

    Signed-off-by: Dennis Ameling <[email protected]>
    Signed-off-by: Johannes Schindelin <[email protected]>
    dennisameling authored and dscho committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    2a87a2f View commit details
    Browse the repository at this point in the history
  6. ci(vs-build) also build Windows/ARM64 artifacts

    There are no Windows/ARM64 agents in GitHub Actions yet, therefore we
    just skip adjusting the `vs-test` job for now.
    
    Signed-off-by: Dennis Ameling <[email protected]>
    Signed-off-by: Johannes Schindelin <[email protected]>
    dennisameling authored and dscho committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    763cd24 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2020

  1. Add schannel to curl installation

    Signed-off-by: Dennis Ameling <[email protected]>
    dennisameling committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    d4e8297 View commit details
    Browse the repository at this point in the history