mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [ptxdist] [PATCH] vulkan-loader: enable assembly on aarch64 and x86_64
Date: Fri, 26 May 2023 10:17:35 +0200	[thread overview]
Message-ID: <20230526081735.1934247-1-p.zabel@pengutronix.de> (raw)

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/vulkan-loader.make | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/rules/vulkan-loader.make b/rules/vulkan-loader.make
index 02981278de60..97c57dc21313 100644
--- a/rules/vulkan-loader.make
+++ b/rules/vulkan-loader.make
@@ -45,8 +45,18 @@ VULKAN_LOADER_CONF_OPT	:= \
 	-DLOADER_ENABLE_ADDRESS_SANITIZER=OFF \
 	-DLOADER_ENABLE_THREAD_SANITIZER=OFF \
 	-DSYSCONFDIR= \
-	-DUPDATE_DEPS=OFF \
-	-DUSE_GAS=OFF
+	-DUPDATE_DEPS=OFF
+
+VULKAN_LOADER_USE_GAS := OFF
+ifdef PTXCONF_ARCH_ARM64
+VULKAN_LOADER_USE_GAS := ON
+endif
+ifdef PTXCONF_ARCH_X86_64
+VULKAN_LOADER_USE_GAS := ON
+endif
+
+VULKAN_LOADER_CONF_OPT += \
+	-DUSE_GAS=$(VULKAN_LOADER_USE_GAS)
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.39.2




             reply	other threads:[~2023-05-26  8:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-26  8:17 Philipp Zabel [this message]
2023-05-26  8:22 ` 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=20230526081735.1934247-1-p.zabel@pengutronix.de \
    --to=p.zabel@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