summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Koenig <Joerg.Koenig@techsat.com>2019-06-05 05:51:19 (GMT)
committerJoerg Koenig <Joerg.Koenig@techsat.com>2019-06-05 05:51:19 (GMT)
commit084a9138e663c24b3ca87ca814acdeb804b6f405 (patch)
tree26466cf345424526e3a6336525cce6d335377a63
parent95b8a53e7e1259cd06b1a2706ab65e55d831ea68 (diff)
downloadQt-084a9138e663c24b3ca87ca814acdeb804b6f405.zip
Qt-084a9138e663c24b3ca87ca814acdeb804b6f405.tar.gz
Qt-084a9138e663c24b3ca87ca814acdeb804b6f405.tar.bz2
build in C:/tmp fo prevent too long paths that breaks the build on windows
Change-Id: Iba8caa296fa8ee10c48bdb572d6c3009cca03762
-rw-r--r--Jenkinsfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 61d67bc..b237489 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -31,7 +31,7 @@ stage('Build') {
stage("Linux 64 Bit Build") {
sh '''#!/bin/bash
- GCC_PATH=/master/DEV-Tools/gcc-suite/1.3.0/x86-linux64/gcc-8.2.0 make
+ GCC_PATH=/master/DEV-Tools/gcc-suite/1.4.0/x86-linux64/gcc-9.1.0 make
'''
}
}
@@ -54,10 +54,12 @@ stage('Build') {
rm -f openssl-1.0.2r/NUL
rm -Rf openssl-1.0.2r
echo "Done."
- cp -Rvf /c/dev-tools/gcc-suite/1.3.0/x86-mingw64/gcc-8.2.0 $WS/
- export PATH=$WS/gcc-8.2.0/bin:/c/dev-tools/msys/x86/usr/bin:$PATH
- export CC=$WS/gcc-8.2.0/bin/gcc
- export CXX=$WS/gcc-8.2.0/bin/g++
+ cp -Rvf /c/dev-tools/gcc-suite/1.4.0/x86-mingw64/gcc-9.1.0 $WS/
+ cp $WS/gcc-9.1.0/bin/make.exe $WS/gcc-9.1.0/bin/mingw32-make.exe
+ export PATH=$WS/gcc-9.1.0/bin:/c/dev-tools/msys/x86/usr/bin:$PATH
+ export PATH=/c/dev-tools/Python/2.7/x86-windows:$PATH
+ export CC=$WS/gcc-9.1.0/bin/gcc
+ export CXX=$WS/gcc-9.1.0/bin/g++
gcc -v
make -f Makefile.mingw64 all
rm -Rf build.$(ARCH)