Skip to content

Commit

Permalink
pmix: update install path to be non-version specific to support indep…
Browse files Browse the repository at this point in the history
…endent

updates with resource managers and MPI stacks (#466).
  • Loading branch information
koomie committed Oct 14, 2017
1 parent c24b600 commit cb4c108
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions components/rms/pmix/SPECS/pmix.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Patch0: singleton.5391e43.patch
BuildRequires: libevent-devel
BuildRequires: lmod-ohpc ohpc-autotools

%global install_path %{OHPC_ADMIN}/%{pname}/%{version}
%global install_path %{OHPC_ADMIN}/%{pname}

%description
The Process Management Interface (PMI) has been used for quite some time as a
Expand Down Expand Up @@ -59,12 +59,6 @@ CFLAGS="%{optflags}" ./configure --prefix=%{install_path}
%install
%{__make} install DESTDIR=${RPM_BUILD_ROOT}

# provide generic link to versioned install path (helpful for use by
# administrative packages like resource managers)

pushd ${RPM_BUILD_ROOT}/%{OHPC_ADMIN}/%{pname}
%{__ln_s} %{version} %{pname}

%{__mkdir_p} ${RPM_BUILD_ROOT}%{OHPC_MODULES}/%{pname}
cat <<EOF > ${RPM_BUILD_ROOT}%{OHPC_MODULES}/%{pname}/%{version}
#%Module1.0#####################################################################
Expand Down

0 comments on commit cb4c108

Please sign in to comment.