Package Details: spirv-tools-git 3:2024.1.3932.fe7bae090-1

Git Clone URL: https://aur.archlinux.org/spirv-tools-git.git (read-only, click to copy)
Package Base: spirv-tools-git
Description: API and commands for processing SPIR-V modules
Upstream URL: https://github.com/KhronosGroup/SPIRV-Tools
Licenses: custom
Groups: vulkan-devel
Conflicts: spirv-tools
Provides: spirv-tools
Submitter: 1ace
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 6
Popularity: 0.000000
First Submitted: 2016-02-16 22:53 (UTC)
Last Updated: 2024-03-27 21:31 (UTC)

Required by (44)

Sources (6)

Latest Comments

1 2 Next › Last »

lyamc commented on 2024-03-06 07:08 (UTC)

Currently there's some upstream issues preventing this from building.

For any users like me, until the PRs are accepted, you can add them yourself by editing the local PKGBUILD with the following. I've also changed the ln so that it doesn't fail if they already exist:

prepare() {
  # link external sources so cmake can find them
  pushd SPIRV-Tools/external
  ln -sf "$srcdir"/googletest
  ln -sf $srcdir/abseil-cpp abseil_cpp
  ln -sf "$srcdir"/effcee
  ln -sf "$srcdir"/re2
  popd

#  patch --directory="SPIRV-Tools" --forward --strip=1 --input="${srcdir}"/212dd9247ad60d5dcd262e43c24ec92de1a8ef1d.patch
#  patch --directory="SPIRV-Tools" --forward --strip=1 --input="${srcdir}"/5cf47a9f90e192a1c799a04d7416b6dcd7dd59a8.patch

  cmake   -S SPIRV-Tools -B _build "${cmake_args[@]}" -Wno-dev
  make -C _build spirv-tools-build-version
  # Resolve build issues
  cd "$srcdir"/SPIRV-Tools
  git fetch origin pull/5568/head; git checkout FETCH_HEAD; git fetch origin pull/5602/head; git checkout FETCH_HEAD
}

Lone_Wolf commented on 2023-09-19 14:22 (UTC)

pkgver() now includes the upstream version, let me know if that works for your package(s).

Lone_Wolf commented on 2023-09-14 08:34 (UTC) (edited on 2023-09-14 08:35 (UTC) by Lone_Wolf)

This is one of those projects were the git tags don't match the version reported by tools from the package.

I created https://bbs.archlinux.org/viewtopic.php?id=288790 to get input from other archlinux users.

bwrsandman commented on 2023-09-14 03:24 (UTC) (edited on 2023-09-14 03:27 (UTC) by bwrsandman)

You should be prepending the latest tag to pkgver, without this, this package cannot satisfy version constraints such as the following in glslang-git

spirv-tools>=2023.2

Lone_Wolf commented on 2023-01-21 16:04 (UTC)

Done, the change was very similar to that.

/usr/bin/spirv-lesspipe.sh uses a sh-shebang, so I added sh as dependency for completeness.

1ace commented on 2023-01-19 19:48 (UTC)

Lone_Wolf: made you a co-maintainer; feel free to try to make it use spirv-headers-git (probably just changing $srcdir to /usr/include on line 31) :)

Lone_Wolf commented on 2023-01-13 11:31 (UTC) (edited on 2023-01-13 11:36 (UTC) by Lone_Wolf)

confirmed also happens with spirv-headers-git .

Looks like Khronos or github made changes in the setup.

Remove the local copy of the git repo and start with a fresh one.

(If you depend on spirv-headers-git like me, fix that first then spirv-tools-git .)

Aryma commented on 2023-01-12 20:10 (UTC) (edited on 2023-01-12 20:11 (UTC) by Aryma)

warning: remote HEAD refers to nonexistent ref, unable to checkout

==> Starting pkgver()...

fatal: Not a valid object name HEAD

==> ERROR: pkgver is not allowed to be empty.

==> ERROR: pkgver() generated an invalid version:

I get this error

Lone_Wolf commented on 2022-12-09 22:47 (UTC)

In the PKGBUILD you download spirv-headers trunk and build against it.

However in depends you list spirv-headers which is a different version .

Maybe you could depend on aur spirv-headers-git instead and skip downloading spirv-headers completely ?

1ace commented on 2022-06-22 08:57 (UTC)

@Aryma: ah sorry, when I was on my phone I missed it, but now that I'm back on my laptop I can see that there are actually some unannotated tags such as the sdk-* one that upstream added a few days ago.

I have now removed --tags to ignore unannotated tags (it hasn't been needed in 2 years, last time upstream did that was in February 2019), and added --match 'v*.*' to only consider these tags and not anything else upstream might throw at us again.

Thanks for reporting the issue! 🙏