From 2d92570d9904783b614a2e218eeef01af679cc014d42518804144b3bdc7cd4fa Mon Sep 17 00:00:00 2001 From: Martin Sirringhaus Date: Fri, 23 Feb 2024 07:27:47 +0000 Subject: [PATCH] Accepting request 1149668 from home:aaronpuchert:llvm-next - Update to version (wasi-sdk-)21. * Compatibility with Clang 18. * Add shared library support. - Drop obsolete ignore-fpclass-macros.patch. OBS-URL: https://build.opensuse.org/request/show/1149668 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/wasi-libc?expand=0&rev=15 --- ignore-fpclass-macros.patch | 13 ------------- wasi-libc-20.tar.gz | 3 --- wasi-libc-21.tar.gz | 3 +++ wasi-libc.changes | 8 ++++++++ wasi-libc.spec | 5 ++--- 5 files changed, 13 insertions(+), 19 deletions(-) delete mode 100644 ignore-fpclass-macros.patch delete mode 100644 wasi-libc-20.tar.gz create mode 100644 wasi-libc-21.tar.gz diff --git a/ignore-fpclass-macros.patch b/ignore-fpclass-macros.patch deleted file mode 100644 index f0d3100..0000000 --- a/ignore-fpclass-macros.patch +++ /dev/null @@ -1,13 +0,0 @@ -Ignore __FPCLASS_* macros that are new with Clang 17. -diff --git a/Makefile b/Makefile -index f350ecb..981da98 100644 ---- a/Makefile -+++ b/Makefile -@@ -702,6 +702,7 @@ check-symbols: startup_files libc - | sed -e 's/__GNUC_VA_LIST $$/__GNUC_VA_LIST 1/' \ - | grep -v '^#define __\(BOOL\|INT_\(LEAST\|FAST\)\(8\|16\|32\|64\)\|INT\|LONG\|LLONG\|SHRT\)_WIDTH__' \ - | grep -v '^#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_\(1\|2\|4\|8\)' \ -+ | grep -v '^#define __FPCLASS_\(\(NEG\|POS\)\(INF\|NORMAL\|SUBNORMAL\|ZERO\)\|[QS]NAN\)' \ - > "$(SYSROOT_SHARE)/predefined-macros.txt" - - # Check that the computed metadata matches the expected metadata. diff --git a/wasi-libc-20.tar.gz b/wasi-libc-20.tar.gz deleted file mode 100644 index 3187580..0000000 --- a/wasi-libc-20.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a1c09c8c1da62a1ba214254ff4c9db6b60979c00f648a5eae33831d6ee2840e -size 1311597 diff --git a/wasi-libc-21.tar.gz b/wasi-libc-21.tar.gz new file mode 100644 index 0000000..1f61d9b --- /dev/null +++ b/wasi-libc-21.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a2a3e3b120ba1163c57f34ac79c3de720a8355ee3a753d81f1f0c58c4cf6017 +size 1313865 diff --git a/wasi-libc.changes b/wasi-libc.changes index e541e67..ddd0fce 100644 --- a/wasi-libc.changes +++ b/wasi-libc.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 22 21:05:54 UTC 2024 - Aaron Puchert + +- Update to version (wasi-sdk-)21. + * Compatibility with Clang 18. + * Add shared library support. +- Drop obsolete ignore-fpclass-macros.patch. + ------------------------------------------------------------------- Tue Feb 20 15:16:08 UTC 2024 - Dominique Leuenberger diff --git a/wasi-libc.spec b/wasi-libc.spec index d3d2e53..473c8a2 100644 --- a/wasi-libc.spec +++ b/wasi-libc.spec @@ -1,7 +1,7 @@ # # spec file for package wasi-libc # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: wasi-libc -Version: 20 +Version: 21 Release: 0 Summary: WASI libc implementation for WebAssembly # FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses @@ -26,7 +26,6 @@ URL: https://github.com/WebAssembly/wasi-libc Source: https://github.com/WebAssembly/wasi-libc/archive/refs/tags/wasi-sdk-%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: wasi-libc-rpmlintrc Patch1: workaround-broken-makefile.patch -Patch2: ignore-fpclass-macros.patch BuildRequires: clang > 10 BuildRequires: llvm > 10 BuildArch: noarch