Changeset 4ea5622 for core/c


Ignore:
Timestamp:
May 23, 2011 4:52:29 AM (9 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
7ab95d0
Parents:
606300a
Message:

mbuild.sh fixups : add new jcpuid/mbuild.sh, edit jbigi/mbuild-all.sh — pedantic naming

Location:
core/c
Files:
1 added
2 edited

Legend:

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

    r606300a r4ea5622  
    2828# Are there any other X86 platforms that work on i2p? Add them here.
    2929#
    30 # Oddly athlon64 builds.... I wonder what others can :-)
    31 #
    32 X86_PLATFORMS="pentium pentiummmx pentium2 pentium3 pentiumm pentium4 k6 k62 k63 athlon core2 corei athlon64 geode atom nano viac3 viac32"
     30
     31# Note! these build on 32bit as 32bit when operating as 32bit...
     32X86_64_PLATFORMS="atom athlon64 core2 corei nano pentium4"
     33
     34# Note! these are 32bit _ONLY_
     35X86_PLATFORMS="pentium pentiummmx pentium2 pentium3 pentiumm k6 k62 k63 athlon geode viac3 viac32 ${X86_64_PLATFORMS}"
    3336
    3437
     
    5659        echo "Building windows .dlls for all architectures";;
    5760Linux*)
    58         PLATFORM_LIST="${LINUX_PLATFORMS}"
    5961        NAME="libjbigi"
    6062        TYPE="so"
     63        PLATFORM_LIST=""
    6164        TARGET="-linux-"
    62         echo "Building linux .sos for all architectures";;
     65        arch=$(uname -m | cut -f1 -d" ")
     66        case ${arch} in
     67                i[3-6]86)
     68                        arch="x86";;
     69        esac
     70        case ${arch} in
     71                x86_64)
     72                        PLATFORM_LIST="${X86_64_PLATFORMS}"
     73                        TARGET="-linux-X86_64-";;
     74                ia64)
     75                        PLATFORM_LIST="${X86_64_PLATFORMS}"
     76                        TARGET="-linux-ia64-";;
     77                x86)
     78                        PLATFORM_LIST="${X86_PLATFORMS}"
     79                        TARGET="-linux-x86-";;
     80                *)
     81                        PLATFORM_LIST="${LINUX_PLATFORMS}";;
     82        esac
     83        echo "Building ${TARGET} .so's for ${arch}";;
    6384FreeBSD*)
    6485        PLATFORM_LIST="${FREEBSD_PLATFORMS}"
  • core/c/mbuild.sh

    r606300a r4ea5622  
    33# Place latest gmp tarball in the jbigi dir, and exec this script.
    44
    5 JBIGI=../../../installer/lib/jbigi/jbigi.jar
     5#JBIGI=../../../installer/lib/jbigi/jbigi.jar
    66
    7 if [ -f jbigi.jarx ] ; then
    8 JBIGI=../jbigi.jar
    9 fi
     7#if [ -f jbigi.jarx ] ; then
     8#JBIGI=../jbigi.jar
     9#fi
    1010
    11 (cd jcpuid ; sh build.sh )
    12 (cd jbigi ; sh mbuild-all.sh )
     11rm -f t/* jcpuid/lib/freenet/support/CPUInformation/* jbigi/lib/net/i2p/util/*
     12
     13( cd jcpuid ; ./mbuild.sh )
     14( cd jbigi ; ./mbuild-all.sh )
    1315
    1416rm -Rf t
     
    4244
    4345
    44 echo "jbigi.jar Refreshed."
    45 echo "raw files ar in t."
     46echo "jbigi.jar created."
     47echo "raw files are in t."
Note: See TracChangeset for help on using the changeset viewer.