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

Use vcpkg version of cesium-native #479

Merged
merged 69 commits into from
Aug 16, 2024
Merged

Use vcpkg version of cesium-native #479

merged 69 commits into from
Aug 16, 2024

Commits on Jul 25, 2024

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

Commits on Aug 2, 2024

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

Commits on Aug 5, 2024

  1. Add asyncplusplus overlay port.

    So far it is just a copy of the official vcpkg 2024.02.14 version.
    kring committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    e895874 View commit details
    Browse the repository at this point in the history
  2. Use a version of Async++ with a required fix for C++20 support.

    Specifically this fix:
    Amanieu/asyncplusplus#47
    
    Unfortunately, 2.5 years later, a new official version including that fix still hasn't been released.
    
    This is a copy of cesium-unreal commit:
    CesiumGS/cesium-unreal@d5bb575
    kring committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    e075776 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    abfee34 View commit details
    Browse the repository at this point in the history
  4. Fix UWP build, hopefully.

    kring committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    93648ba View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Configuration menu
    Copy the full SHA
    538fbb8 View commit details
    Browse the repository at this point in the history
  2. Fix zlib-ng build on Android.

    kring committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    41ffcd4 View commit details
    Browse the repository at this point in the history
  3. Bump version to match hash.

    kring committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    2d9e22b View commit details
    Browse the repository at this point in the history
  4. Fix Android build.

    kring committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    068438e View commit details
    Browse the repository at this point in the history
  5. Print Android build log.

    kring committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    77c4563 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Configuration menu
    Copy the full SHA
    3238e59 View commit details
    Browse the repository at this point in the history
  2. Don't crash when there's no Android NDK.

    This is normal for UWP builds.
    kring committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    e3fca36 View commit details
    Browse the repository at this point in the history
  3. Add triplet files for macOS.

    Kevin Ring authored and Kevin Ring committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    40628a9 View commit details
    Browse the repository at this point in the history
  4. Add iOS triplet.

    Kevin Ring authored and Kevin Ring committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    53efd6f View commit details
    Browse the repository at this point in the history
  5. Only build release vcpkg dependencies on macOS too.

    Kevin Ring authored and Kevin Ring committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    4752cb2 View commit details
    Browse the repository at this point in the history
  6. Print macOS log.

    kring committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    00102c7 View commit details
    Browse the repository at this point in the history
  7. Target macOS 10.15.

    10.13 doesn't support std::filesystem::path.
    kring committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    b78b6a7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d8b12ed View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    45ac07b View commit details
    Browse the repository at this point in the history
  10. iOS improvements.

    kring committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    df77ca6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1338bba View commit details
    Browse the repository at this point in the history
  12. Add our modifications to KTX.

    These were copied from cesium-unreal.
    kring committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    1c16f80 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    cd005f4 View commit details
    Browse the repository at this point in the history
  14. Use ktx directly from cesium-unreal.

    At commit 00a26bd8823f3e9b69d86ec584eb4580e601ac1b.
    kring committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    67f21cf View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Configuration menu
    Copy the full SHA
    bd234d1 View commit details
    Browse the repository at this point in the history
  2. Use macos-latest runner and don't force an xcode version.

    This will hopefully fix bitcode conflicts because newer versions of xcode don't do bitcode at all.
    kring committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    21a67a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13fc626 View commit details
    Browse the repository at this point in the history
  4. Make property static.

    kring committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    2b3898b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    672dbb1 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Configuration menu
    Copy the full SHA
    d48f3de View commit details
    Browse the repository at this point in the history
  2. More and better logging.

    kring committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    8d9060a View commit details
    Browse the repository at this point in the history
  3. Account for pernicketyness.

    kring committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    9bda024 View commit details
    Browse the repository at this point in the history
  4. More debugging.

    kring committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    e7a0129 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4ffb869 View commit details
    Browse the repository at this point in the history
  6. Don't try to print WSA log.

    kring committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    c17f561 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6584091 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. Use Ninja to build Android.

    The potentially old and busted make included with the potentially old
    and busted Android NDK fails to build our project because it generates
    command lines that exceed the Windows limit. Ugh. Hopefully Ninja will
    work better.
    kring committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    b53487f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c2ec89 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Add vcpkg caching.

    kring committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    270da43 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Print Android build log again.

    Because it randomly failed.
    kring committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    e819812 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d90ebbe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3974495 View commit details
    Browse the repository at this point in the history
  4. Only include copies of Reinterop-generated code.

    Previously we were assuming all generated code was ours, and including
    it all in the built package. In Unity 2022.3, this assumption no longer
    holds.
    kring committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    7bbde8f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5742086 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ba3d480 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7212179 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b6ab280 View commit details
    Browse the repository at this point in the history
  9. Install correct JDK module, remove non-existent uwp-il2cpp module.

    The JDK module name was deduced by running:
    
    ```
    "C:/Program Files/Unity Hub/Unity Hub.exe" -- --headless install-modules --version 2022.3.41f1 --changeset 0f988161febf --module android android-sdk-ndk-tools android-open-jdk universal-windows-platform uwp-il2cpp
    ```
    
    And replacing android-sdk-ndk-tools with Unity's recommendation.
    kring committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    54c6998 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Publish build logs as artifact.

    kring committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    fd98235 View commit details
    Browse the repository at this point in the history
  2. Fix log path.

    kring committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    bc60225 View commit details
    Browse the repository at this point in the history
  3. Fix CesiumIonSession race condition.

    Sometimes, during the tests, the managed CesiumIonSession could get
    garbage collected before the requests made as part of the "resume"
    completed. Because we were using the corresponding Impl class in the
    continuations, and the Impl class's lifetime is controlled by the
    lifetime of the managed object, this would sometimes cause a crash. The
    solution implemented here is to make sure the continuations also keep
    the managed instance alive. We also check to see if the held managed
    instance becomes nullptr, which handles causes like AppDomain unload.
    kring committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    9e98da2 View commit details
    Browse the repository at this point in the history
  4. Don't specify explicit Unity processor on macOS.

    So hopefully we'll get ARM on ARM.
    kring committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    c5c7f52 View commit details
    Browse the repository at this point in the history
  5. Explicitly specify Unity use arm64 on macOS.

    If we don't specify, it sits there waiting for us to choose.
    kring committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    c6a8437 View commit details
    Browse the repository at this point in the history
  6. Disable Unity audio.

    This will hopefully drastically speed up the macOS build because it
    won't have to wait ages for the audio system to time out.
    kring committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    46fc8ff View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a175d90 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Fix test failures on macOS/ARM.

    kring committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    f94ab7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7cccce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0402763 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #487 from CesiumGS/vcpkg-swl

    Build and CI improvements, building on vcpkg
    kring authored Aug 14, 2024
    Configuration menu
    Copy the full SHA
    1a09665 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    638bd23 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e4fd568 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8a4ed88 View commit details
    Browse the repository at this point in the history
  8. Changes from review.

    kring committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    8f9ab6e View commit details
    Browse the repository at this point in the history
  9. Remove a pointless std::move.

    kring committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    e9de747 View commit details
    Browse the repository at this point in the history
  10. Update CHANGES.md.

    kring committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    aabbee1 View commit details
    Browse the repository at this point in the history
  11. Update cesium-native.

    kring committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    e4f1933 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Update cesium-native.

    kring committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    6034e86 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Update cesium-native.

    kring committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    772619f View commit details
    Browse the repository at this point in the history