Changeset 45f30209 for core/c


Ignore:
Timestamp:
May 21, 2011 6:26:10 PM (9 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
18e57d1
Parents:
d8a3cb0
Message:

mbuild.sh document and fixes, mbuild-all.sh add cpu types

Location:
core/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/c/jbigi/mbuild-all.sh

    rd8a3cb0 r45f30209  
    1111# Do NOT add any X86 platforms, do that below in the x86 platform list.
    1212#
    13 MISC_LINUX_PLATFORMS="hppa2.0 alphaev56 armv5tel mips64el itanium itanium2 ultrasparc2 ultrasparc2i alphaev6 powerpc970 powerpc7455 powerpc7447 atom"
     13MISC_LINUX_PLATFORMS="hppa2.0 alphaev56 armv5tel mips64el itanium itanium2 ultrasparc2 ultrasparc2i alphaev6 powerpc970 powerpc7455 powerpc7447"
    1414
    1515#
     
    1818# Do NOT add any X86 platforms, do that below in the x86 platform list.
    1919#
    20 MISC_FREEBSD_PLATFORMS="atom alphaev56 ultrasparc2i"
     20MISC_FREEBSD_PLATFORMS="alphaev56 ultrasparc2i"
    2121
    2222#
     
    3030# Oddly athlon64 builds.... I wonder what others can :-)
    3131#
    32 X86_PLATFORMS="pentium pentiummmx pentium2 pentium3 pentium4 k6 k62 k63 athlon pentiumm core2 athlon64 geode"
     32X86_PLATFORMS="pentium pentiummmx pentium2 pentium3 pentiumm pentium4 k6 k62 k63 athlon core2 corei athlon64 geode atom nano viac3 viac32"
    3333
    3434
     
    9494        sleep 10
    9595        # Nonfatal bail out on unsupported platform.
    96         ../../gmp-${1}/configure --build=${2} && return 0
     96        ../../gmp-${1}/configure --build=${2} --with-pic && return 0
    9797        cd ..
    9898        rm -R "$2"
  • core/c/mbuild.sh

    rd8a3cb0 r45f30209  
    11#/bin/bash
     2# Automatic build of so files, ignores failed builds.
     3# Place latest gmp tarball in the jbigi dir, and exec this script.
    24
    35JBIGI=../../../installer/lib/jbigi/jbigi.jar
     
    79fi
    810
    9 (cd jcpuid ; sh build.sh ; cd ..)
    10 (cd jbigi ; sh mbuild-all.sh ; cd ..)
     11(cd jcpuid ; sh build.sh )
     12(cd jbigi ; sh mbuild-all.sh )
    1113
     14rm -Rf t
    1215mkdir t
    1316
    1417(
    1518        cd t
    16         jar xf ../../../installer/lib/jbigi/jbigi.jar
     19        cp ../../../installer/lib/jbigi/*.so ../../../installer/lib/jbigi/*.dll ../../../installer/lib/jbigi/*.jnilib .
    1720)
    1821
    1922cp jbigi/lib/net/i2p/util/* t/
     23(
     24        cd t
     25        for i in *.so ; { strip $i ; }
     26)
     27
    2028cp jcpuid/lib/freenet/support/CPUInformation/* t/
    2129
     
    2634
    2735rm -R t
     36mkdir t
     37cp jbigi/lib/net/i2p/util/* t/
     38(
     39        cd t
     40        for i in *.so ; { strip $i ; }
     41)
     42
     43
    2844echo "jbigi.jar Refreshed."
     45echo "raw files ar in t."
Note: See TracChangeset for help on using the changeset viewer.