diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-01-17 10:10:34 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-01-17 10:10:34 +0000 |
| commit | aea033b9b8c3fd6ab2b362c9ffb87c85a0fb2625 (patch) | |
| tree | 6845b2f250d4cb9f61ffc206cf8c7b2f0d6c1649 /0001-fix-build-error-for-loongarch64.patch | |
| parent | 6333e633b06f17390138604211a6031cf74c63ed (diff) | |
automatic import of rustopeneuler24.03_LTS_SP1
Diffstat (limited to '0001-fix-build-error-for-loongarch64.patch')
| -rw-r--r-- | 0001-fix-build-error-for-loongarch64.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/0001-fix-build-error-for-loongarch64.patch b/0001-fix-build-error-for-loongarch64.patch new file mode 100644 index 0000000..4acb4e8 --- /dev/null +++ b/0001-fix-build-error-for-loongarch64.patch @@ -0,0 +1,11 @@ +--- a/vendor/compiler_builtins-0.1.123/configure.rs ++++ b/vendor/compiler_builtins-0.1.123/configure.rs +@@ -72,6 +72,8 @@ pub fn configure_f16_f128(target: &Target) { + "sparc" | "sparcv9" => (true, false), + // `f16` miscompiles <https://github.com/llvm/llvm-project/issues/96438> + "wasm32" | "wasm64" => (false, true), ++ "loongarch64" => (false, true), ++ "riscv64" | "riscv64gc" => (false, true), + // Most everything else works as of LLVM 19 + _ => (true, true), + }; |
