Vasili Burdo on Fri, 18 Dec 2009 07:22:08 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: A patch for native PARI/GP build on Windows (Mingw+Msys)


Bill Allombert wrote:
1) Could you (or someone else) provides a test build system that
would build PARI SVN HEAD with mingw every days and post the result to
<http://pari.math.u-bordeaux.fr/buildlog.html> ?
(If you can provide that, I will give you more detail).
Bill, I don't feel ready to run regular builds :-(
I build GP for myself (I use it as fancy calculator), but do it on very irregular basis - like once in 2-3 months.

2) If not, do you know how to cross-compile it on linux ?
(I have a mingw32 cross-compiler already).
I didn't try to cross-compile it (because I don't have linux box around)

3) Did you try to run "make test-all" or only "make bench" ?
I did test-all. Benchmarks and failed test logs attached.

4) Would the hires plotting also work with Visual C++ ?
It should. However, I didnt try to compile GP with VC

5) Would the Windows console support work with cygwin ?
It should, as soon as functions win32_XXXX() will be available on cygwin - currently they are defined in systems/mingw/mingw.c and thus available for mingw only. I guarded these functions with "#ifdef _WIN32" in es.c. It works well for Mingw, but I cant say the same about Cygwin.
I will try to make cygwin build and we will see.

6) Is gp2c support possible ?
Sure, but I didnt try to compile it. I will.

* Testing analyz 	for gp-sta..TIME=47	for gp-dyn..TIME=31
* Testing apply 	for gp-sta..TIME=46	for gp-dyn..TIME=31
* Testing aurifeuille 	for gp-sta..BUG [62]	for gp-dyn..TIME=62
* Testing bezout 	for gp-sta..TIME=31	for gp-dyn..TIME=15
* Testing bnfisintnorm 	for gp-sta..TIME=749	for gp-dyn..TIME=749
* Testing bnr 	for gp-sta..TIME=62	for gp-dyn..TIME=93
* Testing charpoly 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing combinat 	for gp-sta..TIME=31	for gp-dyn..TIME=15
* Testing compat 	for gp-sta..TIME=282	for gp-dyn..TIME=297
* Testing contfrac 	for gp-sta..TIME=0	for gp-dyn..TIME=15
* Testing ell 	for gp-sta..TIME=11499	for gp-dyn..TIME=11515
* Testing ellglobalred 	for gp-sta..TIME=1890	for gp-dyn..TIME=1906
* Testing elliptic 	for gp-sta..TIME=16	for gp-dyn..TIME=31
* Testing ellsea 	for gp-sta..TIME=22577	for gp-dyn..TIME=22312
* Testing ellweilpairing 	for gp-sta..TIME=93	for gp-dyn..TIME=62
* Testing err 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing exact0 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing extract 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing ff 	for gp-sta..TIME=624	for gp-dyn..TIME=656
* Testing ffisom 	for gp-sta..TIME=499	for gp-dyn..TIME=499
* Testing galois 	for gp-sta..TIME=18000	for gp-dyn..TIME=18016
* Testing galoisinit 	for gp-sta..TIME=6156	for gp-dyn..TIME=6171
* Testing graph 	for gp-sta..TIME=16	for gp-dyn..TIME=0
* Testing ideal 	for gp-sta..TIME=15	for gp-dyn..TIME=0
* Testing idealappr 	for gp-sta..TIME=0	for gp-dyn..TIME=15
* Testing intformal 	for gp-sta..TIME=15	for gp-dyn..TIME=0
* Testing intnum 	for gp-sta..TIME=23344	for gp-dyn..TIME=23344
* Testing ispower 	for gp-sta..TIME=4843	for gp-dyn..TIME=4843
* Testing krasner 	for gp-sta..TIME=5078	for gp-dyn..TIME=5078
* Testing linear 	for gp-sta..TIME=15	for gp-dyn..TIME=16
* Testing list 	for gp-sta..TIME=78	for gp-dyn..TIME=93
* Testing lll 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing mat 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing matsnf 	for gp-sta..TIME=546	for gp-dyn..TIME=546
* Testing member 	for gp-sta..TIME=78	for gp-dyn..TIME=93
* Testing modpr 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing multivar-mul 	for gp-sta..TIME=9999	for gp-dyn..TIME=9953
* Testing nf 	for gp-sta..TIME=2749	for gp-dyn..TIME=2749
* Testing nffactor 	for gp-sta..TIME=16171	for gp-dyn..TIME=16234
* Testing nfhilbert 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing nfields 	for gp-sta..TIME=141	for gp-dyn..TIME=156
* Testing nfrootsof1 	for gp-sta..TIME=33687	for gp-dyn..TIME=33921
* Testing number 	for gp-sta..TIME=46	for gp-dyn..TIME=31
* Testing objets 	for gp-sta..TIME=0	for gp-dyn..TIME=0
* Testing partition 	for gp-sta..TIME=32546	for gp-dyn..TIME=32609
* Testing polchebyshev 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing polmod 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing polred 	for gp-sta..TIME=4546	for gp-dyn..TIME=4562
* Testing polyser 	for gp-sta..TIME=0	for gp-dyn..TIME=0
* Testing printf 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing program 	for gp-sta..BUG [16]	for gp-dyn..TIME=16
* Testing qf 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing qfbsolve 	for gp-sta..TIME=2250	for gp-dyn..TIME=2281
* Testing quad 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing quadclassunit 	for gp-sta..TIME=11938	for gp-dyn..TIME=11844
* Testing quadray 	for gp-sta..TIME=1140	for gp-dyn..TIME=1140
* Testing random 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing resultant 	for gp-sta..TIME=18968	for gp-dyn..TIME=18969
* Testing rfrac 	for gp-sta..TIME=3609	for gp-dyn..TIME=3546
* Testing rnf 	for gp-sta..TIME=406	for gp-dyn..TIME=421
* Testing rnfkummer 	for gp-sta..TIME=56374	for gp-dyn..TIME=56734
* Testing round4 	for gp-sta..TIME=10828	for gp-dyn..TIME=10781
* Testing select 	for gp-sta..TIME=15	for gp-dyn..TIME=15
* Testing stark 	for gp-sta..TIME=34469	for gp-dyn..TIME=34469
* Testing subcyclo 	for gp-sta..TIME=31	for gp-dyn..TIME=15
* Testing subfields 	for gp-sta..TIME=17984	for gp-dyn..TIME=18218
* Testing sumiter 	for gp-sta..TIME=16	for gp-dyn..TIME=16
* Testing thue 	for gp-sta..TIME=2187	for gp-dyn..TIME=2187
* Testing trans 	for gp-sta..TIME=63	for gp-dyn..TIME=63
* Testing zetak 	for gp-sta..TIME=7843	for gp-dyn..TIME=7999
* Testing zn 	for gp-sta..TIME=15	for gp-dyn..TIME=15
+++ [BUG] Total bench for gp-sta is 364939
+++ Total bench for gp-dyn is 365658

PROBLEMS WERE NOTED. The following files list them in diff format: 
Directory: /usr/src/pari-svn/Omingw-i686
	aurifeuille-sta.dif
	program-sta.dif

Attachment: aurifeuille-sta.dif
Description: video/dv

Attachment: program-sta.dif
Description: video/dv