SHA256
8
0
forked from pool/folly

21 Commits

Author SHA256 Message Date
a9728cce8b Accepting request 1128785 from devel:libraries:c_c++
- update to 2023.11.20.00:
  * Automated release from TagIt

  * no changelog available

OBS-URL: https://build.opensuse.org/request/show/1128785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/folly?expand=0&rev=8
2023-11-26 18:37:36 +00:00
acd3263120 - update to 2023.11.20.00:
* Automated release from TagIt
  * no changelog available

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=21
2023-11-25 19:18:56 +00:00
b2941f02a1 Accepting request 1121654 from devel:libraries:c_c++
- Update to release 2023.10.30

OBS-URL: https://build.opensuse.org/request/show/1121654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/folly?expand=0&rev=7
2023-11-02 19:21:07 +00:00
eaed80d190 - Add arm.diff to unbreak ARMv7 build
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=19
2023-11-01 15:37:48 +00:00
d8ac42c317 - Update to release 2023.10.30
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=18
2023-11-01 13:43:03 +00:00
2efbea2f79 Accepting request 1085016 from devel:libraries:c_c++
- Update to release 2023.05.01

OBS-URL: https://build.opensuse.org/request/show/1085016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/folly?expand=0&rev=6
2023-05-05 13:59:14 +00:00
aeb89cb53d OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=16 2023-05-05 09:38:36 +00:00
64a1edd421 - Update to release 2023.05.01
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=15
2023-05-05 08:13:14 +00:00
57f6edb7b7 Accepting request 1068508 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1068508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/folly?expand=0&rev=5
2023-03-02 22:03:30 +00:00
0963e7edc7 Accepting request 1068314 from home:dirkmueller:Factory
- update to 2023.02.27:
  * no changelog available 

- update to 2022.12.26:
  * no changelog available

- update to 2022.12.12:
  * no changelog available
- drop 0001-Fix-iouring-under-32-bit-linux.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1068314
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=13
2023-03-01 16:49:31 +00:00
c9504d3af7 Accepting request 1000138 from devel:libraries:c_c++
- Update to 2022.08.29
- Add 0001-Fix-iouring-under-32-bit-linux.patch

OBS-URL: https://build.opensuse.org/request/show/1000138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/folly?expand=0&rev=4
2022-08-30 12:49:11 +00:00
00ef25a3e5 - Add 0001-Fix-iouring-under-32-bit-linux.patch
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=11
2022-08-29 22:41:03 +00:00
dce85ff999 do something about the ppc64 failures
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=10
2022-08-29 22:15:45 +00:00
cdb2ee0404 - Update to 2022.08.29
- Add uring.diff

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=9
2022-08-29 13:31:22 +00:00
fc09584645 - Update to 2022.08.22
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=8
2022-08-27 07:34:45 +00:00
6b4b00f6e0 Accepting request 989064 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/989064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/folly?expand=0&rev=3
2022-07-14 14:34:28 +00:00
32f495c354 - Cure rpmlint "E: executable-stack (Badness: 10000)" by
reworking fix-asm-execstack.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=6
2022-07-07 00:13:41 +00:00
d4a994db0b Accepting request 978797 from devel:libraries:c_c++
- Update to release 2022.05.23

OBS-URL: https://build.opensuse.org/request/show/978797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/folly?expand=0&rev=2
2022-05-24 18:31:31 +00:00
1de6cc77c1 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=4 2022-05-24 00:31:02 +00:00
27884b3bfe - Update to release 2022.05.23
- Change fix-asm-execstack.patch to use @progbits, not %progbits.
- Edit fix-asm-execstack.patch and remove hunk for memcpy.S,
  because memcpy.S already has had a @progbits line.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/folly?expand=0&rev=3
2022-05-24 00:30:32 +00:00
5adaf21895 Accepting request 956732 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/956732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/folly?expand=0&rev=1
2022-02-22 20:18:28 +00:00
6 changed files with 101 additions and 48 deletions

22
arm.diff Normal file
View File

@@ -0,0 +1,22 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2023-11-01 16:15:17.230309534 +0100
References: https://sourceware.org/bugzilla/show_bug.cgi?id=31021
---
folly/memcpy.S | 4 ++++
1 file changed, 4 insertions(+)
Index: folly-2023.10.30.00/folly/memcpy.S
===================================================================
--- folly-2023.10.30.00.orig/folly/memcpy.S
+++ folly-2023.10.30.00/folly/memcpy.S
@@ -288,5 +288,9 @@ __folly_memcpy:
#endif
#ifdef __linux__
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
#endif
+#endif

View File

