Update cross_compile.sh
This commit is contained in:
parent
0a3524e299
commit
068f86de1d
@ -27,9 +27,10 @@ nice -n 5 chrt -b 0 \
|
||||
-DJAVA_INCLUDE_PATH=${JAVA_INCLUDE_PATH} \
|
||||
-DJAVA_INCLUDE_PATH2=${JAVA_INCLUDE_PATH2} \
|
||||
\
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_BUILD_TYPE=$BUILDPROFILE \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=${TD_BIN_DIR} \
|
||||
-DTD_ENABLE_JNI=ON \
|
||||
-DOPENSSL_USE_STATIC_LIBS=True \
|
||||
${TD_SRC_DIR}
|
||||
|
||||
# Split sources
|
||||
@ -56,7 +57,7 @@ nice -n 5 chrt -b 0 \
|
||||
-DJAVA_INCLUDE_PATH=${JAVA_INCLUDE_PATH} \
|
||||
-DJAVA_INCLUDE_PATH2=${JAVA_INCLUDE_PATH2} \
|
||||
\
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_BUILD_TYPE=$BUILDPROFILE \
|
||||
-DTD_GENERATED_BINARIES_DIR=${TD_CROSS_BIN_DIR}/td/generate \
|
||||
-DTD_SRC_DIR=${TD_SRC_DIR} \
|
||||
-DTDNATIVES_BIN_DIR=${TDNATIVES_BIN_DIR} \
|
||||
@ -64,6 +65,7 @@ nice -n 5 chrt -b 0 \
|
||||
-DTd_DIR=${TD_BIN_DIR}/lib/cmake/Td \
|
||||
-DJAVA_SRC_DIR=${JAVA_SRC_DIR} \
|
||||
-DTDNATIVES_CPP_SRC_DIR:PATH=$TDNATIVES_CPP_SRC_DIR \
|
||||
-DOPENSSL_USE_STATIC_LIBS=True \
|
||||
$TDNATIVES_CPP_SRC_DIR
|
||||
nice -n 5 chrt -b 0 cmake --build $TDNATIVES_CPP_BUILD_DIR --target install --parallel ${TRAVIS_CPU_CORES}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user