Skip to content

Conversation

ouni666
Copy link
Contributor

@ouni666 ouni666 commented Sep 23, 2025

Topic Description

0ad: update to 0.27.1
Co-authored-by: Wenbin Fang (@ouni666 ) [email protected]

Package(s) Affected

0ad: 0.27.1

Security Update?

NO

Build Order

#buildit 0ad

Test Build(s) Done

Primary Architectures

  • AMD64 amd64
  • AArch64 arm64
  • LoongArch 64-bit loongarch64

Secondary Architectures

  • Loongson 3 loongson3
  • PowerPC 64-bit (Little Endian) ppc64el
  • RISC-V 64-bit riscv64

@ouni666 ouni666 requested review from aosc-buildit-bot, liushuyu, RedL0tus and prcups and removed request for aosc-buildit-bot September 23, 2025 02:58
@MingcongBai MingcongBai added the upgrade Topic/issue involves a package upgrade label Sep 23, 2025
@MingcongBai MingcongBai marked this pull request as draft September 24, 2025 10:30
@ouni666
Copy link
Contributor Author

ouni666 commented Sep 25, 2025

  1. Waiting for the Premake update to be internally packaged, the new version of Premake now supports PowerPC
  2. At present, the old version of premake included in the package may have unsupported architecture information. The new version of source code already includes the new version of premake, waiting for an official update. Due to strong code correlation, it cannot be easily patched or resolved using system premake.
  3. Additionally, we need to enable different options for different architectures, as nvtt2 only supports x86 and arm64
    if ab_match_arch amd64 || arm64; then
        ./build-source-libs.sh
    else
        ./build-source-libs.sh \
            --without-nvtt
    fi
  1. The following options must be enabled on ppc64el and loongarch64, and whether they are enabled on x86 and arm64 is not affected
    # FIXME: workaround a bug in Mozilla mach build system
    unset RUSTFLAGS
  1. Reference sdl drop survey #12685 change, sdl changed to sdl12 compact. #12685

Excuse me, teacher, should this PR be closed or wait for the new version to be released, or should it only be built for x86 and ARM64

@MingcongBai
Copy link
Member

@ouni666 I'll take over from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upgrade Topic/issue involves a package upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants