diff options
Diffstat (limited to 'src/test-native/bug1398/make-bug1398.sh')
-rwxr-xr-x | src/test-native/bug1398/make-bug1398.sh | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/src/test-native/bug1398/make-bug1398.sh b/src/test-native/bug1398/make-bug1398.sh index d410f7066..7ec9935d9 100755 --- a/src/test-native/bug1398/make-bug1398.sh +++ b/src/test-native/bug1398/make-bug1398.sh @@ -2,25 +2,18 @@ set -x -USE_232=1 +JOGAMP_VERSION=v2.3.2 +#JOGAMP_VERSION=v2.2.4 + +CLASSPATH=".:/Users/jogamp/projects/JogAmp/builds/$JOGAMP_VERSION/jogamp-all-platforms/jar/gluegen-rt.jar:/Users/jogamp/projects/JogAmp/builds/$JOGAMP_VERSION/jogamp-all-platforms/jar/jogl-all.jar" + ok=0 -if [ $USE_232 -eq 0 ] ; then - xcrun clang -x objective-c -framework Cocoa \ - -DCLASSPATH="\".:/Users/jogamp/projects/JogAmp/gluegen/build/gluegen-rt.jar:/Users/jogamp/projects/JogAmp/jogl/build/jar/jogl-all.jar\"" \ - -DLIBPATH="\"/Users/jogamp/projects/JogAmp/gluegen/build/obj:/Users/jogamp/projects/JogAmp/jogl/build/lib\"" \ - -o Bug1398macOSContextOpsOnMainThread Bug1398macOSContextOpsOnMainThread.c \ - && ok=1 -else - xcrun clang -x objective-c -framework Cocoa \ - -DCLASSPATH="\".:/Users/jogamp/projects/JogAmp/builds/v2.3.2/jogamp-all-platforms/jar/gluegen-rt.jar:/Users/jogamp/projects/JogAmp/builds/v2.3.2/jogamp-all-platforms/jar/jogl-all.jar\"" \ - -DLIBPATH="\"/Users/jogamp/projects/JogAmp/builds/v2.3.2/jogamp-all-platforms/lib/macosx-universal\"" \ - -o Bug1398macOSContextOpsOnMainThread Bug1398macOSContextOpsOnMainThread.c \ - && ok=1 -fi +xcrun clang -x objective-c -framework Cocoa \ + -o Bug1398macOSContextOpsOnMainThread Bug1398macOSContextOpsOnMainThread.c \ + && ok=1 if [ $ok -eq 1 ] ; then - javac -source 1.8 -target 1.8 -classpath ../../../../gluegen/build/gluegen-rt.jar:../../../build/jar/jogl-all.jar RedSquareES2.java Bug1398macOSContextOpsOnMainThread.java + javac -source 1.8 -target 1.8 -classpath $CLASSPATH RedSquareES2.java Bug1398macOSContextOpsOnMainThread.java fi -# ./Bug1398macOSContextOpsOnMainThread /Users/jogamp/projects/JogAmp/gluegen/build/obj:/Users/jogamp/projects/JogAmp/jogl/build/lib/lib |