From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 4/4] piglit: switch to ninja build
Date: Mon, 16 Nov 2020 13:06:27 +0100 [thread overview]
Message-ID: <20201116120627.17891-4-l.stach@pengutronix.de> (raw)
In-Reply-To: <20201116120627.17891-1-l.stach@pengutronix.de>
Seems to work fine here and is quite a bit faster than the
cmake native build.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
rules/piglit.in | 1 +
rules/piglit.make | 1 +
2 files changed, 2 insertions(+)
diff --git a/rules/piglit.in b/rules/piglit.in
index 889765ee55af..c4414d545cc2 100644
--- a/rules/piglit.in
+++ b/rules/piglit.in
@@ -4,6 +4,7 @@ menuconfig PIGLIT
tristate
prompt "piglit "
select HOST_CMAKE
+ select HOST_NINJA
select HOST_SYSTEM_PYTHON3
select HOST_SYSTEM_PYTHON3_MAKO
select HOST_SYSTEM_PYTHON3_NUMPY
diff --git a/rules/piglit.make b/rules/piglit.make
index 1f000cd467b0..9be2826493c0 100644
--- a/rules/piglit.make
+++ b/rules/piglit.make
@@ -31,6 +31,7 @@ PIGLIT_BUILD_OOT := NO
PIGLIT_CONF_TOOL := cmake
PIGLIT_CONF_OPT := $(CROSS_CMAKE_USR) \
+ -G Ninja \
-DPYTHON_EXECUTABLE:FILEPATH=$(SYSTEMPYTHON3) \
-DPIGLIT_USE_WAFFLE=1 \
-DPIGLIT_BUILD_GL_TESTS=$(call ptx/ifdef, PTXCONF_PIGLIT_TESTS_OPENGL,1,0) \
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next prev parent reply other threads:[~2020-11-16 12:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-16 12:06 [ptxdist] [PATCH 1/4] xcb-proto: version bump 1.13 -> 1.14.1 Lucas Stach
2020-11-16 12:06 ` [ptxdist] [PATCH 2/4] waffle: version bump 1.5.2 -> 1.6.1 Lucas Stach
2020-11-27 8:39 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-11-16 12:06 ` [ptxdist] [PATCH 3/4] piglit: drop freeglut dependency Lucas Stach
2020-11-27 8:39 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-11-16 12:06 ` Lucas Stach [this message]
2020-11-27 8:39 ` [ptxdist] [APPLIED] piglit: switch to ninja build Michael Olbrich
2020-11-27 8:39 ` [ptxdist] [APPLIED] xcb-proto: version bump 1.13 -> 1.14.1 Michael Olbrich
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=20201116120627.17891-4-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox