Mercurial > hg > vamp-build-and-test
comparison SCRIPTS/process.sh @ 120:4729c8589274 emscripten-piper
Add piper builds
author | Chris Cannam |
---|---|
date | Fri, 11 Nov 2016 15:49:32 +0000 |
parents | 4d3bba3c0fe7 |
children |
comparison
equal
deleted
inserted
replaced
119:4d3bba3c0fe7 | 120:4729c8589274 |
---|---|
34 | 34 |
35 usage() { | 35 usage() { |
36 echo | 36 echo |
37 echo "Usage: $0 <platform> [-c] [<dir> ...]" | 37 echo "Usage: $0 <platform> [-c] [<dir> ...]" |
38 echo | 38 echo |
39 echo " <platform> one of native, linux32, linux64, mingw32, mingw64, osx32, osx64" | 39 echo " <platform> one of:" |
40 echo " -c build from clean" | 40 echo " native, linux32, linux64, mingw32, mingw64, osx32, osx64, piper" |
41 echo " <dir> directory to build (default is all of them)" | 41 echo " -c build from clean" |
42 echo " <dir> directory to build (default is all of them)" | |
42 echo | 43 echo |
43 echo "Platform usually should match the platform you are running this" | 44 echo "Platform usually should match the platform you are running this" |
44 echo "script on, unless you have a cross-compile toolset installed and" | 45 echo "script on, unless you have a cross-compile toolset installed and" |
45 echo "this script knows how to run it. The special platform 'native'" | 46 echo "this script knows how to run it. The 'piper' platform builds a" |
46 echo "tries to guess the currently running platform." | 47 echo "portable Piper API Javascript module using Emscripten. The special" |
48 echo "platform 'native' tries to guess the currently running platform." | |
47 echo | 49 echo |
48 exit 2 | 50 exit 2 |
49 } | 51 } |
50 | 52 |
51 platform_arg="$1" | 53 platform_arg="$1" |
132 pluginext=.dylib | 134 pluginext=.dylib |
133 # This is a difficult choice for various reasons... have to ponder | 135 # This is a difficult choice for various reasons... have to ponder |
134 archflags="-mmacosx-version-min=10.7 -arch x86_64 -arch i386 -stdlib=libc++" | 136 archflags="-mmacosx-version-min=10.7 -arch x86_64 -arch i386 -stdlib=libc++" |
135 identpattern='Mach-O 64-bit .*x86_64' | 137 identpattern='Mach-O 64-bit .*x86_64' |
136 ;; | 138 ;; |
139 piper) | |
140 shift | |
141 exec "$mydir"/process-piper.sh "$@" | |
142 ;; | |
137 *) | 143 *) |
138 usage | 144 usage |
139 ;; | 145 ;; |
140 esac; | 146 esac; |
141 | 147 |