Update of /cvsroot/fink/experimental/dmrrsn
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv22886

Added Files:
        gmp.info gmp.patch macaulay2.info ntl.info 
Log Message:
10.3 versions


--- NEW FILE: ntl.info ---
Package: ntl
Version: 5.4
Revision: 1
GCC: 3.3
Maintainer: William McCallum <[EMAIL PROTECTED]>
Description: Library for doing number theory
Source: http://www.shoup.net/ntl/ntl-%v.tar.gz
Source-MD5: 1d2a683ecbc12cdf03bf92dbc97c0dd4
SourceDirectory: %n-%v/src
BuildDepends: gmp (>= 4.1.4-1), libmpfr1
Depends: gmp-shlibs (>= 4.1.4-1), libmpfr1-shlibs
BuildDependsOnly: true
#Conflicts: ntl-sing
#Replaces: ntl-sing
#Provides: ntl-sing
License: GPL
CompileScript: <<
#!/bin/sh -ev
 export CPU=""
 if [ "%m" = "powerpc" ]; then
  export CPU="-mcpu=7450"
 fi
 ./configure LDLIBS="" PREFIX=%i DOCDIR=%i/share/doc GMP_PREFIX=%p \
 NTL_GMP_LIP=on NTL_STD_CXX=on NTL_NO_INIT_TRANS=on NTL_CXX_ONLY=on CC=g++ \
 "CFLAGS=-mdynamic-no-pic -O3 -fschedule-insns -fschedule-insns2 
-fsched-interblock -fstrict-aliasing \
   -fregmove -freorder-blocks -fast $CPU --param max-gcse-passes=3" \
 "CXXFLAGS=-mdynamic-no-pic -O3 -fschedule-insns -fschedule-insns2 
-fsched-interblock -fstrict-aliasing \
   -fregmove -freorder-blocks -fast $CPU --param max-gcse-passes=3 
-fno-exceptions -fno-rtti"
 make
# make QuickTest CanZassTest BerlekampTest ZZXFacTest MoreFacTest GF2EXTest 
MatrixTest CharPolyTest BitMatTest RRTest QuadTest LLLTest subset ZZ_pEXTest 
lzz_pEXTest
# time make check
<<
InstallScript:<<
 make install
 mv %i/share/doc/NTL %i/share/doc/tmp
 mv %i/share/doc/tmp %i/share/doc/%n
<<
DocFiles: ../README ../doc/copying.txt:LICENSE
PostInstScript: ranlib %p/lib/libntl.a
DescDetail: <<
 NTL is a high-performance, portable c++ library providing data
structures and algorithms for manipulating signed, arbitrary length
integers, and for vectors, matrices, and polynomials over the integers
and over finite fields.
<<
DescPackaging: <<
 Configured to use the Gnu Multiple Precision library (gmp)

 We now use -fast instead of the obsolete -floop-transpose flag; however,
 on powerpc only we must add -mcpu=7450 or else the compiled object will
 only run on G5.
<<
HomePage: http://www.shoup.net/ntl/

--- NEW FILE: macaulay2.info ---
Package: macaulay2
Version: 0.9.95
Revision: 1
GCC: 3.3
Source: http://www.math.uiuc.edu/Macaulay2/Downloads/Macaulay2-%v-src.tar.gz
Source-MD5: dbe13387812577b0abfdfa6c54eccecc
Source2: 
ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Factory/factory-3-0-2.tar.gz
Source2-MD5: 9b1fac924bc754339989d617946ea8c4
Source3: 
ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Libfac/libfac-3-0-2.tar.gz
Source3-MD5: d94415a24186bfd4bdb6df491a58d173
Depends: readline5-shlibs, gdbm3-shlibs, gc-shlibs (>= 6.7-1)
BuildDepends: readline5, gdbm3, gmp (>= 4.2.1-4), libmpfr1, gc (>= 6.7-1), ntl 
(>= 5.4-1)
BuildConflicts: broken-gcc, singular-factory, singular-libfac
Suggests: emacs | xemacs
SourceDirectory: Macaulay2-%v
ConfigureParams: --disable-strip --with-veclib --enable-altivec --disable-encap 
--with-gmplib="%p/lib/libmpfr.a %p/lib/libgmp.a"
SetLDFLAGS: -L%b/../install/lib
SetCPPFLAGS: -I%b/../install/include
CompileScript: <<
 #!/bin/bash -ev
 export CPU=""
 if [ "%m" = "powerpc" ]; then
  export CPU="-mcpu=7450"
 fi
 cd ..
 mkdir build; mkdir install
 cd factory
 export CFLAGS="-mdynamic-no-pic -O3 -fschedule-insns -fschedule-insns2 
