Skip to content

Commit

Permalink
Require hwloc-ohpc for all OSes
Browse files Browse the repository at this point in the history
Require chkconfig for RHEL and openEuler
Point to the PMIx installation path

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Jul 27, 2023
1 parent 729d3b1 commit c714e4c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions components/rms/openpbs/SPECS/openpbs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: libtool-ltdl-devel
BuildRequires: hwloc-ohpc
BuildRequires: hwloc%{PROJ_DELIM}
BuildRequires: pmix%{PROJ_DELIM}
BuildRequires: libX11-devel
BuildRequires: libXt-devel
BuildRequires: libedit-devel
Expand Down Expand Up @@ -139,8 +140,8 @@ Requires: insserv-compat
Requires: smtpdaemon
Requires: hostname
%endif
%if 0%{?rhel} >= 7
Requires: hwloc-ohpc
Requires: hwloc%{PROJ_DELIM}
%if 0%{?rhel} >= 7 || 0%{?openEuler}
Requires: chkconfig
%endif
Requires: libical
Expand Down Expand Up @@ -282,6 +283,7 @@ cd build
PBS_VERSION=%{pbs_version} \
--prefix=%{pbs_prefix} \
--with-hwloc=%{OHPC_LIBS}/hwloc \
--with-pmix=%{OHPC_ADMIN}/pmix \
%if %{with ptl}
--enable-ptl \
%endif
Expand Down

0 comments on commit c714e4c

Please sign in to comment.