Skip to contentSkip to conversation

.travis.yml: split MacOSX builds and reduce target list

PATCH Superseded Alex Bennée 3 participants 4 messages Oct 8, 2018 – Oct 9, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .travis.yml: split MacOSX builds and reduce target list

We have reached the point where the MacOSX build was regularly timing out. So as before I've reduced the target list to "major" architectures to try and bring the build time down. I've added an additional MacOSX build with the latest XCode with a minimal list of "most likely" targets on MacOS.

---
 .travis.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
.travis.yml +7 -1
index 95be6ec59f..13a09facd3 100644
@@ -107,8 +107,14 @@ matrix:
     - env: CONFIG="--disable-tcg"
            TEST_CMD=""
       compiler: gcc
-    - env: CONFIG=""
+    # MacOSX builds
+    - env: CONFIG="--target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu"
       os: osx
+      osx_image: xcode9.4
+      compiler: clang
+    - env: CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
+      os: osx
+      osx_image: xcode10
       compiler: clang
     # Python builds
     - env: CONFIG="--target-list=x86_64-softmmu"
Signature · 1 line
2.17.1
#1 lore raw

Hi Alex,

Quoted 18 lines · Alex Bennée

We have reached the point where the MacOSX build was regularly timing out. So as before I've reduced the target list to "major" architectures to try and bring the build time down. I've added an additional MacOSX build with the latest XCode with a minimal list of "most likely" targets on MacOS.

---
 .travis.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
.travis.yml +0 -0
index 95be6ec59f..13a09facd3 100644
@@ -107,8 +107,14 @@ matrix:
     - env: CONFIG="--disable-tcg"
            TEST_CMD=""

.travis.yml matrix: · line 117

Quoted 10 lines
.travis.yml +7 -1
       compiler: gcc
-    - env: CONFIG=""
+    # MacOSX builds
+    - env: CONFIG="--target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu"
       os: osx
+      osx_image: xcode9.4
+      compiler: clang
+    - env: CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
+      os: osx
+      osx_image: xcode10

I'd also add another entry with --enable-user.

Quoted 6 lines
.travis.yml +0 -1
       compiler: clang
     # Python builds
     - env: CONFIG="--target-list=x86_64-softmmu"
--

2.17.1

#2 lore raw
Quoted 25 lines · Philippe Mathieu-Daudé

Hi Alex,

Quoted 22 lines · Alex Bennée

We have reached the point where the MacOSX build was regularly timing out. So as before I've reduced the target list to "major" architectures to try and bring the build time down. I've added an additional MacOSX build with the latest XCode with a minimal list of "most likely" targets on MacOS.

---
 .travis.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
.travis.yml +2 -1
index 95be6ec59f..13a09facd3 100644
@@ -107,8 +107,14 @@ matrix:
     - env: CONFIG="--disable-tcg"
            TEST_CMD=""
       compiler: gcc
-    - env: CONFIG=""
+    # MacOSX builds
+    - env: CONFIG="--target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu"
Quoted 8 lines

.travis.yml matrix: · line 117

Quoted 6 lines
.travis.yml +5 -0
       os: osx
+      osx_image: xcode9.4
+      compiler: clang
+    - env: CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
+      os: osx
+      osx_image: xcode10

I'd also add another entry with --enable-user.

Ohh, does MacOSX use the bsd-user machinery?

Quoted 7 lines
Quoted 7 lines
.travis.yml +0 -1
       compiler: clang
     # Python builds
     - env: CONFIG="--target-list=x86_64-softmmu"
--

2.17.1

--
Alex Bennée

#3 lore raw
Quoted 5 lines · Alex Bennée
Quoted 1 line · Philippe Mathieu-Daudé

I'd also add another entry with --enable-user.

Ohh, does MacOSX use the bsd-user machinery?

No. It used to have its own darwin-user, but we removed that some years ago because it was unmaintained and broken.

thanks
-- PMM