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

rustc: rework to build using LLVM 18 #9058

Merged
merged 2 commits into from
Dec 25, 2024
Merged

Conversation

MingcongBai
Copy link
Member

@MingcongBai MingcongBai commented Dec 24, 2024

Topic Description

  • rustc: use LLVM 18
    Using LLVM 19 causes great difficulty for packagers as it would require
    all Rust packages to switch to llvm-19. Revert that change since LLVM 18
    can now build Rust 1.83.0 on LoongArch.
  • llvm-18: (loongarch64) backport a patch to fix fp16 usage
    Track patches at AOSC-Tracking/llvm-project @ aosc/llvmorg-18.1.8
    (HEAD: 9e434106e9f837bc338a41838f243b8e4eb14a77)
    Link: [LoongArch] Allow f16 codegen with expansion to libcalls llvm/llvm-project#94456

Package(s) Affected

  • llvm-18: 18.1.8-4
  • llvm-runtime-18: 18.1.8-4
  • rustc: 1:1.83.0-1

Security Update?

No

Build Order

#buildit llvm-18 rustc

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

Track patches at AOSC-Tracking/llvm-project @ aosc/llvmorg-18.1.8
(HEAD: 9e434106e9f837bc338a41838f243b8e4eb14a77)

Link: llvm/llvm-project#94456
@MingcongBai MingcongBai added the rework Topic contains rework of (part of) a previous topic label Dec 24, 2024
@MingcongBai MingcongBai marked this pull request as ready for review December 24, 2024 13:21
Using LLVM 19 causes great difficulty for packagers as it would require
all Rust packages to switch to llvm-19. Revert that change since LLVM 18
can now build Rust 1.83.0 on LoongArch.
@MingcongBai MingcongBai merged commit 901cfb5 into stable Dec 25, 2024
6 checks passed
@MingcongBai MingcongBai deleted the rustc-1.83.0-rework branch December 25, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rework Topic contains rework of (part of) a previous topic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants