[packages/llvm-libcxx] - up to 14.0.6

qboosh qboosh at pld-linux.org
Sat Jun 25 20:43:39 CEST 2022


commit 056ca29dc119ac7046e5f2fa7ecc1167d301c687
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 25 20:45:08 2022 +0200

    - up to 14.0.6

 llvm-libcxx.spec | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/llvm-libcxx.spec b/llvm-libcxx.spec
index 0993e66..ca836e7 100644
--- a/llvm-libcxx.spec
+++ b/llvm-libcxx.spec
@@ -5,25 +5,27 @@
 Summary:	LibC++ - C++ standard library from LLVM project
 Summary(pl.UTF-8):	LibC++ - biblioteka standardowa C++ z projektu LLVM
 Name:		llvm-libcxx
-Version:	12.0.1
+Version:	14.0.6
 Release:	1
 License:	MIT or BSD-like
 Group:		Libraries
 #Source0Download: https://github.com/llvm/llvm-project/releases/
 Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libcxx-%{version}.src.tar.xz
-# Source0-md5:	19fb22504643c4df45cb42a8f9d2f76e
+# Source0-md5:	3d5630a8dcbec623172e57fae890351b
 #Source1Download: https://github.com/llvm/llvm-project/releases/
 Source1:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libcxxabi-%{version}.src.tar.xz
-# Source1-md5:	3a0aa3222404e62faf9b607f2a46fefc
+# Source1-md5:	e56dac07bbcdd6582f673333a3884a2d
 #Source2Download: https://github.com/llvm/llvm-project/releases/
 Source2:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{version}.src.tar.xz
-# Source2-md5:	72a257604efa1d32ef85a37cd9c66873
+# Source2-md5:	80072c6a4be8b9adb60c6aac01f577db
 URL:		https://libcxx.llvm.org/
+# or gcc 10+
+BuildRequires:	clang >= %{version}
 BuildRequires:	cmake >= 3.13.4
 BuildRequires:	python3 >= 1:3
 BuildRequires:	rpmbuild(macros) >= 1.605
 %if %{with gnu}
-BuildRequires:	libstdc++-devel
+BuildRequires:	libstdc++-devel >= 6:10
 %else
 BuildRequires:	llvm-libcxxabi-devel
 %endif
@@ -74,6 +76,11 @@ Statyczna biblioteka LLVM LibC++.
 %{__mv} llvm-%{version}.src llvm
 
 %build
+%if %{without gnu}
+# requires C++20 compiler (clang ? or gcc 10+)
+CC="clang"
+CXX="clang++"
+%endif
 install -d build
 cd build
 libsubdir=%{_lib}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm-libcxx.git/commitdiff/056ca29dc119ac7046e5f2fa7ecc1167d301c687



More information about the pld-cvs-commit mailing list