From: Kaelyn Takata via Guix-patches via <guix-patches@gnu.org>
To: 59324@debbugs.gnu.org
Cc: Kaelyn Takata <kaelyn.alexi@protonmail.com>
Subject: [bug#59324] [PATCH staging] gnu: spirv-tools: Disable building static libraries.
Date: Wed, 16 Nov 2022 22:52:56 +0000 [thread overview]
Message-ID: <7cb0f773144bd063aa2230d1dee284458846689a.1668639167.git.kaelyn.alexi@protonmail.com> (raw)
* gnu/packages/vulkan.scm (spirv-tools): Disable building static libraries to
fix linking issues for packages such as mpv.
---
gnu/packages/vulkan.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index c00c06d7f3..6840f66c68 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -91,6 +91,9 @@ (define-public spirv-tools
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
+ ;; Some packages like mpv fail to link
+ ;; when the static libraries are built.
+ "-DSPIRV_TOOLS_BUILD_STATIC=OFF"
(string-append
"-DSPIRV-Headers_SOURCE_DIR="
(assoc-ref %build-inputs "spirv-headers")))))
base-commit: 29754d3683acd188c2c461b934227ba1d909ac63
--
2.38.0
next reply other threads:[~2022-11-16 22:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-16 22:52 Kaelyn Takata via Guix-patches via [this message]
2022-11-17 18:24 ` [bug#59324] [PATCH staging] gnu: spirv-tools: Disable building static libraries Marius Bakke
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7cb0f773144bd063aa2230d1dee284458846689a.1668639167.git.kaelyn.alexi@protonmail.com \
--to=guix-patches@gnu.org \
--cc=59324@debbugs.gnu.org \
--cc=kaelyn.alexi@protonmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).