jussilehtola pushed to openblas (f22). "Update CMake config directory."

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Mar 25 21:41:29 UTC 2015


>From 3ec348841d6bf6ebec8ed27485b371c0d20368c0 Mon Sep 17 00:00:00 2001
From: Susi Lehtola <jussilehtola at fedoraproject.org>
Date: Wed, 25 Mar 2015 21:47:20 +0100
Subject: Update CMake config directory.


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}
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/openblas.git/commit/?h=f22&id=3ec348841d6bf6ebec8ed27485b371c0d20368c0


More information about the scm-commits mailing list