Skip to content

Commit 38af37a

Browse files
crazoeslgirdwood
authored andcommitted
.travis.yml: Fix incorrect usage of -j option
xtensa-build-all.sh expects number of cores to be used when -j option is specified. By default, it uses all the cores available which is what we want, hence, omitting the option altogether. Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
1 parent 6925c94 commit 38af37a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
&docker-pull-sof
3030
docker pull thesofproject/sof && docker tag thesofproject/sof sof
3131
script:
32-
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -j $PLATFORM
32+
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh $PLATFORM
3333
env: PLATFORM='sue'
3434

3535
- <<: *build-platform
@@ -50,7 +50,7 @@ jobs:
5050
stage: tests
5151
script:
5252
- sed -i $(($(grep "config HAVE_AGENT" -n src/platform/Kconfig | cut -f1 -d:)+2))"s/default y/default n/" src/platform/Kconfig
53-
- ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -r -j $PLATFORM
53+
- ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -r $PLATFORM
5454
- ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh $PLATFORM
5555
env: PLATFORM='byt cht'
5656
before_install:

0 commit comments

Comments
 (0)