void-packages/srcpkgs/boost/patches/graph-skip-memory-intensive...

15 lines
643 B
Diff

Index: boost-1.81.0/libs/graph/test/dijkstra_heap_performance.cpp
===================================================================
--- boost-1.81.0.orig/libs/graph/test/dijkstra_heap_performance.cpp
+++ boost-1.81.0/libs/graph/test/dijkstra_heap_performance.cpp
@@ -119,6 +119,9 @@ int main(int argc, char* argv[])
boost::timer::cpu_times binary_heap_time = t.elapsed();
std::cout << boost::timer::format(binary_heap_time) << " seconds.\n";
+ // d-ary heap OOM
+ BOOST_TEST(true);
+ return boost::report_errors();
std::cout << "Running Dijkstra's with d-ary heap (d=4)...";
std::cout.flush();
t.start();