Package Details: spirv-cross 2022.05.27-1

Git Clone URL: https://aur.archlinux.org/spirv-cross.git (read-only, click to copy)
Package Base: spirv-cross
Description: A tool and library for parsing and converting SPIR-V to other shader languages
Upstream URL: https://github.com/KhronosGroup/SPIRV-Cross/
Keywords: khronos
Licenses: Apache
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 11
Popularity: 0.025627
First Submitted: 2019-06-14 23:22 (UTC)
Last Updated: 2022-06-27 21:21 (UTC)

Latest Comments

dbermond commented on 2022-06-27 21:30 (UTC)

@sukanka The test suite fails to pass when using binaries from the official repositories, as upstream expects specific commits for them. Your proposed PKGBUILD does not produces and does not run the test suite, as you missed the needed symlinks. On build(), your PKGBUILD shows "SPIRV-Cross: Testing will be disabled for SPIRV-Cross.", and on check() "No tests were found!!!".

sukanka commented on 2022-06-27 13:00 (UTC) (edited on 2022-06-27 13:19 (UTC) by sukanka)

This package should use glslang, spirv-headers, and spirv-tools as depends instead of building them from source. A modified version https://gist.github.com/sukanka/8c122dad9ce45029fb980949d0b20012

abouvier commented on 2022-05-24 22:20 (UTC)

The version is wrong, it should be 1.3.211.0, the same versioning scheme as spirv-headers or vulkan-extra-tools.

dbermond commented on 2022-05-24 21:33 (UTC)

@abouvier Package updated.

abouvier commented on 2022-05-24 13:28 (UTC)

Why did you remove the flag? :p

The package is really out of date.

dbermond commented on 2022-05-23 23:46 (UTC)

@maxcutlyp I've just checked, and the package is building fine. No tests hanging.

maxcutlyp commented on 2022-05-23 06:45 (UTC)

Anyone else having test 13 (spirv-cross-test-hlsl) hanging indefinitely? I've left it going for over an hour multiple times and it always hangs on that one.

dbermond commented on 2021-10-16 14:52 (UTC)

@abouvier Done.

abouvier commented on 2021-10-15 20:58 (UTC)

Can you add the option SPIRV_CROSS_FORCE_PIC=ON when compiling spirv-cross?

Biswa96 commented on 2021-01-29 17:47 (UTC)

As you wish. Just to clarify my previous comment, I did not mean to change any build command. If sed -e "s|NO_DEFAULT_PATH||g" -i CMakeLists.txt command is used in prepare step then we don't have to clone glslang and spirv repositories. In main pacman repo, shaderc package does somewhat similar as my suggestion.

dbermond commented on 2021-01-27 22:43 (UTC)

@Biswa96 Package is being built using the same approach as upstream uses on their travis script. No need to patch CMakeLists.txt for this.

Package has just reached 10 votes here, so maybe I can consider to push it to the official repositories.

Biswa96 commented on 2021-01-27 18:17 (UTC)

In CMakeLists.txt file, if the paths argument in find_program() function is removed then spirv-cross can be built (including tests) without cloning glslang and spirv git repos. Wondering why this package is not include in main pacman repo.

dbermond commented on 2020-01-21 22:18 (UTC)

@sicariusnoctis For what purpose?

yodaembedding commented on 2020-01-21 21:21 (UTC)

Perhaps add gmock as a makedepends.