-fsched-interblock -fstrict-aliasing \
   -fregmove -freorder-blocks -fast $CPU --param max-gcse-passes=3 -ffast-math"
 export CXXFLAGS="-mdynamic-no-pic -O3 -fschedule-insns -fschedule-insns2 
-fsched-interblock -fstrict-aliasing \
   -fregmove -freorder-blocks -fast $CPU --param max-gcse-passes=3 -ffast-math 
-fno-exceptions -fno-rtti -Wno-deprecated"
 export CPATH=%p/include 
 export CC="gcc" 
 export CXX="g++" 
 ./configure --prefix=%p --enable-NTL  --with-gmp ; make
 make install prefix=%b/../install
 cd ../libfac
 export CPATH="%p/include %b/../install/include"
CPPFLAGS="-I%p/include -I%b/../install/include -Wno-deprecated" ./configure 
--prefix=%p --enable-NTL
 make DEFS=-DHAVE_SINGULAR_ERROR
 make install prefix=%b/../install
 ranlib %b/../install/lib/libfac.a
 cd ../Macaulay2-%v
 export CXXFLAGS=""
 export CFLAGS=""
 make
 cd ../build
 ../Macaulay2-%v/configure %c 
 make
<<
InstallScript: <<
 cd ../build; make install prefix=%i
<<
InfoDocs: <<
 Classic.info
 Dmodules.info
 Elimination.info
 FirstPackage.info
 FourierMotzkin.info
 GenericInitialIdeal.info
 IntegralClosure.info
 LLLBases.info
 LexIdeals.info
 Macaulay2.info
 Markov.info
 PackageTemplate.info
 Parsing.info
 Points.info
 PrimaryDecomposition.info
 ReesAlgebra.info
 SchurRings.info
 SimplicialComplexes.info
 Style.info
 TangentCone.info
<<
DocFiles: <<
 Macaulay2/COPYING arch/MacOSX/ReadMe-fink
<<
License: GPL
Description: Computer algebra system for algebraic geometry
DescPackaging: <<
 The former 'singular-factory' and 'singular-libfac' packages are now obsolete;
 instead, this package compiles those libraries (statically, as before), and
 then links them in to macaulay2.  The 'singular' package provides factory
 and libfac libraries suitable for other uses.

 While compiling singular-factory and singular-libfac, we now use -fast 
 instead of the obsolete -floop-transpose flag; however, on powerpc only we 
 must add -mcpu=7450 or else the compiled object will only run on G5.
<<
DescPort: <<
 The options for building singular-factory and singular-libfac have been
 retained as before; they match those used in an earlier version of the 
 'singular' package.
<<
DescUsage: <<
 Run Macaulay2 using the command "M2".  Users should, the first time they
 run M2, call the setup function: 'setup()':
   /sw/bin/M2 -e'setup();exit 0'
 This will place Macaulay2 support for emacs into the users ~/.emacs file, 
 backing up the file, if it already existed.
<<
Homepage: http://www.math.uiuc.edu/Macaulay2
Maintainer: Dave Morrison <[EMAIL PROTECTED]>

