Package Details: shaderc-git v2020.4.1.g4089217-1

Git Clone URL: https://aur.archlinux.org/shaderc-git.git (read-only, click to copy)
Package Base: shaderc-git
Description: A collection of tools, libraries and tests for shader compilation. (GIT version)
Upstream URL: https://github.com/google/shaderc
Licenses: Apache
Conflicts: shaderc
Provides: libshaderc_shared.so, shaderc
Submitter: bjin
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 13
Popularity: 0.000000
First Submitted: 2017-09-24 21:10
Last Updated: 2020-12-14 14:32

Required by (28)

Sources (2)

Latest Comments

1 2 Next › Last »

llde commented on 2021-03-27 11:56

I'm currnelty unable to build this: while I have both glsllang and spirv-tools

[3/29] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o FAILED: libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -I/usr/include/glslang -D_FORTIFY_SOURCE=2 -march=native -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -g -Wimplicit-fallthrough -O3 -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o -c ../libshaderc_util/src/resources.cc ../libshaderc_util/src/resources.cc:142:6: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘bool’ in initialization 142 | }}; | ^ [11/29] Building CXX object libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o FAILED: libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o /usr/bin/c++ -I../libshaderc/include -I/usr/include/glslang -I/include -I../libshaderc_util/include -D_FORTIFY_SOURCE=2 -march=native -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -g -Wimplicit-fallthrough -O3 -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o -MF libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o.d -o libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o -c ../libshaderc/src/shaderc.cc ../libshaderc/src/shaderc.cc: In function ‘bool shaderc_parse_version_profile(const char*, int*, shaderc_profile*)’: ../libshaderc/src/shaderc.cc:778:10: error: ‘EProfileCount’ was not declared in this scope; did you mean ‘EProfile’? 778 | case EProfileCount: | ^~~~~~~~~~~~~ | EProfile [13/29] Building CXX object libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o FAILED: libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o /usr/bin/c++ -DSHADERC_IMPLEMENTATION -DSHADERC_SHAREDLIB -Dshaderc_shared_EXPORTS -I../libshaderc/include -I/usr/include/glslang -I/include -I../libshaderc_util/include -D_FORTIFY_SOURCE=2 -march=native -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -g -Wimplicit-fallthrough -O3 -DNDEBUG -fPIC -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -MF libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o.d -o libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -c ../libshaderc/src/shaderc.cc ../libshaderc/src/shaderc.cc: In function ‘bool shaderc_parse_version_profile(const char*, int*, shaderc_profile*)’: ../libshaderc/src/shaderc.cc:778:10: error: ‘EProfileCount’ was not declared in this scope; did you mean ‘EProfile’? 778 | case EProfileCount: | ^~~~~~~~~~~~~ | EProfile [15/29] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o FAILED: libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -I/usr/include/glslang -D_FORTIFY_SOURCE=2 -march=native -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -g -Wimplicit-fallthrough -O3 -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o -c ../libshaderc_util/src/compiler.cc ../libshaderc_util/src/compiler.cc: In function ‘shaderc_util::GlslangClientInfo shaderc_util::GetGlslangClientInfo(const string&, shaderc_util::Compiler::TargetEnv, shaderc_util::Compiler::TargetEnvVersion, shaderc_util::Compiler::SpirvVersion, bool)’: ../libshaderc_util/src/compiler.cc:716:42: error: ‘EShTargetVulkan_1_2’ is not a member of ‘glslang’; did you mean ‘EShTargetVulkan_1_1’? 716 | result.client_version = glslang::EShTargetVulkan_1_2; | ^~~~~~~~~~~~~~~~~~~ | EShTargetVulkan_1_1 [16/29] Building CXX object glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o ninja: build stopped: subcommand failed.

However EShTargetVulkan_1_2 and EProfileCount are defined into the glslang headers. However this happen only while using system installed glslang. If I compile the repo using the third party mechanism it works.

simona commented on 2020-12-14 15:43

now perfect

sl1pkn07 commented on 2020-12-14 14:36

try now

greetings

simona commented on 2020-12-14 10:25

[5/29] Building CXX object libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o
FAILED: libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o
/bin/c++ -DSHADERC_IMPLEMENTATION -DSHADERC_SHAREDLIB -Dshaderc_shared_EXPORTS -I/home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/include -I/usr/include/glslang -I/include -I/home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc_util/include -D_FORTIFY_SOURCE=0 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wimplicit-fallthrough -fPIC -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -MF libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o.d -o libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -c /home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/src/shaderc.cc
/home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/src/shaderc.cc:28:10: fatal error: spirv/unified1/spirv.hpp: No such file or directory
28 | #include "spirv/unified1/spirv.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[6/29] Building CXX object libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o
FAILED: libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o
/bin/c++ -I/home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/include -I/usr/include/glslang -I/include -I/home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc_util/include -D_FORTIFY_SOURCE=0 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wimplicit-fallthrough -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o -MF libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o.d -o
libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o -c /home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/src/shaderc.cc /home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/src/shaderc.cc:28:10: fatal error: spirv/unified1/spirv.hpp: No such file or directory
28 | #include "spirv/unified1/spirv.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[18/29] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o
ninja: build stopped: subcommand failed.

sl1pkn07 commented on 2019-10-30 16:54

log please

ekce commented on 2019-10-30 16:19

This package has been failing to build for me for at least a week or so.

bjin commented on 2019-02-23 16:06

I disowned this package. feel free to adopt

Ranguvar commented on 2019-01-17 15:37

Seems to fail build now, even with spirv-cross-git installed. https://pastebin.com/XGfzYZ6t

FichteFoll commented on 2018-11-16 18:28

Since ~yesterday, this conflicts with shaderc.

Or rather, it looks like libplacebo requires shaderc and libshaderc_shared.so 1, which this package does not provide and thus pacman wants to install shaderc.

clap22 commented on 2018-11-07 23:46

This conflicts/provides spirv-headers?