perf-tools/tau: build additional libTAU without MPI
@@ -128,6 +128,32 @@ fi
%global machine `echo $detectarch`
export CONFIG_ARCH=%{machine}
+./configure \
+ -arch=%{machine} \
+ -prefix=/tmp%{install_path} \
+ -exec-prefix= \
+ -fortran=$fcomp \
+ -iowrapper \
+ -slog2 \
+ -CPUTIME \
+ -PROFILE \
+ -PROFILECALLPATH \
+ -PROFILEPARAM \
+%ifarch x86_64
+ -papi=$PAPI_DIR \
+%endif
+ -pdt=$PDTOOLKIT_DIR \
+ -useropt="%optflags -I$PWD/include -fno-strict-aliasing" \
+ -openmp \
+%if %{compiler_family} != intel
+ -opari \
+%endif
+ -extrashlibopts="-fPIC -L/tmp%{install_path}/lib"
+
+make install
+make exports
+make clean
+
./configure \
-arch=%{machine} \
-prefix=/tmp%{install_path} \
@@ -158,6 +184,7 @@ export CONFIG_ARCH=%{machine}
make install
make exports
+
# move from tmp install dir to %install_path
rm -rf %{buildroot}
# dirname removes the last directory
@@ -286,3 +313,4 @@ EOF
* Wed Feb 22 2017 Adrian Reber <areber@redhat.com> - 2.26-1
- Switching to %%ohpc_compiler macro
+
