summaryrefslogtreecommitdiff
path: root/boost-1.81-graph-Dont-run-performance-test-in-CI.patch
diff options
context:
space:
mode:
Diffstat (limited to 'boost-1.81-graph-Dont-run-performance-test-in-CI.patch')
-rw-r--r--boost-1.81-graph-Dont-run-performance-test-in-CI.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/boost-1.81-graph-Dont-run-performance-test-in-CI.patch b/boost-1.81-graph-Dont-run-performance-test-in-CI.patch
new file mode 100644
index 0000000..1a24b3f
--- /dev/null
+++ b/boost-1.81-graph-Dont-run-performance-test-in-CI.patch
@@ -0,0 +1,25 @@
+From f58f3df2bf54fd820bd2c043e5000a7c90144804 Mon Sep 17 00:00:00 2001
+From: Liu Zixian <liuzixian4@huawei.com>
+Date: Thu, 15 Dec 2022 21:31:43 -0500
+Subject: [PATCH] Don't run performance test in CI
+
+---
+ libs/graph/test/Jamfile.v2 | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/libs/graph/test/Jamfile.v2 b/libs/graph/test/Jamfile.v2
+index a0c15ca7b..c882916a7 100644
+--- a/libs/graph/test/Jamfile.v2
++++ b/libs/graph/test/Jamfile.v2
+@@ -47,7 +47,10 @@ alias graph_test_regular :
+ [ run undirected_dfs.cpp ]
+ [ compile dfs_cc.cpp ]
+ [ compile dijkstra_cc.cpp ]
+- [ run dijkstra_heap_performance.cpp /boost/timer//boost_timer : 10000 ]
++
++ # Performance benchmark
++ #[ run dijkstra_heap_performance.cpp /boost/timer//boost_timer : 10000 ]
++
+ [ run dijkstra_no_color_map_compare.cpp : 10000 ]
+ [ run disjoint_set_test.cpp ]
+ [ run dominator_tree_test.cpp ]