git: 59cf092b8891 - main - lang/opensycl: Fix build on 32-bit systems
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Jun 2023 04:45:30 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=59cf092b8891f776d90e396d46ff0aa4188e4262 commit 59cf092b8891f776d90e396d46ff0aa4188e4262 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-06-07 04:12:49 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-06-07 04:45:24 +0000 lang/opensycl: Fix build on 32-bit systems Breakage was due to a C++ error. Reported by: fallout --- .../files/patch-src_compiler_cbs_SubCfgFormation.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lang/opensycl/files/patch-src_compiler_cbs_SubCfgFormation.cpp b/lang/opensycl/files/patch-src_compiler_cbs_SubCfgFormation.cpp new file mode 100644 index 000000000000..6d3cdc4fde8b --- /dev/null +++ b/lang/opensycl/files/patch-src_compiler_cbs_SubCfgFormation.cpp @@ -0,0 +1,13 @@ +- workaround for https://github.com/OpenSYCL/OpenSYCL/issues/1060 + +--- src/compiler/cbs/SubCfgFormation.cpp.orig 2023-06-07 04:07:11 UTC ++++ src/compiler/cbs/SubCfgFormation.cpp +@@ -367,7 +367,7 @@ class SubCFG { (public) + + // create new exiting block writing the exit's id to LastBarrierIdStorage_ + llvm::BasicBlock * +-SubCFG::createExitWithID(llvm::detail::DenseMapPair<llvm::BasicBlock *, size_t> BarrierPair, ++SubCFG::createExitWithID(llvm::detail::DenseMapPair<llvm::BasicBlock *, unsigned long> BarrierPair, + llvm::BasicBlock *After, llvm::BasicBlock *TargetBB) { + HIPSYCL_DEBUG_INFO << "Create new exit with ID: " << BarrierPair.second << " at " + << After->getName() << "\n";