--- NEW FILE: gmp.info ---
Package: gmp
Version: 4.2.1
Revision: 4
GCC: 3.3
Source: mirror:gnu:gmp/gmp-%v.tar.gz
Source-MD5: 5603ae75bc0cb1b21ad0187308a23c84
PatchFile: gmp.patch
PatchFile-MD5: 791a47972ef252dffe0d12105c446e4b
PatchScript: <<
 patch -p1 < %{PatchFile}
 cd mpn/x86;  rm *dive_1* */*dive_1* */*/*dive_1*; rm */*mode1o* */*/*mode1o*
<<
Depends: gmp-shlibs (= %v-%r), libgmpxx4-shlibs (= %v-%r)
BuildDepends: fink (>= 0.24.24), gcc4.0 (>= 4.0.1-1)
Conflicts: gmp, gmp-64bit
Replaces: gmp, gmp-64bit
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
ConfigureParams: --infodir='${prefix}/share/info' --enable-cxx
CompileScript: <<
#! /bin/sh -ev
# Thanks to a patch, we no longer need to "turn off" assembly on the Intel
# build.  However, we still need to pass "ABI=32" during both powerpc 
# and x86 builds.
case "%m" in
i386) ABI=32 ./configure  %c ;;
powerpc) ABI=32 ./configure %c ;;
esac
make
make check
<<
InstallScript: <<
 make install prefix=%i
 ranlib %i/lib/libgmp.a
 ranlib %i/lib/libgmpxx.a
<<
DocFiles: COPYING COPYING.LIB README
InfoDocs: gmp.info
BuildDependsOnly: True
SplitOff: <<
  Package: %N-shlibs
  Replaces: gmp (<< 4.0.1-1)
  Files: lib/libgmp.*.dylib
  Shlibs: <<
    %p/lib/libgmp.3.dylib 8.0.0 %n (>= 4.2.1-1)
  <<
  Description: Shared library for gmp package
  DocFiles: doc/* AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README
<<
SplitOff2: <<
  Package: libgmpxx4-shlibs
  Replaces: gmp (<< 4.0.1-1), gmp-shlibs (<< 4.1.4-1)
  Files: lib/libgmpxx.*.dylib
  Shlibs: <<
    %p/lib/libgmpxx.3.dylib 5.0.0 %n (>= 4.2.1-1)
  <<
  Description: Shared C++ library for gmp package
  DocFiles: doc/* AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README
<<
License: LGPL
Description: GNU multiple precision arithmetic library
DescDetail: <<
 GNU MP is a portable library written in C for arbitrary precision 
 arithmetic on integers, rational numbers, and floating-point numbers.
<<
DescPort: <<
 Patch from Ben Hines to build libgmpxx, as of vers. 4.1-2.  As of vers.
 4.1.4-1, libgmpxx gets its own splitoff.

 As of vers. 4.2, mpfr is a separate library, available in fink as the 
 libmpfr1 package.

 On powerpc, we need to set ABI=32 for gmp and omit it for gmp-64bit to get
 gmp to build the correct (32-bit or 64-bit) libraries.
<<
Maintainer: Dave Morrison <[EMAIL PROTECTED]>
Homepage: http://www.swox.com/gmp/

--- NEW FILE: gmp.patch ---
from:
http://swox.com/list-archives/gmp-discuss/2006-May/002344.html

diff -p -2 -r1.1 -r1.2
*** ./mpn/generic/addsub_n.c    14 Mar 2006 15:57:54 -0000      1.1
--- ./mpn/generic/addsub_n.c    15 May 2006 22:38:42 -0000      1.2
***************
*** 1,5 ****
  /* mpn_addsub_n -- Add and Subtract two limb vectors of equal, non-zero 
length.
  
! Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
  
  This file is part of the GNU MP Library.
--- 1,5 ----
  /* mpn_addsub_n -- Add and Subtract two limb vectors of equal, non-zero 
length.
  
! Copyright 1999, 2000, 2001, 2006 Free Software Foundation, Inc.
  
  This file is part of the GNU MP Library.
*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp
*** 59,63 ****
        {
          this_n = MIN (n - off, PART_SIZE);
! #if HAVE_NATIVE_mpn_add_nc || !HAVE_NATIVE_mpn_add_n
          acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo);
  #else
--- 59,63 ----
        {
          this_n = MIN (n - off, PART_SIZE);
! #if HAVE_NATIVE_mpn_add_nc
          acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo);
  #else
*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp
*** 65,69 ****
          acyo = acyn + mpn_add_1 (r1p + off, r1p + off, this_n, acyo);
  #endif
! #if HAVE_NATIVE_mpn_sub_nc || !HAVE_NATIVE_mpn_sub_n
          scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo);
  #else
--- 65,69 ----
          acyo = acyn + mpn_add_1 (r1p + off, r1p + off, this_n, acyo);
  #endif
! #if HAVE_NATIVE_mpn_sub_nc
          scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo);
  #else
*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp
*** 82,86 ****
        {
          this_n = MIN (n - off, PART_SIZE);
! #if HAVE_NATIVE_mpn_sub_nc || !HAVE_NATIVE_mpn_sub_n
          scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo);
  #else
--- 82,86 ----
        {
          this_n = MIN (n - off, PART_SIZE);
! #if HAVE_NATIVE_mpn_sub_nc
          scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo);
  #else
*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp
*** 88,92 ****
          scyo = scyn + mpn_sub_1 (r2p + off, r2p + off, this_n, scyo);
  #endif
! #if HAVE_NATIVE_mpn_add_nc || !HAVE_NATIVE_mpn_add_n
          acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo);
  #else
--- 88,92 ----
          scyo = scyn + mpn_sub_1 (r2p + off, r2p + off, this_n, scyo);
  #endif
! #if HAVE_NATIVE_mpn_add_nc
          acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo);
  #else
*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp
*** 98,102 ****
    else
      {
!       /* r1 and r2 are identical to s1 and s2 (r1==s1 and r2=s2 or vice versa)
         Need temporary storage.  */
        mp_limb_t tp[PART_SIZE];
