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

Create multiarch image by cross-compiling Swift package to arm64 #125

Merged
merged 67 commits into from
Aug 2, 2023

Commits on Jan 1, 2023

  1. Configuration menu
    Copy the full SHA
    08d4155 View commit details
    Browse the repository at this point in the history
  2. Use 2-space indent in scripts

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    956005d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0011fc5 View commit details
    Browse the repository at this point in the history
  4. Build arm64 image in CI again

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    96c18d1 View commit details
    Browse the repository at this point in the history
  5. Force scripts to run in bash

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    c4eac68 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7d73cea View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3b6f508 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    105873a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9329e12 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7460baf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1a68836 View commit details
    Browse the repository at this point in the history
  12. Install the native target toolchain to get the Swift libraries

    ...for cross-compilation.
    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    006e1f0 View commit details
    Browse the repository at this point in the history
  13. Fix ARG syntax

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    56f4e6b View commit details
    Browse the repository at this point in the history
  14. Renew ARG for second stage

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    ed4807c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    388ad62 View commit details
    Browse the repository at this point in the history
  16. Fix typo

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    83b946c View commit details
    Browse the repository at this point in the history
  17. Set up schroot configuration

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    08a770a View commit details
    Browse the repository at this point in the history
  18. Chroot directly into sysroot

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    85f1ff9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4b6703a View commit details
    Browse the repository at this point in the history
  20. Script chroot properly

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    40e3664 View commit details
    Browse the repository at this point in the history
  21. Remove unused DEBIAN=ON flag

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    8483e74 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    c7d881e View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2089be7 View commit details
    Browse the repository at this point in the history
  24. Fix sysroot path

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    e82b04c View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    9a11317 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    2caeeeb View commit details
    Browse the repository at this point in the history
  27. Output extra flags

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    532c477 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    ca5de65 View commit details
    Browse the repository at this point in the history
  29. Consolidate install and sysroot into single step

    This also avoid unnecessarily installing the dependencies for both the
    build and the target architecture when only the target architecture is
    needed.
    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    478e4fe View commit details
    Browse the repository at this point in the history
  30. Fix typo

    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    38ac19a View commit details
    Browse the repository at this point in the history
  31. Fix double equals operator in Dockerfile

    Some shells seem to only recognize the single-equals variant
    fwcd committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    e69a774 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    3c6f2ae View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2023

  1. Configuration menu
    Copy the full SHA
    662c62f View commit details
    Browse the repository at this point in the history
  2. Use debootstrap directly instead of qemu-debootstrap

    qemu-debootstrap seems to be deprecated
    fwcd committed Jan 2, 2023
    Configuration menu
    Copy the full SHA
    b3f459b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f9ebc4e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    deb61d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    01ca499 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

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

Commits on Jul 6, 2023

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

Commits on Jul 30, 2023

  1. Configuration menu
    Copy the full SHA
    a3841aa View commit details
    Browse the repository at this point in the history
  2. Bump to 5.8.1-jammy

    fwcd committed Jul 30, 2023
    Configuration menu
    Copy the full SHA
    e588b87 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d021efb View commit details
    Browse the repository at this point in the history
  4. Set workdir earlier

    fwcd committed Jul 30, 2023
    Configuration menu
    Copy the full SHA
    92bf511 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    be190dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    974cd92 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c07d20 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Work around glibc header issue

    fwcd committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    7e0dcf2 View commit details
    Browse the repository at this point in the history
  2. Work around <tgmath.h> issue

    fwcd committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    abdafad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    684ba14 View commit details
    Browse the repository at this point in the history
  4. Use lld as linker

    fwcd committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    6a15b90 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    51e6b57 View commit details
    Browse the repository at this point in the history
  6. Place target sysroot under /usr/local

    ...in order to not interfere with cross-GCC packages.
    fwcd committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    3cd4021 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    80e2a07 View commit details
    Browse the repository at this point in the history
  8. Install cross-GCC instead of installing it natively to the sysroot

    This seems to work better with the Swift cross-linker (lld), since we
    now have a -tools-directory we can point it at.
    fwcd committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    8863b3a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4abaabe View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ebed54f View commit details
    Browse the repository at this point in the history
  11. Fix typo

    fwcd committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    f0d75ed View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f0f441d View commit details
    Browse the repository at this point in the history
  13. Remove libc workaround again

    fwcd committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    fda56af View commit details
    Browse the repository at this point in the history
  14. Only deploy on main

    fwcd committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    5e09f49 View commit details
    Browse the repository at this point in the history
  15. Reorder -tools-directory

    fwcd committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    abf64e0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    36c223b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    486dfe9 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    052c44e View commit details
    Browse the repository at this point in the history
  19. Link target sysroot in runner image

    ...to make sure D2 finds the Swift standard libraries at runtime.
    fwcd committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    5b79129 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8bf4abb View commit details
    Browse the repository at this point in the history
  21. Disable build cache

    The layers are probably too large for this
    fwcd authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    e59ede9 View commit details
    Browse the repository at this point in the history