Skip to contentSkip to conversation

.travis.yml: reduce scope of the --enable-debug build

PATCH In review Alex Bennée 3 participants 4 messages Oct 7, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .travis.yml: reduce scope of the --enable-debug build

Adding debug makes things run a bit slower so lets not hammer all the targets.

---
 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
.travis.yml +3 -2
index d0b9e099b9..fc0888aff5 100644
@@ -124,12 +124,13 @@ matrix:
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
 
 
+    # --enable-debug implies --enable-debug-tcg, also runs quite a bit slower
     - env:
-        - CONFIG="--enable-debug --enable-debug-tcg --disable-user"
+        - CONFIG="--enable-debug --enable-debug-tcg --target-list=${MAIN_SOFTMMU_TARGETS}"
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug"
 
 
-    # TCG debug can be run just on it's own and is mostly agnostic to user/softmmu distinctions
+    # TCG debug can be run just on its own and is mostly agnostic to user/softmmu distinctions
     - env:
         - CONFIG="--enable-debug-tcg --disable-system"
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug"
Signature · 1 line
2.20.1
#1 lore raw
Quoted 14 lines · Alex Bennée

Adding debug makes things run a bit slower so lets not hammer all the targets.

---
 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
.travis.yml +0 -0
index d0b9e099b9..fc0888aff5 100644

.travis.yml matrix: · line 130

Quoted 8 lines
.travis.yml +2 -1
@@ -124,12 +124,13 @@ matrix:
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
 
 
+    # --enable-debug implies --enable-debug-tcg, also runs quite a bit slower
     - env:
-        - CONFIG="--enable-debug --enable-debug-tcg --disable-user"
+        - CONFIG="--enable-debug --enable-debug-tcg --target-list=${MAIN_SOFTMMU_TARGETS}"
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug"

If (as noted in the comment) --enable-debug implies --enable-debug-tcg, why do we need to give both options ?

thanks
-- PMM

#2 lore raw
Quoted 18 lines · Peter Maydell
Quoted 17 lines · Alex Bennée

Adding debug makes things run a bit slower so lets not hammer all the targets.

---
 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
.travis.yml +0 -0
index d0b9e099b9..fc0888aff5 100644
@@ -124,12 +124,13 @@ matrix:
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
 
 
Quoted 8 lines

.travis.yml matrix: · line 130

Quoted 5 lines
.travis.yml +2 -1
+    # --enable-debug implies --enable-debug-tcg, also runs quite a bit slower
     - env:
-        - CONFIG="--enable-debug --enable-debug-tcg --disable-user"
+        - CONFIG="--enable-debug --enable-debug-tcg --target-list=${MAIN_SOFTMMU_TARGETS}"
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug"

If (as noted in the comment) --enable-debug implies --enable-debug-tcg, why do we need to give both options ?

We don't really - I was just being verbose. I'll drop it.

Quoted 3 lines

thanks
-- PMM

--
Alex Bennée

#3 lore raw
Quoted 30 lines · Alex Bennée
Quoted 18 lines · Peter Maydell
Quoted 17 lines · Alex Bennée

Adding debug makes things run a bit slower so lets not hammer all the targets.

---
  .travis.yml | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
.travis.yml +0 -0
index d0b9e099b9..fc0888aff5 100644
@@ -124,12 +124,13 @@ matrix:
          - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
 
 
Quoted 8 lines

.travis.yml matrix: · line 130

Quoted 5 lines
.travis.yml +2 -1
+    # --enable-debug implies --enable-debug-tcg, also runs quite a bit slower
      - env:
-        - CONFIG="--enable-debug --enable-debug-tcg --disable-user"
+        - CONFIG="--enable-debug --enable-debug-tcg --target-list=${MAIN_SOFTMMU_TARGETS}"
          - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug"

If (as noted in the comment) --enable-debug implies --enable-debug-tcg, why do we need to give both options ?

Quoted 1 line

We don't really - I was just being verbose. I'll drop it.