>From 3aaf673d7a9b106a2b79dacbbf7ae41f7fbb129c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sun, 22 Feb 2015 22:08:36 +0000 Subject: [PATCH] Link against ATLAS for improved performance. --- ocaml-gsl.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ocaml-gsl.spec b/ocaml-gsl.spec index ee3a0ef..cedfa42 100644 --- a/ocaml-gsl.spec +++ b/ocaml-gsl.spec @@ -2,7 +2,7 @@ Name: ocaml-gsl Version: 1.18.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Interface to GSL (GNU scientific library) for OCaml License: GPLv2 @@ -17,6 +17,7 @@ BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-camlp4-devel BuildRequires: gsl-devel >= 1.9 BuildRequires: /usr/bin/awk +BuildRequires: atlas-devel %description @@ -40,6 +41,7 @@ developing applications that use %{name}. %build +export GSL_CBLAS_LIB="-lgsl -L%{_libdir}/atlas -lsatlas" make @@ -74,9 +76,10 @@ make install %changelog -* Sun Feb 22 2015 Richard W.M. Jones - 1.18.2-1 +* Sun Feb 22 2015 Richard W.M. Jones - 1.18.2-2 - New upstream version 1.18.2. - Remove the patch, now upstream. +- Link against ATLAS for improved performance. * Tue Feb 17 2015 Richard W.M. Jones - 1.18.1-1 - New upstream version 1.18.1. -- 2.1.0