On 07/19/10 11:20 PM, Peter Jeremy wrote:
On 2010-Jul-19 00:15:34 +0100, "Dr. David Kirkby"<[email protected]>  
wrote:
Here's a new GNU Scientific library package.

http://boxen.math.washington.edu/home/kirkby/patches/gsl-1.14.spkg

can someone confirm it works on Cygwin. It takes less than a minute to build on
a half-reasonable machine, so it wont take too long.

I think you over-estimate what a "half-reasonable machine" is.  Just
the configure script took over a minute on my fairly new Windoze laptop
and spkg-install took just over 1/4hr.

Having had my whinge...
spkg-check runs successfully on both FreeBSD and Cygwin.


Just tried it on my HP-UX box

-bash-4.0$ uname -a
HP-UX hpbox B.11.11 U 9000/785 2016698240 unlimited-user license

on which one needs to be root to get the CPU speed. In ticks per microsecond.

# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
itick_per_usec:
itick_per_usec: 552

It takes 30 minutes on this relic, but all the GSL tests pass. The shared libraries have the correct .sl extension for the platform.

make[2]: Leaving directory `/home/drkirkby/sage-4.3/spkg/build/gsl-1.14/src'
make[1]: Leaving directory `/home/drkirkby/sage-4.3/spkg/build/gsl-1.14/src'
The self-tests of GSL were successfully passed
Now cleaning up tmp files.
rm: directory /home/drkirkby/sage-4.3/spkg/build/gsl-1.14 not removed. Cannot remove current directory
Making Sage/Python scripts relocatable...
No such file or directory: python
Finished installing gsl-1.14.spkg

real    30m47.515s
user    27m32.320s
sys     2m0.120s


-bash-4.0$ file local/lib/libgsl*
local/lib/libgsl.a:     archive file -s800 relocatable library
local/lib/libgsl.la:    commands text
local/lib/libgsl.sl:    PA-RISC1.1 shared library -not stripped
local/lib/libgsl.sl.15: PA-RISC1.1 shared library -not stripped
local/lib/libgsl.sl.15.0:       PA-RISC1.1 shared library -not stripped
local/lib/libgslcblas.a:        archive file -s800 relocatable library
local/lib/libgslcblas.la:       commands text
local/lib/libgslcblas.sl:       PA-RISC1.1 shared library -not stripped
local/lib/libgslcblas.sl.0:     PA-RISC1.1 shared library -not stripped
local/lib/libgslcblas.sl.0.0:   PA-RISC1.1 shared library -not stripped

So if nothing else, this library is quite portable. It's been built and passed all tests on

* Cygwin
* FreeBSD
* HP-UX
* Linux
* OpenSolaris
* OS X
* Solaris

Dave

--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to