@@ -1,36 +0,0 @@
From: Matthias Gerstner <matthias.gerstner@suse.com>
Date: Mon Jan 31 08:53:38 UTC 2022
Add unconditional section markers to assembler units to avoid the library
getting an executable stack.
Index: folly-2022.01.24.00/folly/memset.S
===================================================================
--- folly-2022.01.24.00.orig/folly/memset.S
+++ folly-2022.01.24.00/folly/memset.S
@@ -18,6 +18,10 @@
#define LABEL(x) .L##x
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
+
.text
.p2align 5, 0x90
.global __folly_memset
Index: folly-2022.01.24.00/folly/memcpy.S
===================================================================
--- folly-2022.01.24.00.orig/folly/memcpy.S
+++ folly-2022.01.24.00/folly/memcpy.S
@@ -70,6 +70,10 @@
* @author Logan Evans <lpe@fb.com>
*/
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
+
#if defined(__AVX2__)
// This threshold is half of L1 cache on a Skylake machine, which means that

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d83e364dd210d04afc345f6def27f22efed2ed4bad32e94dd8b3af51e45654b0
size 3550981

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e8730c52857d44ddbf46a819f588e036d5e6b3f5dcc7129d7bd81c372430d35
size 3939410

View File

@@ -1,3 +1,67 @@
-------------------------------------------------------------------
Sat Nov 25 19:18:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2023.11.20.00:
* Automated release from TagIt
-------------------------------------------------------------------
Wed Nov 1 13:28:43 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2023.10.30
* No changelog was provided
- Add arm.diff to unbreak ARMv7 build
-------------------------------------------------------------------
Fri May 5 08:10:39 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2023.05.01
* Add support for per-write dynamic Cmsgs
* Support dwarf5 version of split dwarf
* Add Blake3 support
- Disable static gtest and static zstd to unfail build
-------------------------------------------------------------------
Tue Feb 28 20:14:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2023.02.27:
* no changelog available
-------------------------------------------------------------------
Mon Jan 2 08:16:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2022.12.26:
* no changelog available
-------------------------------------------------------------------
Sun Dec 18 18:48:05 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2022.12.12:
* no changelog available
- drop 0001-Fix-iouring-under-32-bit-linux.patch (upstream)
-------------------------------------------------------------------
Sat Aug 27 07:30:14 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to 2022.08.29
* No chngelog provided
- Delete fix-asm-execstack.patch (merged)
- Add 0001-Fix-iouring-under-32-bit-linux.patch
-------------------------------------------------------------------
Thu Jul 7 00:12:44 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Cure rpmlint "E: executable-stack (Badness: 10000)" by
reworking fix-asm-execstack.patch
-------------------------------------------------------------------
Tue May 24 00:19:35 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2022.05.23
* No changelog provided
- Change fix-asm-execstack.patch to use @progbits, not %progbits.
- Edit fix-asm-execstack.patch and remove hunk for memcpy.S,
because memcpy.S already has had a @progbits line.
-------------------------------------------------------------------
Tue Feb 15 15:09:53 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package folly
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,23 @@
#
%define lname libfolly-v2022_01_24_00
%define _lto_cflags %nil
%define lname libfolly-v2023_10_30_00
Name: folly
Version: 2022.01.24.00
Version: 2023.11.20.00
Release: 0
Summary: A C++ utility library
License: MIT
URL: https://github.com/facebook/folly
Source: https://github.com/facebook/folly/releases/download/v%version/folly-v%version.tar.gz
Patch1: fix-asm-execstack.patch
Patch1: arm.diff
BuildRequires: binutils-devel
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: double-conversion-devel
BuildRequires: fmt-devel
BuildRequires: gcc-c++
BuildRequires: gflags-devel-static
BuildRequires: gflags-devel
BuildRequires: glog-devel
BuildRequires: libaio-devel
BuildRequires: libboost_context-devel
@@ -49,17 +50,18 @@ BuildRequires: libdwarf-devel-static >= 20170103
%endif
BuildRequires: libevent-devel
BuildRequires: liblz4-devel
BuildRequires: xz-devel
BuildRequires: libsodium-devel
BuildRequires: libunwind-devel
BuildRequires: liburing-devel
BuildRequires: libzstd-devel
BuildRequires: libzstd-devel-static
BuildRequires: lzlib-devel
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: snappy-devel
BuildRequires: xz-devel
BuildRequires: zlib-devel-static
# BE arches
ExcludeArch: %mips ppc64 s390 s390x %sparc
%description
Folly is a C++ utility library developed at Facebook.
@@ -87,8 +89,9 @@ Development files library for folly, a C++ utility library.
# Since its introduction for ABI purposes, PACKAGE_VERSION was never
# again modified *sigh*
#
%cmake -DCMAKE_CXX_FLAGS="%optflags -ffat-lto-objects" \
-DBUILD_SHARED_LIBS:BOOL=ON -DPACKAGE_VERSION="v%version"
%cmake -DCMAKE_CXX_FLAGS="%optflags -ffat-lto-objects -fPIC" \
-DBUILD_SHARED_LIBS:BOOL=ON -DPACKAGE_VERSION="v%version" \
-DCMAKE_LIBRARY_ARCHITECTURE="%_target_cpu"
%cmake_build
%install