Skip to content

Commit

Permalink
rocksdb: fix compilation issue with x86-64-v3 architecture (microsoft…
Browse files Browse the repository at this point in the history
  • Loading branch information
anphel31 authored Apr 29, 2024
1 parent 4b9fed8 commit 71192c4
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions SPECS/rocksdb/rocksdb.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Name: rocksdb
Summary: A library that provides an embeddable, persistent key-value store for fast storage.
Version: 8.9.1
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+ and ASL 2.0 and BSD
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -37,7 +37,12 @@ Development files for %{name}
%build
mkdir build
cd build
%cmake -DPORTABLE=1 ..
%ifarch x86_64
PORTABLE_OPTION=haswell
%else
PORTABLE_OPTION=1
%endif
%cmake -DPORTABLE=$PORTABLE_OPTION ..
make %{?_smp_mflags}

%install
Expand All @@ -58,16 +63,21 @@ make install DESTDIR=%{buildroot}
%{_libdir}/pkgconfig/rocksdb.pc

%changelog
* Mon Apr 29 2024 Andrew Phelps <anphel@microsoft.com> - 8.9.1-2
- Fix build issue with -march=x86-64-v3

* Wed Dec 13 2023 Andrew Phelps <anphel@microsoft.com> - 8.9.1-1
- Upgrade to 8.9.1

* Wed Sep 20 2023 Jon Slobodzian <joslobo@microsoft.com> - 6.26.0-2
- Recompile with stack-protection fixed gcc version (CVE-2023-4039)

* Thu Nov 11 2021 Andrew Phelps <anphel@microsoft.com> 6.26.0-1
- Update to version 6.26.0
* Thu Oct 08 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 6.7.3-2
- Fixed 'Source0' URL.
- License verified.
* Mon Mar 30 2020 Jonathan Chiu <jochi@microsoft.com> 6.7.3-1
- Original version for CBL-Mariner.
* Thu Nov 11 2021 Andrew Phelps <anphel@microsoft.com> 6.26.0-1
- Update to version 6.26.0

* Thu Oct 08 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 6.7.3-2
- Fixed 'Source0' URL.
- License verified.

* Mon Mar 30 2020 Jonathan Chiu <jochi@microsoft.com> 6.7.3-1
- Original version for CBL-Mariner.

0 comments on commit 71192c4

Please sign in to comment.