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
This commit is contained in:
parent
1dcb483bf1
commit
be1fc42de0
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 7 05:54:43 UTC 2020 - Manfred Hollstein <manfred.h@gmx.net>
|
||||
|
||||
- Minimum version needed for LLVM is >= 8.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 6 08:26:41 UTC 2020 - Michał Rostecki <mrostecki@suse.com>
|
||||
|
||||
|
10
rust.spec
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user