[llvm] update `llvm.spec` (PR #65452)
Shao-Ce SUN via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 6 01:51:17 PDT 2023
https://github.com/sunshaoce updated https://github.com/llvm/llvm-project/pull/65452:
>From 870f83d683d872bbb8471d9202a10be104cef67e Mon Sep 17 00:00:00 2001
From: Shao-Ce SUN <sunshaoce at gmail.com>
Date: Wed, 6 Sep 2023 16:02:07 +0800
Subject: [PATCH 1/2] update `llvm.spec`
---
llvm/llvm.spec.in | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/llvm/llvm.spec.in b/llvm/llvm.spec.in
index 8d6ae755e96048d..1b9561fe65b594b 100644
--- a/llvm/llvm.spec.in
+++ b/llvm/llvm.spec.in
@@ -5,21 +5,20 @@ Summary: LLVM (An Optimizing Compiler Infrastructure)
License: Apache-2.0 with LLVM exception
Vendor: None (open source)
Group: Development/Compilers
-URL: http://llvm..org/
-Source: http://llvm.org/releases/@PACKAGE_VERSION@/@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
+URL: https://llvm.org/
+Source: https://llvm.org/releases/@PACKAGE_VERSION@/@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Requires: /sbin/ldconfig
-BuildRequires: gcc >= 3.4
+BuildRequires: gcc >= 7.4
%description
LLVM is a compiler infrastructure designed for compile-time, link-time, runtime,
and idle-time optimization of programs from arbitrary programming languages.
LLVM is written in C++ and has been developed since 2000 at the University of
-Illinois and Apple. It currently supports compilation of C and C++ programs,
-using front-ends derived from GCC 4.0.1. A new front-end for the C family of
-languages is in development. The compiler infrastructure
-includes mirror sets of programming tools as well as libraries with equivalent
-functionality.
+Illinois and Apple. C-like languages use the Clang front end. This component
+compiles C, C++, Objective C, and Objective C++ code into LLVM bitcode – and
+from there into object files, using LLVM. Other components include: the libc++
+C++ standard library, the LLD linker, and more.
%prep
%setup -q -n @PACKAGE_NAME at -@PACKAGE_VERSION@
@@ -32,7 +31,7 @@ functionality.
--includedir=%{_includedir} \
--libdir=%{_libdir} \
--enable-optimized \
---enable-assertions
+--enable-assertions
make tools-only
%install
@@ -64,5 +63,3 @@ rm -rf %{buildroot}
- Minor adjustments for the 1.5 release
* Mon Feb 09 2003 Brian R. Gaeke
- Initial working version of RPM spec file.
-
-
>From 8dd4a1adc1842e0202cdc53e2a1c81f08986586e Mon Sep 17 00:00:00 2001
From: Shao-Ce SUN <sunshaoce at gmail.com>
Date: Wed, 6 Sep 2023 16:50:21 +0800
Subject: [PATCH 2/2] use GCC_MIN
---
llvm/llvm.spec.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/llvm/llvm.spec.in b/llvm/llvm.spec.in
index 1b9561fe65b594b..048f2703373ce3c 100644
--- a/llvm/llvm.spec.in
+++ b/llvm/llvm.spec.in
@@ -5,11 +5,11 @@ Summary: LLVM (An Optimizing Compiler Infrastructure)
License: Apache-2.0 with LLVM exception
Vendor: None (open source)
Group: Development/Compilers
-URL: https://llvm.org/
+URL: https://llvm.org
Source: https://llvm.org/releases/@PACKAGE_VERSION@/@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Requires: /sbin/ldconfig
-BuildRequires: gcc >= 7.4
+BuildRequires: gcc >= @GCC_MIN@
%description
LLVM is a compiler infrastructure designed for compile-time, link-time, runtime,
More information about the llvm-commits
mailing list