comp.lang.ada
 help / color / mirror / Atom feed
From: Jerry <lanceboyle@qwest.net>
Subject: Which GNAT requires LAPACK and BLAS for Ada.Numerics.xxx?
Date: Mon, 12 Jul 2010 19:34:03 -0700 (PDT)
Date: 2010-07-12T19:34:03-07:00	[thread overview]
Message-ID: <5cf5e149-a827-4890-a80b-6ee37109ddca@i19g2000pro.googlegroups.com> (raw)

The PLplot developers need a bit of help with automating their build
process with regard to Ada (GNAT only). They use cmake. As the person
who wrote the Ada binding, I've been asked to get the information.

Currently, cmake has an Ada 2005 flag which if set, with-s and use-s
Ada.Numerics.Long_Real_Arrays which was added in Ada 2005. If the flag
is not set, the binding source code is automatically modified a little
bit so that the 2005-specific stuff is not needed. (The binding only
needs the Vector and Matrix declarations, so this is a lot of work for
such a small benefit, but that's the way things are right now.)

If Ada.Numerics.Long_Real_Arrays is used, it needs to link to lapack
and blas which the PLplot cmake process can be made to handle.

So the questions are:

(1) What is the earliest version of GNAT that requires lapack and blas
if Ada.Numerics.Long_Real_Arrays is referenced? I think it might be
4.3.

(2) Is there an earlier version that has the limited capabilities
required by the Ada binding, specifically, only the declarations for
type Real_Vector is array (Integer range <>) of Real'Base;
type Real_Matrix is array (Integer range <>, Integer range <>)
but which does not require linking lapack and blas?

Thanks,
Jerry



             reply	other threads:[~2010-07-13  2:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13  2:34 Jerry [this message]
2010-07-13  4:12 ` Which GNAT requires LAPACK and BLAS for Ada.Numerics.xxx? John B. Matthews
2010-07-14 13:00   ` Ada novice
2010-07-15  7:46     ` Jerry
2010-07-15 11:16       ` Ludovic Brenta
2010-07-14 13:15 ` Ludovic Brenta
2010-07-15  7:48 ` Jerry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox