1 Star 0 Fork 17

keep-running/OpenAMP

forked from src-openEuler/OpenAMP 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
openamp.spec 2.42 KB
一键复制 编辑 原始数据 按行查看 历史
Name: openamp
Version: 2022.10.1
Release: 6
Summary: Open asymmetric multiprocessing framework
License: BSD-3-Clause
URL: http://github.com/OpenAMP
Source0: https://github.com/OpenAMP/open-amp/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz
Patch0001:0001-apps-Fix-atomic_flag-error-for-clang-compilation.patch
Patch0002:0002-lib-Fix-atomic_flag-error-for-clang-compilation.patch
Patch0003:0001-remoteproc-Fix-management-of-non-loadable-program-se.patch
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libmetal-devel
BuildRequires: libsysfs-devel
%description
The OpenAMP framework provides software components that enable development of
software applications for Asymmetric Multiprocessing (AMP) systems.
%package devel
Summary: Development files for OpenAMP
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development file for OpenAMP
baremetal, and RTOS environments.
%package demos
Summary: Demos for OpenAMP
Requires: %{name}%{?_isa} = %{version}-%{release}
%description demos
Demos for OpenAMP
baremetal, and RTOS environments.
%prep
%autosetup -p1
%build
mkdir build
cd build
%cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
-DCMAKE_INCLUDE_PATH=%{_includedir}/libmetal/ \
-DCMAKE_LIBRARY_PATH=%{_libdir} \
-DMACHINE=generic \
-DWITH_STATIC_LIB=OFF \
-DWITH_PROXY=ON \
-DWITH_APPS=ON ..
%install
cd build
%make_install
%ldconfig_scriptlets
%files
%license LICENSE.md
%doc README.md
%{_libdir}/*.so*
%files devel
%{_includedir}/openamp/
%{_libdir}/libopen_amp.so
%files demos
%{_bindir}/*-shared
%changelog
* Sat Mar 16 2024 hanzongcheng <hanzongcheng@huawei.com> - 2022.10.1-6
- Add patch to fix elf loader bug
* Mon Jun 05 2023 hanzongcheng <hanzongcheng@huawei.com> - 2022.10.1-5
- Keep changlog and release consistent
* Fri March 24 2023 liyunfei <liyunfei33@huawei.com> - 2022.10.1-5
- add patch for clang compile
* Wed March 15 2023 hanzongcheng <hanzongcheng@huawei.com> - 2022.10.1-4
- rename to openamp
* Mon Feb 27 2023 hanzongcheng <hanzongcheng@huawei.com> - 2022.10.1-3
- update to 2022.10.1
* Tue Aug 9 2022 zhangziyang <zhangziyang1@huawei.com> - 2022.04.0-2
- synchronous embedded compilation and packaging options
* Thu Jun 30 2022 luojects <luoyonglun@huawei.com> - 2022.04.0-1
- update to 2022.04.0
* Fri Jun 17 2022 liukuo <liukuo@kylinos.cn> - 2021.10.0-2
- License compliance rectification
* Fri Feb 11 2022 Wayne Ren <renwei41@huawei.com> - 2021.10.0-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/peng-langyuan/OpenAMP.git
git@gitee.com:peng-langyuan/OpenAMP.git
peng-langyuan
OpenAMP
OpenAMP
master

搜索帮助