From be1fc42de09fa311d040a2fe907b22cbfd075350e8e8a82831ad9cd6f8aa9546 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Mon, 10 Aug 2020 13:14:47 +0000 Subject: [PATCH] Accepting request 824836 from home:manfred-h:devel:languages:rust:rust-1.44.1 - Minimum version needed for LLVM is >= 8.0 OBS-URL: https://build.opensuse.org/request/show/824836 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=255 --- rust.changes | 5 +++++ rust.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/rust.changes b/rust.changes index 8d4ca3a..2128f12 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 7 05:54:43 UTC 2020 - Manfred Hollstein + +- Minimum version needed for LLVM is >= 8.0 + ------------------------------------------------------------------- Thu Aug 6 08:26:41 UTC 2020 - MichaƂ Rostecki diff --git a/rust.spec b/rust.spec index 152c561..48531a7 100644 --- a/rust.spec +++ b/rust.spec @@ -68,10 +68,10 @@ %global rustlibdir %{common_libdir}/rustlib # Will build with distro LLVM by default, but the following versions -# do not have a version new enough, >= 6.0 add --without bundled_llvm +# do not have a version new enough, >= 8.0 add --without bundled_llvm # option, i.e. enable bundled_llvm by default Leap 42 to 42.3, SLE12 -# SP1 to SLE12 SP3, Leap 15.0, SLE15 SP0 -%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 150000 +# SP1 to SLE12 SP3, Leap 15.1, SLE15 SP0 +%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 150100 %bcond_without bundled_llvm %endif @@ -165,10 +165,10 @@ BuildRequires: gcc-c++ %if !%{with rust_bootstrap} && 0%{?sle_version} >= 150000 BuildRequires: pkgconfig(libssh2) >= 1.6.0 %endif -# Real LLVM minimum version should be 7.x, but rust has a fallback +# Real LLVM minimum version should be 8.x, but rust has a fallback # mode %if !%with bundled_llvm -BuildRequires: llvm-devel >= 6.0 +BuildRequires: llvm-devel >= 8.0 %endif %if !%with rust_bootstrap # We will now package cargo using the version number of rustc since it