chiark / gitweb /
- build.sh can now take an optional argument that is the architecture of the target...
authorBill Bumgarner <bbum@mac.com>
Sat, 10 Mar 2012 19:01:46 +0000 (03:01 +0800)
committerdaid <daid303@gmail.com>
Mon, 12 Mar 2012 20:19:01 +0000 (04:19 +0800)
  ./build.sh osx64

- updated to use the latest nightly pypy as it both seems relatively stable and the URL is subject to less rot

- updated pronterface.sh to push user to installing Cocoa variant of wxPython and to no longer launch in 32 bit mode

build.sh
scripts/osx64/pronterface.sh

index e6981c5e951af23fa798b5ce31c4df1fa189259a..51a08c63621ea1572c43f354c1448dd3521c8dab 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -9,7 +9,7 @@
 
 
 ##Select the build target
-BUILD_TARGET=win32
+BUILD_TARGET=${1:-win32}
 #BUILD_TARGET=linux
 #BUILD_TARGET=osx64
 
@@ -20,7 +20,7 @@ BUILD_NAME=NewUI-Beta4
 TARGET_DIR=${BUILD_TARGET}-SkeinPyPy-${BUILD_NAME}
 
 ##Which versions of external programs to use
-PYPY_VERSION=c-jit-53274-487174b08100
+PYPY_VERSION=c-jit-latest
 WIN_PORTABLE_PY_VERSION=2.7.2.1
 WIN_PYSERIAL_VERSION=2.5
 
@@ -126,7 +126,7 @@ if [ $BUILD_TARGET = "win32" ]; then
        mv ${TARGET_DIR}/pypy-${PYPY_VERSION}* ${TARGET_DIR}/pypy
 else
        cd ${TARGET_DIR}; $TAR -xjf ../pypy-${PYPY_VERSION}-${BUILD_TARGET}.tar.bz2; cd ..
-       mv ${TARGET_DIR}/pypy-${PYPY_VERSION}* ${TARGET_DIR}/pypy
+       mv ${TARGET_DIR}/pypy-*-${BUILD_TARGET} ${TARGET_DIR}/pypy
 fi
 #Cleanup pypy
 rm -rf ${TARGET_DIR}/pypy/lib-python/2.7/test
index 93005942b0ef8f5989687cfd42758f807aaaeb0a..83896aa0c7e941f3bf6397d2484b9d53af29e85a 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/bash
 
-arch -arch i386 python2.7 -c 'import wx'
+python2.7 -c 'import wx'
 if [ $? != 0 ]; then
-       echo "Requires wx. Download and install from:"
+       echo "Requires wx. Download and install (the Cocoa/64-bit variant) from:"
        echo " http://www.wxpython.org/download.php"
        exit 1
 fi
@@ -15,5 +15,5 @@ if [ $? != 0 ]; then
 fi
 
 SCRIPT_DIR=`dirname $0`
-arch -arch i386 python2.7 ${SCRIPT_DIR}/Printrun/pronterface.py
+python2.7 ${SCRIPT_DIR}/Printrun/pronterface.py