Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ jobs:
- export ARCH=x86_64
- bash kconfig/kconfig-sst.sh
- KCFLAGS="-Wall -Werror" make -j`getconf _NPROCESSORS_ONLN`
- name: "BUILD GCC9 SOF Kernel i386"
script:
- export ARCH=i386 KCFLAGS="-Wall -Werror"
- bash kconfig/kconfig-sof-default.sh
- make modules_prepare
- make -j`getconf _NPROCESSORS_ONLN` sound/
- make -j`getconf _NPROCESSORS_ONLN` drivers/soundwire/
- make -j`getconf _NPROCESSORS_ONLN`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit1: cmd is basically deprecated, prefer $( ) https://github.com/koalaman/shellcheck/wiki/SC2006

Nit2: nproc seems more popular than getconf _NPROCESSORS_ONLN. It's shorter and can apparently return a lower value in some cases.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marc-hb do you mind sending a follow-up patch? I don't speak bash fluently.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mind sending a follow-up patch?

PR #2405

- name: "BUILD GCC9 SOF Kernel arm64"
script:
- export ARCH=arm64 CROSS_COMPILE=/usr/bin/aarch64-linux-gnu-
Expand Down