Date: Fri, 13 Nov 2020 20:33:15 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555047 - head/devel/intel-graphics-compiler/files Message-ID: <202011132033.0ADKXFXE095381@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri Nov 13 20:33:15 2020 New Revision: 555047 URL: https://svnweb.freebsd.org/changeset/ports/555047 Log: devel/intel-graphics-compiler: use RTLD_DEEPBIND on FreeBSD >= 12.2 Modified: head/devel/intel-graphics-compiler/files/patch-unix (contents, props changed) Modified: head/devel/intel-graphics-compiler/files/patch-unix ============================================================================== --- head/devel/intel-graphics-compiler/files/patch-unix Fri Nov 13 20:32:48 2020 (r555046) +++ head/devel/intel-graphics-compiler/files/patch-unix Fri Nov 13 20:33:15 2020 (r555047) @@ -223,6 +223,26 @@ CMake Error at IGC/CMakeLists.txt:1974 (message): if (!FCL_IGC_IS_FLAG_ENABLED(DumpToCurrentDir) && g_shaderOutputFolder == "" && !FCL_IGC_IS_FLAG_ENABLED(DumpToCustomDir)) { bool needMkdir = true; +--- IGC/VectorCompiler/lib/GenXCodeGen/GenXWrapper.cpp.orig 2020-10-20 15:50:41 UTC ++++ IGC/VectorCompiler/lib/GenXCodeGen/GenXWrapper.cpp +@@ -24,7 +24,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ======================= end_copyright_notice ==================================*/ + +-#if defined(__linux__) ++#if !defined(_WIN32) + #include <dlfcn.h> + #endif + +@@ -108,7 +108,7 @@ translateSPIRVToIR(ArrayRef<char> Input, ArrayRef<uint + void (*ErrSaver)(const char *pErrMsg, void *ErrUserData), + void *ErrUserData); + +-#if defined(__linux__) ++#if defined(RTLD_DEEPBIND) + // Hack to workaround cmoc crashes during loading of SPIRV library + static auto DeepBindHack = dlopen(SpirvLibName, RTLD_NOW | RTLD_DEEPBIND); + #endif // __linux__ --- IGC/common/LLVMWarningsPop.hpp.orig 2019-11-27 01:05:20 UTC +++ IGC/common/LLVMWarningsPop.hpp @@ -58,6 +58,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011132033.0ADKXFXE095381>