Accepting request 1248580 from devel:tools:compiler

- add libcxx-use-shlex-quote.patch to fix build with python 3.13

- Use correct LLVM_HOST_TRIPLE for riscv64
- Rebase llvm-do-not-install-static-libraries.patch.
- Add upstream patch to export compiler-rt FuzzedDataProvider header,
  * compiler-rt-move-fdp.patch
- Drop llvm5-devel-static. llvm5-devel contains shared library with
- Package libLLVMFuzzer
- Use gcc6 on SLE12
- Package license & credits
  * See
- Enable BPF for all arches bsc#1026191
- libc++ must depend on libc++abi
- Disable libcxx/lldb/openmp for SLE fate#319582
- Update rpmlintrc to whitelist libLTO.so
- Re-enable glibc-2.23 patch for Tumbleweed
- Add glibc-2.23-libcxx.patch to fix test failures with glibc 2.23
-  Remove FFI support because its fragile
- Enable OpenMP for x86, x86_64, ppc64 and ppc64le
- Enable all targets on x86, x86_64
- fix build on s390x (one typo in ifarch and one change in filelist)
- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.
- Rename llvm-remove-werror-date-time.patch to
- Require llvm-clang not just clang
- Add libcxxabi-exceptions.patch to fix libcxxabi exception handling
- Remove asan-disable-hugemalloctest.patch and
- build compiler-rt on ppc64 (don't delete it)
- complete ifarchs for s390
- Remove non-existing doc subpackage
- Update to r196371 from release_34 branch

OBS-URL: https://build.opensuse.org/request/show/1248580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2025-02-27 13:49:01 +00:00 committed by Git OBS Bridge
commit 651e287e19
3 changed files with 154 additions and 94 deletions

View File

@ -0,0 +1,52 @@
From d3ce1078186389ce39505f06c2a0100dce9187a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Mon, 27 May 2024 19:26:56 +0200
Subject: [PATCH] [libcxx] [test] Use `shlex.quote()` to fix Python 3.13
compatibility (#93376)
Replace the use of `pipes.quote()` with `shlex.quote()` to fix
compatibility with Python 3.13. The former was always an undocumented
alias to the latter, and the `pipes` module was removed completely in
Python 3.13.
Fixes #93375
---
libcxx/test/libcxx/lit.local.cfg | 5 +++--
libcxx/utils/libcxx/test/dsl.py | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/libcxx/test/libcxx/lit.local.cfg b/libcxx/test/libcxx/lit.local.cfg
index 147367323d4a6d..4467d8070cc708 100644
--- a/libcxx/test/libcxx/lit.local.cfg
+++ b/libcxx/test/libcxx/lit.local.cfg
@@ -1,4 +1,5 @@
# The tests in this directory need to run Python
-import pipes, sys
+import shlex
+import sys
-config.substitutions.append(("%{python}", pipes.quote(sys.executable)))
+config.substitutions.append(("%{python}", shlex.quote(sys.executable)))
diff --git a/libcxx/utils/libcxx/test/dsl.py b/libcxx/utils/libcxx/test/dsl.py
index 387862ae6f496d..7ac66d449b1cf4 100644
--- a/libcxx/utils/libcxx/test/dsl.py
+++ b/libcxx/utils/libcxx/test/dsl.py
@@ -8,8 +8,8 @@
import os
import pickle
-import pipes
import platform
+import shlex
import shutil
import tempfile
@@ -290,7 +290,7 @@ def hasAnyLocale(config, locales):
}
#endif
"""
- return programSucceeds(config, program, args=[pipes.quote(l) for l in locales])
+ return programSucceeds(config, program, args=[shlex.quote(l) for l in locales])
@_memoizeExpensiveOperation(lambda c, flags="": (c.substitutions, c.environment, flags))

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 22 17:12:00 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add libcxx-use-shlex-quote.patch to fix build with python 3.13
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 16 22:38:02 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net> Sat Nov 16 22:38:02 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
@ -468,7 +473,7 @@ Wed Sep 21 21:21:19 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 12 07:29:54 UTC 2022 - Andreas Schwab <schwab@suse.de> Mon Sep 12 07:29:54 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Use correct LLVM_HOST_TRIPLE for riscv64 - Use correct LLVM_HOST_TRIPLE for riscv64
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 6 20:23:14 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net> Tue Sep 6 20:23:14 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
@ -555,7 +560,7 @@ Mon Jul 4 21:29:11 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 14.0.6. - Update to version 14.0.6.
* This release contains bug-fixes for the LLVM 14.0.0 release. * This release contains bug-fixes for the LLVM 14.0.0 release.
This release is API and ABI compatible with 14.0.0. This release is API and ABI compatible with 14.0.0.
- Rebase llvm-do-not-install-static-libraries.patch. - Rebase llvm-do-not-install-static-libraries.patch.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 16 16:44:07 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net> Thu Jun 16 16:44:07 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
@ -1101,9 +1106,9 @@ Sat Jan 11 20:14:12 UTC 2020 - Andreas Schwab <schwab@suse.de>
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 8 15:30:21 UTC 2020 - Jaime Caamaño Ruiz <jcaamano@suse.com> Fri Jan 8 15:30:21 UTC 2020 - Jaime Caamaño Ruiz <jcaamano@suse.com>
- Add upstream patch to export compiler-rt FuzzedDataProvider header, - Add upstream patch to export compiler-rt FuzzedDataProvider header,
required by Envoy 1.12.2: required by Envoy 1.12.2:
* compiler-rt-move-fdp.patch * compiler-rt-move-fdp.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 6 19:31:23 UTC 2020 - Andreas Schwab <schwab@suse.de> Mon Jan 6 19:31:23 UTC 2020 - Andreas Schwab <schwab@suse.de>
@ -1718,7 +1723,7 @@ Fri Oct 13 09:09:15 UTC 2017 - msrb@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 10 12:14:31 UTC 2017 - msrb@suse.com Tue Oct 10 12:14:31 UTC 2017 - msrb@suse.com
- Drop llvm5-devel-static. llvm5-devel contains shared library with - Drop llvm5-devel-static. llvm5-devel contains shared library with
the same content. the same content.
------------------------------------------------------------------- -------------------------------------------------------------------
@ -1803,7 +1808,7 @@ Fri Jun 2 12:42:08 UTC 2017 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 9 08:29:31 UTC 2017 - idonmez@suse.com Tue May 9 08:29:31 UTC 2017 - idonmez@suse.com
- Package libLLVMFuzzer - Package libLLVMFuzzer
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 19 15:08:25 UTC 2017 - dmueller@suse.com Wed Apr 19 15:08:25 UTC 2017 - dmueller@suse.com
@ -1820,18 +1825,18 @@ Wed Apr 5 12:09:39 UTC 2017 - afaerber@suse.de
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 4 09:14:41 UTC 2017 - idonmez@suse.com Tue Apr 4 09:14:41 UTC 2017 - idonmez@suse.com
- Use gcc6 on SLE12 - Use gcc6 on SLE12
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 30 11:33:27 UTC 2017 - idonmez@suse.com Thu Mar 30 11:33:27 UTC 2017 - idonmez@suse.com
- Package license & credits - Package license & credits
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 27 07:58:36 UTC 2017 - idonmez@suse.com Mon Mar 27 07:58:36 UTC 2017 - idonmez@suse.com
- Update to version 4.0.0 - Update to version 4.0.0
* See * See
+ http://releases.llvm.org/4.0.0/docs/ReleaseNotes.html and + http://releases.llvm.org/4.0.0/docs/ReleaseNotes.html and
+ http://releases.llvm.org/4.0.0/tools/clang/docs/ReleaseNotes.html + http://releases.llvm.org/4.0.0/tools/clang/docs/ReleaseNotes.html
+ http://releases.llvm.org/4.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html + http://releases.llvm.org/4.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
@ -1847,12 +1852,12 @@ Mon Mar 27 07:58:36 UTC 2017 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 24 13:26:11 UTC 2017 - idonmez@suse.com Fri Feb 24 13:26:11 UTC 2017 - idonmez@suse.com
- Enable BPF for all arches bsc#1026191 - Enable BPF for all arches bsc#1026191
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 25 12:06:36 UTC 2017 - idonmez@suse.com Wed Jan 25 12:06:36 UTC 2017 - idonmez@suse.com
- libc++ must depend on libc++abi - libc++ must depend on libc++abi
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 25 10:13:44 UTC 2017 - idonmez@suse.com Wed Jan 25 10:13:44 UTC 2017 - idonmez@suse.com
@ -2035,17 +2040,17 @@ Wed May 18 13:22:17 UTC 2016 - ronisbr@gmail.com
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 18 11:14:38 UTC 2016 - idonmez@suse.com Wed May 18 11:14:38 UTC 2016 - idonmez@suse.com
- Disable libcxx/lldb/openmp for SLE fate#319582 - Disable libcxx/lldb/openmp for SLE fate#319582
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 25 07:25:22 UTC 2016 - idonmez@suse.com Mon Apr 25 07:25:22 UTC 2016 - idonmez@suse.com
- Update rpmlintrc to whitelist libLTO.so - Update rpmlintrc to whitelist libLTO.so
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 11 08:45:56 UTC 2016 - idonmez@suse.com Mon Apr 11 08:45:56 UTC 2016 - idonmez@suse.com
- Re-enable glibc-2.23 patch for Tumbleweed - Re-enable glibc-2.23 patch for Tumbleweed
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 10 19:18:41 UTC 2016 - dmueller@suse.com Sun Apr 10 19:18:41 UTC 2016 - dmueller@suse.com
@ -2086,22 +2091,22 @@ Tue Mar 8 18:52:11 UTC 2016 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 2 09:08:12 UTC 2016 - idonmez@suse.com Wed Mar 2 09:08:12 UTC 2016 - idonmez@suse.com
- Add glibc-2.23-libcxx.patch to fix test failures with glibc 2.23 - Add glibc-2.23-libcxx.patch to fix test failures with glibc 2.23
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 3 17:00:28 UTC 2015 - mimi.vx@gmail.com Sat Oct 3 17:00:28 UTC 2015 - mimi.vx@gmail.com
- Remove FFI support because its fragile - Remove FFI support because its fragile
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 27 12:03:57 UTC 2015 - idonmez@suse.com Sun Sep 27 12:03:57 UTC 2015 - idonmez@suse.com
- Enable OpenMP for x86, x86_64, ppc64 and ppc64le - Enable OpenMP for x86, x86_64, ppc64 and ppc64le
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 14 13:10:49 UTC 2015 - idonmez@suse.com Mon Sep 14 13:10:49 UTC 2015 - idonmez@suse.com
- Enable all targets on x86, x86_64 - Enable all targets on x86, x86_64
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 2 08:14:39 UTC 2015 - idonmez@suse.com Wed Sep 2 08:14:39 UTC 2015 - idonmez@suse.com
@ -2115,7 +2120,7 @@ Wed Sep 2 08:14:39 UTC 2015 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 26 11:54:49 CEST 2015 - ro@suse.de Tue May 26 11:54:49 CEST 2015 - ro@suse.de
- fix build on s390x (one typo in ifarch and one change in filelist) - fix build on s390x (one typo in ifarch and one change in filelist)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 25 13:59:37 UTC 2015 - idonmez@suse.com Mon May 25 13:59:37 UTC 2015 - idonmez@suse.com
@ -2126,7 +2131,7 @@ Mon May 25 13:59:37 UTC 2015 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 24 12:19:33 UTC 2015 - idonmez@suse.com Fri Apr 24 12:19:33 UTC 2015 - idonmez@suse.com
- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs. - Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 2 10:12:32 UTC 2015 - idonmez@suse.com Mon Mar 2 10:12:32 UTC 2015 - idonmez@suse.com
@ -2168,7 +2173,7 @@ Tue Oct 21 08:39:22 UTC 2014 - dmueller@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 29 09:40:52 UTC 2014 - idonmez@suse.com Mon Sep 29 09:40:52 UTC 2014 - idonmez@suse.com
- Rename llvm-remove-werror-date-time.patch to - Rename llvm-remove-werror-date-time.patch to
llvm-remove-clang-only-flags.patch and remove more clang only llvm-remove-clang-only-flags.patch and remove more clang only
flags. flags.
@ -2180,7 +2185,7 @@ Fri Sep 26 08:54:08 UTC 2014 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 25 10:16:50 UTC 2014 - idonmez@suse.com Thu Sep 25 10:16:50 UTC 2014 - idonmez@suse.com
- Require llvm-clang not just clang - Require llvm-clang not just clang
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 17 11:01:31 UTC 2014 - idonmez@suse.com Wed Sep 17 11:01:31 UTC 2014 - idonmez@suse.com
@ -2211,9 +2216,9 @@ Thu Sep 4 12:26:10 UTC 2014 - idonmez@suse.com
* Major update, see http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html * Major update, see http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html
- Use upstream pristine tarballs - Use upstream pristine tarballs
- Add libc++/libc++abi support clang (only on x86_64) - Add libc++/libc++abi support clang (only on x86_64)
- Add libcxxabi-exceptions.patch to fix libcxxabi exception handling - Add libcxxabi-exceptions.patch to fix libcxxabi exception handling
- Add libcxx-libdir.patch to fix libdir on 64bit arches - Add libcxx-libdir.patch to fix libdir on 64bit arches
- Remove asan-disable-hugemalloctest.patch and - Remove asan-disable-hugemalloctest.patch and
cmake-patchversion.patch, fixed upstream. cmake-patchversion.patch, fixed upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
@ -2248,7 +2253,7 @@ Sat Jun 21 13:40:52 UTC 2014 - arnaud@versini.eu
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 13 10:44:33 UTC 2014 - peter.trommler@ohm-hochschule.de Tue May 13 10:44:33 UTC 2014 - peter.trommler@ohm-hochschule.de
- build compiler-rt on ppc64 (don't delete it) - build compiler-rt on ppc64 (don't delete it)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 3 11:58:28 UTC 2014 - idonmez@suse.com Thu Apr 3 11:58:28 UTC 2014 - idonmez@suse.com
@ -2259,12 +2264,12 @@ Thu Apr 3 11:58:28 UTC 2014 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 22 18:18:57 CET 2014 - ro@suse.de Sat Feb 22 18:18:57 CET 2014 - ro@suse.de
- complete ifarchs for s390 - complete ifarchs for s390
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 24 13:15:48 UTC 2014 - idonmez@suse.com Fri Jan 24 13:15:48 UTC 2014 - idonmez@suse.com
- Remove non-existing doc subpackage - Remove non-existing doc subpackage
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 24 09:23:08 UTC 2014 - idonmez@suse.com Fri Jan 24 09:23:08 UTC 2014 - idonmez@suse.com
@ -2344,7 +2349,7 @@ Wed Dec 4 13:33:55 UTC 2013 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 4 10:07:59 UTC 2013 - idonmez@suse.com Wed Dec 4 10:07:59 UTC 2013 - idonmez@suse.com
- Update to r196371 from release_34 branch - Update to r196371 from release_34 branch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 4 03:27:29 UTC 2013 - termim@gmail.com Wed Dec 4 03:27:29 UTC 2013 - termim@gmail.com
@ -2383,7 +2388,7 @@ Thu Oct 17 10:23:32 UTC 2013 - schwab@suse.de
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 9 11:16:08 UTC 2013 - dmueller@suse.com Wed Oct 9 11:16:08 UTC 2013 - dmueller@suse.com
- use %arm, not arm in arch conditions - use %arm, not arm in arch conditions
- add arm-remove-xfails.diff: remove XFAILs in testsuite - add arm-remove-xfails.diff: remove XFAILs in testsuite
that pass and thereby make check fail that pass and thereby make check fail
@ -2407,7 +2412,7 @@ Wed Aug 28 11:07:16 UTC 2013 - schwab@suse.de
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 28 11:02:06 UTC 2013 - idonmez@suse.com Wed Aug 28 11:02:06 UTC 2013 - idonmez@suse.com
- Add s390x support - Add s390x support
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 28 10:57:32 UTC 2013 - idonmez@suse.com Wed Aug 28 10:57:32 UTC 2013 - idonmez@suse.com
@ -2428,24 +2433,24 @@ Thu Aug 22 10:59:28 UTC 2013 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 21 11:04:35 UTC 2013 - idonmez@suse.com Wed Aug 21 11:04:35 UTC 2013 - idonmez@suse.com
- Only enable PowerPC on ppc64 - Only enable PowerPC on ppc64
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 12 16:43:26 UTC 2013 - idonmez@suse.com Mon Aug 12 16:43:26 UTC 2013 - idonmez@suse.com
- Disable shared libs on PowerPC - Disable shared libs on PowerPC
- Disable ARCMT, it only makes sense for iOS/OSX - Disable ARCMT, it only makes sense for iOS/OSX
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 6 05:51:46 UTC 2013 - idonmez@suse.com Tue Aug 6 05:51:46 UTC 2013 - idonmez@suse.com
- Fix build - Fix build
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 17 12:54:40 UTC 2013 - idonmez@suse.com Wed Jul 17 12:54:40 UTC 2013 - idonmez@suse.com
- Disable building unit-tests, should fix undefined reference - Disable building unit-tests, should fix undefined reference
problem on ARM & PowerPC problem on ARM & PowerPC
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 16 08:35:00 UTC 2013 - coolo@suse.com Tue Jul 16 08:35:00 UTC 2013 - coolo@suse.com
@ -2510,7 +2515,7 @@ Tue May 14 11:23:07 UTC 2013 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 9 09:05:41 UTC 2013 - idonmez@suse.com Thu May 9 09:05:41 UTC 2013 - idonmez@suse.com
- Add unreachable-code.patch to fix unreachable code warnings on SLE - Add unreachable-code.patch to fix unreachable code warnings on SLE
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 8 08:56:28 UTC 2013 - idonmez@suse.com Wed May 8 08:56:28 UTC 2013 - idonmez@suse.com
@ -2538,7 +2543,7 @@ Wed Jan 16 18:38:01 UTC 2013 - llunak@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 11 11:56:09 UTC 2013 - idonmez@suse.com Fri Jan 11 11:56:09 UTC 2013 - idonmez@suse.com
- Add pre-generated doc files, remove sphinx dependency - Add pre-generated doc files, remove sphinx dependency
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 8 15:16:56 UTC 2013 - llunak@suse.com Tue Jan 8 15:16:56 UTC 2013 - llunak@suse.com
@ -2615,7 +2620,7 @@ Fri Nov 30 07:27:46 UTC 2012 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 20 08:59:09 UTC 2012 - idonmez@suse.com Tue Nov 20 08:59:09 UTC 2012 - idonmez@suse.com
- Stop excluding ppc64 architecture - Stop excluding ppc64 architecture
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 20 08:25:54 UTC 2012 - idonmez@suse.com Tue Nov 20 08:25:54 UTC 2012 - idonmez@suse.com
@ -2704,12 +2709,12 @@ Mon Jun 18 20:26:51 UTC 2012 - llunak@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 15 09:01:26 UTC 2012 - idonmez@suse.com Tue May 15 09:01:26 UTC 2012 - idonmez@suse.com
- Update to final 3.1 release - Update to final 3.1 release
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 10 11:40:06 UTC 2012 - idonmez@suse.com Thu May 10 11:40:06 UTC 2012 - idonmez@suse.com
- Depend on python-base so we don't pull whole Mesa - Depend on python-base so we don't pull whole Mesa
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 8 08:21:42 UTC 2012 - llunak@suse.com Tue May 8 08:21:42 UTC 2012 - llunak@suse.com
@ -2751,74 +2756,74 @@ Thu Apr 26 10:55:02 UTC 2012 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 25 09:40:32 UTC 2012 - idonmez@suse.com Wed Apr 25 09:40:32 UTC 2012 - idonmez@suse.com
- More fixes to llvm-config - More fixes to llvm-config
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 24 10:12:32 UTC 2012 - idonmez@suse.com Tue Apr 24 10:12:32 UTC 2012 - idonmez@suse.com
- Fix llvm-config --libs output - Fix llvm-config --libs output
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 22 19:24:24 UTC 2012 - idonmez@suse.com Sun Apr 22 19:24:24 UTC 2012 - idonmez@suse.com
- Update to svn revision 155320 from 3.1 branch - Update to svn revision 155320 from 3.1 branch
* AVX fixes * AVX fixes
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 17 07:48:50 UTC 2012 - idonmez@suse.com Tue Apr 17 07:48:50 UTC 2012 - idonmez@suse.com
- Update to svn revision 154914 from 3.1 branch - Update to svn revision 154914 from 3.1 branch
Major new features: Major new features:
* AddressSanitizer, a fast memory error detector. * AddressSanitizer, a fast memory error detector.
* MachineInstr Bundles, Support to model instruction * MachineInstr Bundles, Support to model instruction
bundling / packing. bundling / packing.
* ARM Integrated Assembler, A full featured assembler * ARM Integrated Assembler, A full featured assembler
and direct-to-object support for ARM. and direct-to-object support for ARM.
* Basic Block Placement Probability driven basic block placement. * Basic Block Placement Probability driven basic block placement.
LLVM IR and Core Improvements LLVM IR and Core Improvements
* IR support for half float * IR support for half float
* IR support for vectors of pointers, including vector GEPs. * IR support for vectors of pointers, including vector GEPs.
* Module flags have been introduced. * Module flags have been introduced.
* Loads can now have range metadata attached to them to * Loads can now have range metadata attached to them to
describe the possible values being loaded. describe the possible values being loaded.
* Inline cost heuristics have been completely overhauled * Inline cost heuristics have been completely overhauled
and now closely model constant propagation through call sites, and now closely model constant propagation through call sites,
disregard trivially dead code costs, and disregard trivially dead code costs, and
can model C++ STL iterator patterns. can model C++ STL iterator patterns.
Optimizer Improvements Optimizer Improvements
* The loop unroll pass now is able to unroll loops with * The loop unroll pass now is able to unroll loops with
run-time trip counts. This feature is turned off by default, run-time trip counts. This feature is turned off by default,
and is enabled with the -unroll-runtime flag. and is enabled with the -unroll-runtime flag.
* A new basic-block autovectorization pass is available. * A new basic-block autovectorization pass is available.
Pass -vectorize to run this pass along with some associated Pass -vectorize to run this pass along with some associated
post-vectorization cleanup passes. post-vectorization cleanup passes.
X86-32 and X86-64 Target Improvements X86-32 and X86-64 Target Improvements
* Bug fixes and improved support for AVX1 * Bug fixes and improved support for AVX1
* Support for AVX2 (still incomplete at this point) * Support for AVX2 (still incomplete at this point)
ARM Target Improvements ARM Target Improvements
* The constant island pass now supports basic block and * The constant island pass now supports basic block and
constant pool entry alignments greater than 4 bytes. constant pool entry alignments greater than 4 bytes.
Clang Changes Clang Changes
* New: -Wdangling-else, -Wstrncat-size * New: -Wdangling-else, -Wstrncat-size
* Improved: -Wformat, -Wempty-body, -Wliteral-conversion * Improved: -Wformat, -Wempty-body, -Wliteral-conversion
* Clang 3.1 adds support for anonymous structs and anonymous unions, * Clang 3.1 adds support for anonymous structs and anonymous unions,
added in the latest ISO C standard. Use -std=c11 or -std=gnu11 added in the latest ISO C standard. Use -std=c11 or -std=gnu11
to enable support for the new language standard. to enable support for the new language standard.
The new C11 features are backwards-compatible and are available The new C11 features are backwards-compatible and are available
as an extension in all language modes. as an extension in all language modes.
* All warning and language selection flags which previously accepted * All warning and language selection flags which previously accepted
c1x have been updated to accept c11. The old c1x forms have been removed. c1x have been updated to accept c11. The old c1x forms have been removed.
* Generalized constant expressions * Generalized constant expressions
* Lambda expressions * Lambda expressions
@ -2827,22 +2832,22 @@ Tue Apr 17 07:48:50 UTC 2012 - idonmez@suse.com
* User-defined literals * User-defined literals
* Forward-declared enumerations * Forward-declared enumerations
* Atomics (both libc++'s and libstdc++4.7's <atomic> are supported) * Atomics (both libc++'s and libstdc++4.7's <atomic> are supported)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 20 12:40:27 UTC 2012 - idonmez@suse.com Tue Mar 20 12:40:27 UTC 2012 - idonmez@suse.com
- Target i586-linux for 32bit builds - Target i586-linux for 32bit builds
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 27 21:33:48 UTC 2011 - idonmez@suse.com Tue Dec 27 21:33:48 UTC 2011 - idonmez@suse.com
- Add upstream fix for llvm PR11642 - Add upstream fix for llvm PR11642
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Dec 25 15:29:46 UTC 2011 - idonmez@suse.com Sun Dec 25 15:29:46 UTC 2011 - idonmez@suse.com
- Don't run gcc for ada files, just fail instead. - Don't run gcc for ada files, just fail instead.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 22 15:33:24 UTC 2011 - idonmez@suse.com Thu Dec 22 15:33:24 UTC 2011 - idonmez@suse.com
@ -2853,12 +2858,12 @@ Thu Dec 22 15:33:24 UTC 2011 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 5 13:19:22 UTC 2011 - idoenmez@suse.de Mon Dec 5 13:19:22 UTC 2011 - idoenmez@suse.de
- Switch to 3-stage bootstrap - Switch to 3-stage bootstrap
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 2 12:22:07 UTC 2011 - idoenmez@suse.de Fri Dec 2 12:22:07 UTC 2011 - idoenmez@suse.de
- Build first stage compiler with -O0 to workaround gcc 4.5 bug - Build first stage compiler with -O0 to workaround gcc 4.5 bug
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 1 18:04:15 UTC 2011 - idoenmez@suse.de Thu Dec 1 18:04:15 UTC 2011 - idoenmez@suse.de
@ -2880,7 +2885,7 @@ Wed Nov 16 14:28:17 UTC 2011 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 10 14:54:50 UTC 2011 - idonmez@suse.com Thu Nov 10 14:54:50 UTC 2011 - idonmez@suse.com
- Disable ARM support, VM goes out of memory while compiling it - Disable ARM support, VM goes out of memory while compiling it
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 10 10:33:01 UTC 2011 - idonmez@suse.com Thu Nov 10 10:33:01 UTC 2011 - idonmez@suse.com
@ -2897,12 +2902,12 @@ Mon Nov 7 15:05:52 UTC 2011 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 7 09:17:40 UTC 2011 - idonmez@suse.com Mon Nov 7 09:17:40 UTC 2011 - idonmez@suse.com
- Fix LLVMgold.so path for x86-64 - Fix LLVMgold.so path for x86-64
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 6 22:03:12 UTC 2011 - idonmez@suse.com Sun Nov 6 22:03:12 UTC 2011 - idonmez@suse.com
- Enable ld gold support - Enable ld gold support
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 1 11:31:57 UTC 2011 - idonmez@suse.com Tue Nov 1 11:31:57 UTC 2011 - idonmez@suse.com
@ -2913,12 +2918,12 @@ Tue Nov 1 11:31:57 UTC 2011 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 28 20:54:16 UTC 2011 - idonmez@suse.com Fri Oct 28 20:54:16 UTC 2011 - idonmez@suse.com
- Add llvm-pr9614-part{1,2}.patch to fix LLVM PR9614 - Add llvm-pr9614-part{1,2}.patch to fix LLVM PR9614
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 28 08:23:03 UTC 2011 - idonmez@suse.com Fri Oct 28 08:23:03 UTC 2011 - idonmez@suse.com
- Fixup dependencies so that llvm-clang doesn't depend - Fixup dependencies so that llvm-clang doesn't depend
on llvm-clang-devel on llvm-clang-devel
------------------------------------------------------------------- -------------------------------------------------------------------
@ -2936,12 +2941,12 @@ Fri Oct 21 06:57:07 UTC 2011 - idonmez@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 20 17:56:08 UTC 2011 - idonmez@suse.com Thu Oct 20 17:56:08 UTC 2011 - idonmez@suse.com
- Enable ARM code generation - Enable ARM code generation
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 19 15:47:10 UTC 2011 - idonmez@suse.com Wed Oct 19 15:47:10 UTC 2011 - idonmez@suse.com
- Fix libdir on x86_64 - Fix libdir on x86_64
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 18 10:42:09 UTC 2011 - idonmez@suse.com Tue Oct 18 10:42:09 UTC 2011 - idonmez@suse.com
@ -2951,12 +2956,12 @@ Tue Oct 18 10:42:09 UTC 2011 - idonmez@suse.com
* -Wc++98-compat warnings for the lexer * -Wc++98-compat warnings for the lexer
* Add flags for the remaining shift related warnings * Add flags for the remaining shift related warnings
(-Wshift-count-negative, -Wshift-count-overflow). (-Wshift-count-negative, -Wshift-count-overflow).
* Only warn in -Wliteral-conversion if the conversion * Only warn in -Wliteral-conversion if the conversion
loses information loses information
* Added clang_getCompletionAnnotation and * Added clang_getCompletionAnnotation and
clang_getCompletionNumAnnotations to retrieve annotations clang_getCompletionNumAnnotations to retrieve annotations
from completion string. from completion string.
* Add support for -std=gnu90 and -std=c++03, for compatibility * Add support for -std=gnu90 and -std=c++03, for compatibility
with modern gcc. with modern gcc.
- Switch to tar.bz2 and remove xz dependency - Switch to tar.bz2 and remove xz dependency
@ -2998,7 +3003,7 @@ Fri Aug 12 09:22:18 UTC 2011 - idonmez@novell.com
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 3 11:18:31 UTC 2011 - idonmez@novell.com Wed Aug 3 11:18:31 UTC 2011 - idonmez@novell.com
- Update to r136773 - Update to r136773
* Many AVX fixes * Many AVX fixes
* Support for C++0x unicode string and character literals * Support for C++0x unicode string and character literals
@ -3012,19 +3017,19 @@ Tue Jul 19 14:03:21 UTC 2011 - vljn@ovi.com
Mon Jul 11 08:33:59 UTC 2011 - idonmez@novell.com Mon Jul 11 08:33:59 UTC 2011 - idonmez@novell.com
- Update to r134888 - Update to r134888
* Type system rewrite * Type system rewrite
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 9 09:27:17 UTC 2011 - idonmez@novell.com Sat Jul 9 09:27:17 UTC 2011 - idonmez@novell.com
- Update to r134813 - Update to r134813
* Mainly gcc compatibility fixes * Mainly gcc compatibility fixes
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 8 11:31:27 UTC 2011 - idonmez@novell.com Fri Jul 8 11:31:27 UTC 2011 - idonmez@novell.com
- Update to r134698 - Update to r134698
* Up to 80x speed improvements with -Wuninitialized * Up to 80x speed improvements with -Wuninitialized
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 7 11:37:40 UTC 2011 - idonmez@novell.com Thu Jul 7 11:37:40 UTC 2011 - idonmez@novell.com
@ -3033,7 +3038,7 @@ Thu Jul 7 11:37:40 UTC 2011 - idonmez@novell.com
- Disable assertions because they are not thread safe - Disable assertions because they are not thread safe
- Update to r134611 - Update to r134611
* Many C++ fixes and speedups * Many C++ fixes and speedups
* Updates for AVX instruction support * Updates for AVX instruction support
* gcc 4.6.1 support * gcc 4.6.1 support
------------------------------------------------------------------- -------------------------------------------------------------------
@ -3044,19 +3049,19 @@ Sat Jul 2 19:31:38 UTC 2011 - idonmez@novell.com
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 5 14:39:53 UTC 2011 - idonmez@novell.com Sun Jun 5 14:39:53 UTC 2011 - idonmez@novell.com
- Update to r132667 - Update to r132667
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 29 16:34:46 UTC 2011 - idonmez@novell.com Sun May 29 16:34:46 UTC 2011 - idonmez@novell.com
- Update to use cmake buildsystem - Update to use cmake buildsystem
- Remove unmaintained ocaml support - Remove unmaintained ocaml support
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 26 11:01:57 UTC 2011 - idonmez@novell.com Thu May 26 11:01:57 UTC 2011 - idonmez@novell.com
- Drop ocaml support because its unmaintained - Drop ocaml support because its unmaintained
- Update to latest svn revision 132050 - Update to latest svn revision 132050
+ Start of the upcoming 3.0 version + Start of the upcoming 3.0 version
+ Support for gcc 4.6 c++ headers + Support for gcc 4.6 c++ headers
+ Better support for C++0x + Better support for C++0x
@ -3064,7 +3069,7 @@ Thu May 26 11:01:57 UTC 2011 - idonmez@novell.com
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 29 12:07:59 UTC 2011 - idoenmez@novell.com Fri Apr 29 12:07:59 UTC 2011 - idoenmez@novell.com
- Fix ocaml dependency - Fix ocaml dependency
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 7 08:22:48 UTC 2011 - idoenmez@novell.com Thu Apr 7 08:22:48 UTC 2011 - idoenmez@novell.com
@ -3089,7 +3094,7 @@ Mon Mar 7 20:09:51 CET 2011 - jslaby@suse.de
Wed Dec 22 11:41:15 UTC 2010 - dmacvicar@suse.de Wed Dec 22 11:41:15 UTC 2010 - dmacvicar@suse.de
- Do not require specific ffi version but gather the - Do not require specific ffi version but gather the
appropiate one from the distro appropiate one from the distro
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 10 04:57:21 UTC 2010 - reddwarf@opensuse.org Fri Dec 10 04:57:21 UTC 2010 - reddwarf@opensuse.org
@ -3099,7 +3104,7 @@ Fri Dec 10 04:57:21 UTC 2010 - reddwarf@opensuse.org
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 29 10:31:49 UTC 2010 - ismail@namtrac.org Mon Nov 29 10:31:49 UTC 2010 - ismail@namtrac.org
- Fix C include paths - Fix C include paths
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 26 12:48:54 UTC 2010 - ismail@namtrac.org Fri Nov 26 12:48:54 UTC 2010 - ismail@namtrac.org
@ -3107,7 +3112,7 @@ Fri Nov 26 12:48:54 UTC 2010 - ismail@namtrac.org
- Fix header path for openSUSE 11.4 - Fix header path for openSUSE 11.4
- Enabled PIC for x86 for loadable module support - Enabled PIC for x86 for loadable module support
- Enable package tests for llvm and clang - Enable package tests for llvm and clang
- Disable package timestamps to silence an rpmlint warning - Disable package timestamps to silence an rpmlint warning
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 2 00:00:00 UTC 2010 - anschneider@exsuse.de Wed Jun 2 00:00:00 UTC 2010 - anschneider@exsuse.de

View File

@ -431,6 +431,8 @@ Patch29: clang-fix-modules-test-riscv.patch
Patch30: clang-fix-openmp-test-non-x86.patch Patch30: clang-fix-openmp-test-non-x86.patch
# PATCH-FIX-UPSTREAM: Use symbol versioning also for libclang-cpp.so. # PATCH-FIX-UPSTREAM: Use symbol versioning also for libclang-cpp.so.
Patch31: clang-shlib-symbol-versioning.patch Patch31: clang-shlib-symbol-versioning.patch
# PATCH-FIX-UPSTREAM: use shlib.quote to fix Python 3.13 compatibility
Patch32: libcxx-use-shlex-quote.patch
BuildRequires: binutils-devel >= 2.21.90 BuildRequires: binutils-devel >= 2.21.90
BuildRequires: cmake >= 3.13.4 BuildRequires: cmake >= 3.13.4
BuildRequires: fdupes BuildRequires: fdupes
@ -926,6 +928,7 @@ sed -i '/set(LLVM_COMMON_CMAKE_UTILS/ s/CMAKE_CURRENT_SOURCE_DIR/CMAKE_SOURCE_DI
sed -i '\"runtimes/cmake/Modules" s/CMAKE_CURRENT_SOURCE_DIR/CMAKE_SOURCE_DIR/g' libcxx{,abi}-%{_version}.src/CMakeLists.txt sed -i '\"runtimes/cmake/Modules" s/CMAKE_CURRENT_SOURCE_DIR/CMAKE_SOURCE_DIR/g' libcxx{,abi}-%{_version}.src/CMakeLists.txt
pushd libcxx-%{_version}.src pushd libcxx-%{_version}.src
%patch -P 15 -p2 %patch -P 15 -p2
%patch -P 32 -p2
rm test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp rm test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp
rm test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp rm test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp
rm test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp rm test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp