Skip to content

Commit

Permalink
link other bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
crbaird committed Dec 20, 2016
1 parent 24b9dcb commit 3964421
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/perf-tools/tau/SPECS/tau.spec
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ sed -i "s|/x86_64/lib|/lib|g" $(egrep -IR "/x86_64/lib" %buildroot%{install_path
# replace hard MPI paths with env var
sed -i "s|$MPI_DIR|\$\{MPI_DIR\}|g" $(egrep -IR "$MPI_DIR" %buildroot%{install_path}|awk -F : '{print $1}')

# link other bindings
pushd %{buildroot}%{install_path}/lib
ln -s shared-callpath-param-papi-mpi-pdt-openmp-profile-trace shared-mpi
popd

# OpenHPC module file
%{__mkdir} -p %{buildroot}%{OHPC_MODULEDEPS}/%{compiler_family}-%{mpi_family}/%{pname}
%{__cat} << EOF > %{buildroot}/%{OHPC_MODULEDEPS}/%{compiler_family}-%{mpi_family}/%{pname}/%{version}
Expand Down

0 comments on commit 3964421

Please sign in to comment.