jcpuid build scripts:

* merge x64 improvements from mbuild.sh into build.sh
* drop mbuild.sh
* add logic to determine the location of JAVA_HOME if not defined.
* update core/c/mbuild to call jcpuid/build.sh
This commit is contained in:
kytv
2011-09-27 08:25:32 +00:00
parent 57b30df4eb
commit b0ce258925
3 changed files with 94 additions and 140 deletions

View File

@@ -1,7 +1,16 @@
#/usr/bin/env bash
#!/bin/sh
##/usr/bin/env bash
# Automatic build of so files, ignores failed builds.
# Place latest gmp tarball in the jbigi dir, and exec this script.
if [ -z "$BASH_VERSION" ]; then
echo "This script needs to be run with Bash."
echo
echo "Please install bash and then run this script with"
echo "bash $0"
exit 1
fi
#JBIGI=../../../installer/lib/jbigi/jbigi.jar
#if [ -f jbigi.jarx ] ; then
@@ -10,7 +19,7 @@
rm -f t/* jcpuid/lib/freenet/support/CPUInformation/* jbigi/lib/net/i2p/util/*
( cd jcpuid ; ./mbuild.sh )
( cd jcpuid ; ./build.sh )
( cd jbigi ; ./mbuild-all.sh )
rm -Rf t