From 3ec348841d6bf6ebec8ed27485b371c0d20368c0 Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Wed, 25 Mar 2015 21:47:20 +0100 Subject: [PATCH] Update CMake config directory. --- openblas.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openblas.spec b/openblas.spec index b89b0d7..6d8efc3 100644 --- a/openblas.spec +++ b/openblas.spec @@ -270,7 +270,7 @@ make -C openmp64 TARGET=CORE2 DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=1 FC=gfor %install rm -rf %{buildroot} # Install serial library and headers -make -C serial USE_THREAD=0 PREFIX=%{buildroot}%{_usr} install +make -C serial USE_THREAD=0 OPENBLAS_LIBRARY_DIR=%{buildroot}%{_libdir} OPENBLAS_INCLUDE_DIR=%{buildroot}%{_includedir}/%name OPENBLAS_BINARY_DIR=%{buildroot}%{_bindir} OPENBLAS_CMAKE_DIR=%{buildroot}%{_libdir}/cmake install # Move include files to package specific directory, so that they don't clash with reference BLAS and LAPACK mkdir %{buildroot}%{_includedir}/%{name}