Package Details: spirv-headers-git 1:1.3.236.0.r4.g34d0464-1

Git Clone URL: https://aur.archlinux.org/spirv-headers-git.git (read-only, click to copy)
Package Base: spirv-headers-git
Description: SPIR-V header files Git version
Upstream URL: https://www.khronos.org/registry/spir-v/
Licenses: custom
Conflicts: spirv-headers
Provides: spirv-headers
Submitter: bruceutut
Maintainer: xiretza
Last Packager: xiretza
Votes: 4
Popularity: 0.28
First Submitted: 2018-08-22 11:52 (UTC)
Last Updated: 2022-12-24 11:59 (UTC)

Required by (18)

Sources (1)

Latest Comments

1 2 Next › Last »

abouvier commented on 2022-12-25 15:16 (UTC)

@Lone_Wolf

This is what is used by the majority of official packages and what is recommended by the wiki: https://wiki.archlinux.org/title/CMake_package_guidelines#Template

Hardcoding a specific generator is only useful if the package cannot be built with another one.

User preferences (standard or not) should be respected as much as possible.

Lone_Wolf commented on 2022-12-25 10:20 (UTC)

@abouvier

(another generator could be specified in makepkg.conf )

makepkg.conf has no section or flags that are cmake-specific, so setting things there is non-standard and not something pkgbuilds can rely on .

Personally I prefer PKGBUILDs where it is clear what happens. Cmake can generate 10+ different types of makefiles, hardcoding the one this PKGBUILD uses makes it very clear what is used/needed.

abouvier commented on 2022-12-24 20:28 (UTC) (edited on 2022-12-26 04:08 (UTC) by abouvier)

Thanks, you should also use cmake --build build and DESTDIR="$pkgdir" cmake --install build instead of hardcoding the use of make (another generator could be specified in makepkg.conf).

xiretza commented on 2022-12-24 12:00 (UTC)

Sure, done.

abouvier commented on 2022-12-24 11:49 (UTC)

Could you use the same version scheme as the stable spirv-headers package in community (e.g. 1:1.3.231.1)?

xiretza commented on 2021-01-22 12:47 (UTC)

@shoober420: can't reproduce, all the cmake files ended up in /usr/lib/cmake/SPIRV-Headers/ in the package I just built in a clean chroot.

shoober420 commented on 2021-01-22 06:06 (UTC)

You need to add -DCMAKE_INSTALL_LIBDIR='/usr/lib' or else it tries to install in /usr/lib64, and conflicts

altaf commented on 2020-08-15 17:08 (UTC)

note :i finally figured out the way to get libpng15 and i successfully downloaded this package but when i click on setup it say .

" UNSUPPORTED OPERATING SYSTEM"

AUTO DESK MAYA 2020 DOES NOT SUPPORT

altaf commented on 2020-08-15 17:08 (UTC)

note :i finally figured out the way to get libpng15 and i successfully downloaded this package but when i click on setup it say .

" UNSUPPORTED OPERATING SYSTEM"

AUTO DESK MAYA 2020 DOES NOT SUPPORT

CyberShadow commented on 2020-05-21 08:39 (UTC) (edited on 2020-05-21 08:50 (UTC) by CyberShadow)