pmix: Package init

This commit is contained in:
gnaygnil 2020-03-06 18:21:33 +08:00
parent 771c2f308c
commit a5ae7c3185
4 changed files with 89 additions and 73 deletions

View File

@ -1,36 +0,0 @@
# pmix
#### Description
Process management for exascale environments.
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,37 +0,0 @@
# pmix
#### 介绍
Process management for exascale environments.
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

BIN
pmix-3.1.4.tar.bz2 Normal file

Binary file not shown.

89
pmix.spec Normal file
View File

@ -0,0 +1,89 @@
Name: pmix
Version: 3.1.4
Release: 2
Summary: Process Management Interface Exascale (PMIx)
License: BSD
URL: https://pmix.org
Source0: https://github.com/openpmix/openpmix/releases/download/v%{version}/pmix-%{version}.tar.bz2
BuildRequires: autoconf automake flex hwloc-devel libevent-devel libtool munge-devel perl-interpreter
%description
PMI has been used for quite some time as a means of exchanging wireup information needed
for interprocess communication.
%package devel
Summary: Development files for pmix
Requires: pmix = %{version}-%{release}
%description devel
Libraries and header files for developing with pmix.
%package pmi
Summary: Pmix implementation of libpmi and libpmi2
Requires: pmix = %{version}-%{release}
Conflicts: slurm-pmi
%description pmi
The pmix implementation of the libpmi and libpmi2 backward-compatibility libraries.
%package pmi-devel
Summary: Development files for pmix-pmi
Requires: pmix-pmi = %{version}-%{release}
Conflicts: slurm-pmi-devel
%description pmi-devel
The development files for the libpmi and libpmi2 backward-compatibility libraries.
%package tools
Summary: Pmix tools
Requires: pmix = %{version}-%{release}
%description tools
Contains for use with PMIx-based RMs and language-based starters (e.g., mpirun).
%prep
%autosetup -n pmix-%{version}
find src -name \*.l -print -exec touch --no-create {} \;
%build
%{_builddir}/pmix-%{version}/autogen.pl
%configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}/pmix --disable-static \
--disable-silent-rules --enable-shared --enable-pmi-backward-compatibility --with-munge
%make_build
%check
%make_build check
%install
%make_install
%delete_la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig
%files
%doc LICENSE README
%dir %{_datadir}/pmix
%dir %{_libdir}/pmix
%dir %{_sysconfdir}/pmix
%config(noreplace) %{_sysconfdir}/pmix/*.conf
%{_datadir}/pmix/*.txt
%{_libdir}/{libmca_common_dstore.so.1*,libpmix.so.2*,pmix/*.so}
%files devel
%{_datadir}/pmix/*.supp
%{_includedir}/pmix*.h
%{_libdir}/{libmca_common_dstore.so,libpmix.so}
%files pmi
%{_libdir}/{libpmi.so.1*,libpmi2.so.1*}
%files pmi-devel
%{_includedir}/{pmi,pmi2}.h
%{_libdir}/{libpmi.so,libpmi2.so}
%files tools
%{_bindir}/*
%changelog
* Wed Mar 4 2020 Ling Yang <lingyang2@huawei.com> - 3.1.4-2
- Package Init