4 Star 1 Fork 18

src-openEuler/opengauss-dcf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
opengauss-dcf.spec 2.05 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2024-11-05 08:47 . adopt to new cmake macro
Name: DCF
Version: 6.0.0
Release: 10
Summary: A distributed consensus framework library
License: MulanPSL-2.0
URL: https://gitee.com/opengauss/DCF
Source0: %{name}-%{version}.tar.gz
Patch1: DCF-6.0.0-sw.patch
Patch2: DCF-6.0.0-add-riscv64-support.patch
BuildRequires: tar cmake gcc gcc-c++ lz4-devel openssl-devel zstd-devel libboundscheck cjson-devel
%description
DCF is A distributed consensus framework library for openGauss
%prep
%setup -q
%ifarch sw_64
%patch -P1 -p1
%endif
%ifarch riscv64
%patch -P2 -p1
%endif
%build
%define _warning_options %{nil}
%cmake -DCMAKE_BUILD_TYPE=Release -DTEST=OFF -DENABLE_EXPORT_API=OFF
%cmake_build
%install
mkdir -p %{buildroot}/%{_prefix}/include
%ifarch sw_64
mkdir -p %{buildroot}/%{_prefix}/lib
%else
mkdir -p %{buildroot}/%{_prefix}/lib64
%endif
cp src/interface/dcf_interface.h %{buildroot}/%{_prefix}/include
%ifarch sw_64
cp output/lib/libdcf.* %{buildroot}/%{_prefix}/lib
%else
cp output/lib/libdcf.* %{buildroot}/%{_prefix}/lib64
%endif
%files
%{_includedir}/dcf_interface.h
%ifarch sw_64
%{_prefix}/lib/libdcf.so
%else
%{_prefix}/lib64/libdcf.so
%endif
%changelog
* Tue Nov 05 2024 Funda Wang <[email protected]> - 6.0.0-10
- adopt to cmake macro change
* Sat Nov 2 2024 liuheng <[email protected]> - 6.0.0-9
- Update version to 6.0.0
* Mon Oct 28 2024 Funda Wang <[email protected]> - 5.0.1-8
- adopt to cmake macro change
* Mon May 6 2024 liuheng <[email protected]> - 5.0.1-7
- Update version to 5.0.1
* Fri Jul 28 2023 misaka00251 <[email protected]> - 1.0.0-6
- Add riscv64 support
* Mon May 29 2023 huajingyun<[email protected]> - 1.0.0-5
- add loongarch64 support
* Mon Oct 24 2022 wuzx<[email protected]> - 1.0.0-4
- change lib64 to lib when in sw64 architecture
* Thu Jul 28 2022 wuzx<[email protected]> - 1.0.0-3
- add sw64 patch
* Thu Feb 10 2022 zhangxubo <[email protected]> - 1.0.0-2
- #I4T3R3 move library file to /usr/lib64 path.
* Wed Dec 1 2021 zhangxubo <[email protected]> - 1.0.0-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/opengauss-dcf.git
[email protected]:src-openeuler/opengauss-dcf.git
src-openeuler
opengauss-dcf
opengauss-dcf
master

搜索帮助