A library and command line tool for compiling GLSL/HLSL to SPIR-V,
Vulkan's shader language.
Based on the reference glslang compiler, Shaderc aims to provide a more
convenient command-line compiler with GCC/clang-like usage and a library
with a more stable API.
===> The following configuration options are available for shaderc-2026.4_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
graphics/shaderc: update SPIRV-Headers version and take maintainership
While here:
- add LICENSE_FILE
- add DOCS option
- reorder variables to make portclippy happy
graphics/shaderc: Bump because spirv-tools changed and now shaderc is outdated
koboldcpp failed to compile because shaderc had an outdated version of
spirv-tools in it.
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
graphics/shaderc: unbreak 11.4 and GCC architectures after r559203
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(PoolAlloc.cpp.o): in
function `glslang::GetThreadPoolAllocator()':
PoolAlloc.cpp:(.text+0xf): undefined reference to
`glslang::OS_GetTLSValue(void*)'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(PoolAlloc.cpp.o): in
function `glslang::SetThreadPoolAllocator(glslang::TPoolAllocator*)':
PoolAlloc.cpp:(.text+0x33): undefined reference to
`glslang::OS_SetTLSValue(void*, void*)'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(PoolAlloc.cpp.o): in
function `glslang::InitializePoolIndex()':
PoolAlloc.cpp:(.text+0x45): undefined reference to `glslang::OS_AllocTLSIndex()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in
function `ShInitialize':
ShaderLang.cpp:(.text+0x7): undefined reference to `glslang::InitGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0xe): undefined reference to
`glslang::InitProcess()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x17): undefined reference to
`glslang::GetGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x22): undefined reference to
`glslang::ReleaseGlobalLock()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in
function `ShConstructCompiler':
ShaderLang.cpp:(.text+0x7d): undefined reference to `glslang::InitThread()'
(Only the first 15 lines of the commit message are shown above )
graphics/shaderc: use upstream repo in case the fork is deleted
As of 2020.0 the workaround is still required without LLD such as on
DragonFly or FreeBSD < 12:
FAILED: glslc/glslc
: && /usr/bin/c++ -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -isystem /usr/local/include
-Wimplicit-fallthrough -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -isystem /usr/local/include
-fstack-protector-strong -L/usr/local/lib
glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -o glslc/glslc glslc/libglslc.a
libshaderc_util/libshaderc_util.a libshaderc/libshaderc.a
libshaderc_util/libshaderc_util.a -lSPIRV-Tools-opt -lSPIRV-Tools -lHLSL
-lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent -lOGLCompiler
-lSPIRV -pthread && :
/usr/local/lib/libglslang.a(ShaderLang.cpp.o): In function `(anonymous
namespace)::CreateBuiltInParseables(TInfoSink&, glslang::EShSource)':
ShaderLang.cpp:(.text+0x7502): undefined reference to
`glslang::TBuiltInParseablesHlsl::TBuiltInParseablesHlsl()'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330