summaryrefslogtreecommitdiffstats
path: root/make/scripts/make.jocl.all.linux-x86_64-clang.sh
blob: aef8f0ba8bea7a1cf25a990832f18d7d1a374ed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /bin/sh

SDIR=`dirname $0`

if [ -e $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh ] ; then
    . $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh
fi

LOGF=make.jocl.all.linux-x86_64-clang.log
rm -f $LOGF

#    -Dbuild.archiveon=true \

export SOURCE_LEVEL=1.8
export TARGET_LEVEL=1.8
export TARGET_RT_JAR=/opt-share/jre1.8.0_212/lib/rt.jar

export GLUEGEN_PROPERTIES_FILE="../../gluegen/make/lib/gluegen-clang.properties"
# or -Dgcc.compat.compiler=clang

#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet"

BUILD_ARCHIVE=true \
ant  \
    -Drootrel.build=build-x86_64-clang \
    $* 2>&1 | tee -a $LOGF