From 995dbb5237f6d12d5988cd58c1b4e910778d7489 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Feb 24 2015 08:53:11 +0000 Subject: Link against ATLAS for improved performance. --- diff --git a/ocaml-gsl.spec b/ocaml-gsl.spec index ee3a0ef..8a3ae99 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,6 +76,10 @@ make install %changelog +* Tue Feb 24 2015 Richard W.M. Jones - 1.18.2-2 +- Link against ATLAS for improved performance. + https://lists.fedoraproject.org/pipermail/devel/2015-February/thread.html#208146 + * Sun Feb 22 2015 Richard W.M. Jones - 1.18.2-1 - New upstream version 1.18.2. - Remove the patch, now upstream.