mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
lang/opensycl: Fix build on 32-bit systems
Breakage was due to a C++ error. Reported by: fallout
This commit is contained in:
parent
158737759d
commit
59cf092b88
@ -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";
|
Loading…
Reference in New Issue
Block a user