From: Wainer dos Santos Moschetta <wainersm@redhat.com> To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, qemu-devel@nongnu.org Cc: "Willian Rampazzo" <willianr@redhat.com>, "Kyle Evans" <kevans@freebsd.org>, "Thomas Huth" <thuth@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, "Warner Losh" <imp@bsdimp.com> Subject: Re: [PATCH v3 3/6] gitlab-ci: Run GNU make via the $MAKE variable Date: Thu, 20 May 2021 15:26:15 -0300 [thread overview] Message-ID: <c38ed8d1-5803-d15e-392b-277c570e6b51@redhat.com> (raw) In-Reply-To: <20210519184549.2192728-4-f4bug@amsat.org> On 5/19/21 3:45 PM, Philippe Mathieu-Daudé wrote: > Add the $MAKE variable to call GNU make, and set it to 'gmake' > on FreeBSD to avoid: > > $ make -j"$JOBS" > make: Unknown modifier ',' > make: "/builds/dTyar424/0/qemu/build/Makefile" line 3: Need an operator > make: "/builds/dTyar424/0/qemu/build/Makefile" line 4: Missing dependency operator > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > --- > .gitlab-ci.d/buildtest-template.yml | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com> > > diff --git a/.gitlab-ci.d/buildtest-template.yml b/.gitlab-ci.d/buildtest-template.yml > index fe4f18595ac..f284d7a0eec 100644 > --- a/.gitlab-ci.d/buildtest-template.yml > +++ b/.gitlab-ci.d/buildtest-template.yml > @@ -5,9 +5,11 @@ > ; > then > JOBS=$(sysctl -n hw.ncpu) > + MAKE=gmake > ; > else > JOBS=$(expr $(nproc) + 1) > + MAKE=make > ; > fi > - echo "=== Using $JOBS simultaneous jobs ===" > @@ -33,22 +35,23 @@ > then > ../meson/meson.py configure . -Dbackend_max_links="$LD_JOBS" ; > fi || exit 1; > - - make -j"$JOBS" > + - $MAKE -j"$JOBS" > - if test -n "$MAKE_CHECK_ARGS"; > then > - make -j"$JOBS" $MAKE_CHECK_ARGS ; > + $MAKE -j"$JOBS" $MAKE_CHECK_ARGS ; > fi > > .native_test_job_template: > stage: test > image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest > + extends: .environment_variables_template > script: > - scripts/git-submodule.sh update > $(sed -n '/GIT_SUBMODULES=/ s/.*=// p' build/config-host.mak) > - cd build > - find . -type f -exec touch {} + > # Avoid recompiling by hiding ninja with NINJA=":" > - - make NINJA=":" $MAKE_CHECK_ARGS > + - $MAKE NINJA=":" $MAKE_CHECK_ARGS > > .integration_test_job_template: > extends: .native_test_job_template
next prev parent reply other threads:[~2021-05-20 18:27 UTC|newest] Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-19 18:45 [PATCH v3 0/6] gitlab-ci: Allow using FreeBSD runners Philippe Mathieu-Daudé 2021-05-19 18:45 ` [PATCH v3 1/6] gitlab-ci: Extract &environment_variables template Philippe Mathieu-Daudé 2021-05-19 19:12 ` Willian Rampazzo 2021-05-20 18:00 ` Wainer dos Santos Moschetta 2021-05-19 18:45 ` [PATCH v3 2/6] gitlab-ci: Adapt JOBS variable for FreeBSD runners Philippe Mathieu-Daudé 2021-05-19 19:11 ` Willian Rampazzo 2021-05-20 5:50 ` Thomas Huth 2021-05-20 18:18 ` Wainer dos Santos Moschetta 2021-05-20 20:02 ` Warner Losh 2021-05-19 18:45 ` [PATCH v3 3/6] gitlab-ci: Run GNU make via the $MAKE variable Philippe Mathieu-Daudé 2021-05-19 19:10 ` Willian Rampazzo 2021-05-20 7:56 ` Thomas Huth 2021-05-20 18:26 ` Wainer dos Santos Moschetta [this message] 2021-05-19 18:45 ` [PATCH v3 4/6] gitlab-ci: Add ccache in $PATH and display statistics Philippe Mathieu-Daudé 2021-05-19 19:14 ` Willian Rampazzo 2021-05-20 8:02 ` Thomas Huth 2021-05-20 11:27 ` Philippe Mathieu-Daudé 2021-05-21 10:48 ` Thomas Huth 2021-05-21 10:50 ` Daniel P. Berrangé 2021-05-21 11:02 ` Thomas Huth 2021-05-21 11:53 ` Daniel P. Berrangé 2021-05-21 12:27 ` Philippe Mathieu-Daudé 2021-05-21 12:52 ` Daniel P. Berrangé 2021-05-21 14:21 ` Philippe Mathieu-Daudé 2021-05-25 5:49 ` Philippe Mathieu-Daudé 2021-05-24 13:51 ` Stefan Hajnoczi 2021-05-25 5:50 ` Philippe Mathieu-Daudé 2021-05-21 12:36 ` Willian Rampazzo 2021-05-21 13:02 ` Thomas Huth 2021-05-19 18:45 ` [PATCH v3 5/6] gitlab-ci: Simplify before/after script for Avocado based jobs Philippe Mathieu-Daudé 2021-05-19 19:42 ` Willian Rampazzo 2021-05-20 8:04 ` Thomas Huth 2021-05-19 18:45 ` [PATCH v3 6/6] gitlab-ci: Add FreeBSD jobs Philippe Mathieu-Daudé 2021-05-19 19:43 ` Willian Rampazzo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=c38ed8d1-5803-d15e-392b-277c570e6b51@redhat.com \ --to=wainersm@redhat.com \ --cc=alex.bennee@linaro.org \ --cc=f4bug@amsat.org \ --cc=imp@bsdimp.com \ --cc=kevans@freebsd.org \ --cc=qemu-devel@nongnu.org \ --cc=thuth@redhat.com \ --cc=willianr@redhat.com \ --subject='Re: [PATCH v3 3/6] gitlab-ci: Run GNU make via the $MAKE variable' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.