Package Details: glslc-git 1:411.12fb656-1

Git Clone URL: (read-only, click to copy)
Package Base: glslc-git
Description: Command-line GLSL/HLSL to SPIR-V compiler with Clang-compatible arguments
Upstream URL:
Licenses: Apache
Conflicts: glslc
Provides: glslc=411.12fb656
Submitter: 1ace
Maintainer: None
Last Packager: 1ace
Votes: 0
Popularity: 0.000000
First Submitted: 2017-01-22 03:33
Last Updated: 2017-08-30 16:23

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

magesing commented on 2021-02-07 20:10

@teamclouday I have both glslang and shaderc and I still get the same error as @Tooniis

[mgesing@hal ~]$ pacman -Ss shaderc
extra/shaderc 2020.3-1 [installed]
    Collection of tools, libraries and tests for shader compilation
[mgesing@hal ~]$ pacman -Ss glslang
extra/glslang 11.1.0-1 [installed]

Here is my error (very similar to what @Tooniis got)

CMake Error at third_party/CMakeLists.txt:68 (add_subdirectory):
  The source directory


  does not contain a CMakeLists.txt file.

CMake Error at third_party/CMakeLists.txt:71 (message):
  glslang was not found - required for compilation

-- Configuring incomplete, errors occurred!
See also "/home/mgesing/.cache/yay/glslc-git/src/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Error making: glslc-git

teamclouday commented on 2020-05-26 17:48

The glslc tool is also contained by shaderc. So if anyone has the glslang not found error, you could simply install shaderc.

Tooniis commented on 2020-05-12 19:45

I keep getting this:

CMake Error at third_party/CMakeLists.txt:67 (add_subdirectory):
  The source directory


  does not contain a CMakeLists.txt file.

CMake Error at third_party/CMakeLists.txt:70 (message):
  glslang was not found - required for compilation

RenatoUtsch commented on 2017-08-18 19:04

No, the correct approach is to disable test building. This can be fixed by adding:


Right after line 54 of the PKGBUILD, which contains:


This will skip building tests, and only build the glslc binary.

@edit: upon closer inspection, the check() function can also be removed. If that's not a good idea, please fix the test execution.

mehdix commented on 2017-02-18 12:25

I had the same problem with glslc_stage_test. However, by editing PKGBUILD and removing `ninja glslc` from line 58 and changing `ninja test` to `ninja` in line 63 the package was built correctly.

shoober420 commented on 2017-02-03 17:37

When I try to compile, I get this error.

Unable to find executable: /home/asd/Downloads/packages/glslc-git/src/build/glslc/glslc_stage_test