--- 98,102 ----
    else
      {
!       /* r1 and r2 are identical to s1 and s2 (r1==s1 and r2==s2 or vice 
versa)
         Need temporary storage.  */
        mp_limb_t tp[PART_SIZE];
*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp
*** 106,110 ****
        {
          this_n = MIN (n - off, PART_SIZE);
! #if HAVE_NATIVE_mpn_add_nc || !HAVE_NATIVE_mpn_add_n
          acyo = mpn_add_nc (tp, s1p + off, s2p + off, this_n, acyo);
  #else
--- 106,110 ----
        {
          this_n = MIN (n - off, PART_SIZE);
! #if HAVE_NATIVE_mpn_add_nc
          acyo = mpn_add_nc (tp, s1p + off, s2p + off, this_n, acyo);
  #else
*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp
*** 112,116 ****
          acyo = acyn + mpn_add_1 (tp, tp, this_n, acyo);
  #endif
! #if HAVE_NATIVE_mpn_sub_nc || !HAVE_NATIVE_mpn_sub_n
          scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo);
  #else
--- 112,116 ----
          acyo = acyn + mpn_add_1 (tp, tp, this_n, acyo);
  #endif
! #if HAVE_NATIVE_mpn_sub_nc
          scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo);
  #else
--- gmp-4.2.1/configure 2006-05-04 09:50:26.000000000 -0700
+++ gmp-4.2.1-patched/configure 2006-08-10 10:06:56.000000000 -0700
@@ -3569,7 +3569,7 @@
     fi
 
     case $host in
-      x86_64-*-*)
+      x86_64-*-*|pentium3-apple-darwin*)
         abilist="64 32"
         path_64="x86_64"
         cclist_64="gcc"


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to